Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. PiDome
  4. PiDome Domotica/Home Automation

PiDome Domotica/Home Automation

Scheduled Pinned Locked Moved PiDome
controllerserialgatewayraspberrymqttpidome
199 Posts 17 Posters 110.7k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tortoisedoc
    wrote on last edited by
    #112

    Ok, got ahold of some more components and am back up testing!

    One question : is the value displayed in the drop-down box correct?
    This appears once I try to connect the sensor.

    capture.png

    JohnJ 1 Reply Last reply
    0
    • T tortoisedoc

      Ok, got ahold of some more components and am back up testing!

      One question : is the value displayed in the drop-down box correct?
      This appears once I try to connect the sensor.

      capture.png

      JohnJ Offline
      JohnJ Offline
      John
      Plugin Developer
      wrote on last edited by
      #113

      @tortoisedoc Welcome back! Yes that is a temporary node address of a new node not having an address assigned. You shold be able to use the assign address button to assign an address to the node. After that is done restart the node so it can present itself properly.

      My Domotica project: http://www.pidome.org

      T 1 Reply Last reply
      0
      • JohnJ John

        @tortoisedoc Welcome back! Yes that is a temporary node address of a new node not having an address assigned. You shold be able to use the assign address button to assign an address to the node. After that is done restart the node so it can present itself properly.

        T Offline
        T Offline
        tortoisedoc
        wrote on last edited by tortoisedoc
        #114

        @John Update:
        two things.

        1. the "Waiting for Gateway" is still here, even tho the gateway seems to be correctly receiving & sending data
          capture.png
        2. it appears the bluetooth of my laptop might potentially be jamming with the sensor radio signal. Is this possible? Knowing the protocols share the same radio band (2.4 ghz)? Or am I hallucinating?
        1 Reply Last reply
        0
        • JohnJ Offline
          JohnJ Offline
          John
          Plugin Developer
          wrote on last edited by John
          #115

          @tortoisedoc Yes bluetooth can certainly interfere also (it think around 70 channels) 2.4 ghz - 2.47 +/- band. Especially the older ones. As long as the driver is in waiting for gateway mode not all the data is being send out.

          Also, do you have multiple nodes asking for an address at the same time? (because of the two seconds between requests) Please add one node at a time. 255 is a temporary address, if multiple nodes are requesting a node id multiple nodes will receive the same new address.

          What the driver does is when there is a gateway ready message, it sends out a request for the version number. When this is received from the gateway the driver knows which version (future usage if/when a new protocol is implemented) of mysensors it must load.

          Is it ok with you to test for me that receiving only the gateway message would be sufficient for the driver to enable all sending?

          If possible. could you do the following for me?

          1. Stop the server
          2. Disconnect the gateway.
          3. Start the server with "./server.sh trace".
          4. When the server is started, connect the gateway.
          5. Give it a couple of seconds and take a look at the driver page. After a maximum of let's say 7 seconds it should show the version number instead of "Waiting".
          6. Let a single node ask for an address, and try to supply one.
          7. After the above actions go to "Settings > Server settings" in the web interface and disable debug mode (this also disables trace mode only available via command line).
          8. Please send the log file with your mysensors username so i know it's you to support.a.t.pidome.org

          Trace mode logging provides me with the most information possible. If all of the above is included i can take a look at all these at the same time.

          P.S. Sorry for the late response, wife's birthday today.

          My Domotica project: http://www.pidome.org

          T 1 Reply Last reply
          0
          • JohnJ John

            @tortoisedoc Yes bluetooth can certainly interfere also (it think around 70 channels) 2.4 ghz - 2.47 +/- band. Especially the older ones. As long as the driver is in waiting for gateway mode not all the data is being send out.

            Also, do you have multiple nodes asking for an address at the same time? (because of the two seconds between requests) Please add one node at a time. 255 is a temporary address, if multiple nodes are requesting a node id multiple nodes will receive the same new address.

            What the driver does is when there is a gateway ready message, it sends out a request for the version number. When this is received from the gateway the driver knows which version (future usage if/when a new protocol is implemented) of mysensors it must load.

            Is it ok with you to test for me that receiving only the gateway message would be sufficient for the driver to enable all sending?

            If possible. could you do the following for me?

            1. Stop the server
            2. Disconnect the gateway.
            3. Start the server with "./server.sh trace".
            4. When the server is started, connect the gateway.
            5. Give it a couple of seconds and take a look at the driver page. After a maximum of let's say 7 seconds it should show the version number instead of "Waiting".
            6. Let a single node ask for an address, and try to supply one.
            7. After the above actions go to "Settings > Server settings" in the web interface and disable debug mode (this also disables trace mode only available via command line).
            8. Please send the log file with your mysensors username so i know it's you to support.a.t.pidome.org

            Trace mode logging provides me with the most information possible. If all of the above is included i can take a look at all these at the same time.

            P.S. Sorry for the late response, wife's birthday today.

            T Offline
            T Offline
            tortoisedoc
            wrote on last edited by
            #116

            @John Okay. Seems we have something here now; see the attached log here:

            appLog.txt

            in particular :
            2014-12-15 21:55:59,811 [USB-discovery] INFO org.pidome.server.system.hardware.drivers.Drivers - Something went wrong width the hardware: MEthod does not support NID to request driver.

            JohnJ 1 Reply Last reply
            0
            • T tortoisedoc

              @John Okay. Seems we have something here now; see the attached log here:

              appLog.txt

              in particular :
              2014-12-15 21:55:59,811 [USB-discovery] INFO org.pidome.server.system.hardware.drivers.Drivers - Something went wrong width the hardware: MEthod does not support NID to request driver.

              JohnJ Offline
              JohnJ Offline
              John
              Plugin Developer
              wrote on last edited by John
              #117

              @tortoisedoc Yeah... that one is an oldie and can be discarded, that one was for example going to be used with for example arduino serial devices. Responding to the NID request with a driver id can load the driver specific for the software written on the arduino. this function is disabled in the api for mysensors.

              Ok, i'm seeing the next:

              2014-12-15 21:58:34,527 [Thread-29] TRACE org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Received from hardware driver: 0;0;3;0;14;Gateway startup complete.
              2014-12-15 21:58:34,530 [Thread-29] DEBUG org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Handling internal: 0;0;INTERNAL;14;Gateway startup complete.
              2014-12-15 21:58:34,533 [Thread-29] DEBUG org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Sending internal message to device: '0;0;3;0;2;Get Version'
              2014-12-15 21:58:34,575 [pool-15-thread-1] DEBUG org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - sending: [B@13038e1

              It is sended to the gateway, but there is no response. This routine has been working since implemented (almost the beginning when gateway ready was available).

              @hek Am i missing something? Has the version info message been changed?

              @tortoisedoc At moment of speaking i'm building a new test version on the build server (http://builder.pidome.org) which enables data when gateway ready arrives, but before it asks for a version. So you now should be able to send.

              P.S. there now is a devices discovery page. devices with id appear here, devices without id (node id 255, so requesting one) still appear in the mysensors driver page. Also discovery is now enabled continuously. this is a quick build to get you going

              My Domotica project: http://www.pidome.org

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #118

                @John said:

                Am i missing something? Has the version info message been changed?

                Nope.

                1 Reply Last reply
                0
                • FrancoisF Offline
                  FrancoisF Offline
                  Francois
                  wrote on last edited by Francois
                  #119

                  @John Hi my system was running fine till I what to add more sensor. Pidome do see the sensor but do not present the it in the "New nodes presentation" or the new "Discovered device". I can add the new nodes manually and that works. I am on version 508

                  upload-cc402486-ca4b-47b4-a1a3-e5aff44ce45f

                  here is info from the applog file:

                  upload-d107150c-72ea-4d31-a13c-3e46ceb33697

                  JohnJ 2 Replies Last reply
                  0
                  • FrancoisF Francois

                    @John Hi my system was running fine till I what to add more sensor. Pidome do see the sensor but do not present the it in the "New nodes presentation" or the new "Discovered device". I can add the new nodes manually and that works. I am on version 508

                    upload-cc402486-ca4b-47b4-a1a3-e5aff44ce45f

                    here is info from the applog file:

                    upload-d107150c-72ea-4d31-a13c-3e46ceb33697

                    JohnJ Offline
                    JohnJ Offline
                    John
                    Plugin Developer
                    wrote on last edited by John
                    #120

                    @Francois Still busy with the centralized device discovery. The commit i did was to quickly have @tortoisedoc up and running to solve the issue he is having. it will be done today so devices will appear in the device discovery list.

                    Sorry for any inconvenience this commit has caused

                    My Domotica project: http://www.pidome.org

                    1 Reply Last reply
                    0
                    • FrancoisF Francois

                      @John Hi my system was running fine till I what to add more sensor. Pidome do see the sensor but do not present the it in the "New nodes presentation" or the new "Discovered device". I can add the new nodes manually and that works. I am on version 508

                      upload-cc402486-ca4b-47b4-a1a3-e5aff44ce45f

                      here is info from the applog file:

                      upload-d107150c-72ea-4d31-a13c-3e46ceb33697

                      JohnJ Offline
                      JohnJ Offline
                      John
                      Plugin Developer
                      wrote on last edited by
                      #121

                      @Francois Build server is busy with a quick fix for the MQTT gateway. Should be ready in a couple of minutes

                      My Domotica project: http://www.pidome.org

                      1 Reply Last reply
                      0
                      • FrancoisF Offline
                        FrancoisF Offline
                        Francois
                        wrote on last edited by
                        #122

                        @John download the ver509 and still doing the same thing.

                        upload-1b2b4e0e-98f4-45e6-88f8-d291b384d340

                        JohnJ 1 Reply Last reply
                        0
                        • FrancoisF Francois

                          @John download the ver509 and still doing the same thing.

                          upload-1b2b4e0e-98f4-45e6-88f8-d291b384d340

                          JohnJ Offline
                          JohnJ Offline
                          John
                          Plugin Developer
                          wrote on last edited by
                          #123

                          @Francois Also not present in the discovery?

                          My Domotica project: http://www.pidome.org

                          1 Reply Last reply
                          0
                          • FrancoisF Offline
                            FrancoisF Offline
                            Francois
                            wrote on last edited by
                            #124

                            @John yes it is also not in discovery

                            JohnJ 2 Replies Last reply
                            0
                            • FrancoisF Francois

                              @John yes it is also not in discovery

                              JohnJ Offline
                              JohnJ Offline
                              John
                              Plugin Developer
                              wrote on last edited by John
                              #125

                              @Francois Gimme half an hour

                              [EDIT] A bit longer, the devices proxy mapping (devices used in plugins) is misbehaving.[/EDIT]

                              My Domotica project: http://www.pidome.org

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                tortoisedoc
                                wrote on last edited by
                                #126

                                @John thanks for the fix, will test it later today. Is the latest build still good to go?

                                1 Reply Last reply
                                0
                                • JohnJ Offline
                                  JohnJ Offline
                                  John
                                  Plugin Developer
                                  wrote on last edited by
                                  #127

                                  @tortoisedoc Sending and receiving data is not influenced by the discovery utilities. It is possible new devices are not found (which have an ID assigned). But this should not be the case for nodes which are requesting an id (this is still handled by the driver).

                                  The path to the hardware is now completely open after receiving of the gateway started message. I will in the meantime ask an other user if he has an issue with the request for the version number from the gateway

                                  My Domotica project: http://www.pidome.org

                                  1 Reply Last reply
                                  0
                                  • FrancoisF Francois

                                    @John yes it is also not in discovery

                                    JohnJ Offline
                                    JohnJ Offline
                                    John
                                    Plugin Developer
                                    wrote on last edited by
                                    #128

                                    @Francois I have continued the normal development path of this feature. Otherwise i would be "hacking" the code and then remove this to be able to continue normally. I do have a quick build ready, could you check the latest build (510) if it is working for you?

                                    My Domotica project: http://www.pidome.org

                                    1 Reply Last reply
                                    0
                                    • FrancoisF Offline
                                      FrancoisF Offline
                                      Francois
                                      wrote on last edited by
                                      #129

                                      @John This version (510) fix the issue and it did discovered the sensor. Thanks

                                      JohnJ 1 Reply Last reply
                                      0
                                      • FrancoisF Francois

                                        @John This version (510) fix the issue and it did discovered the sensor. Thanks

                                        JohnJ Offline
                                        JohnJ Offline
                                        John
                                        Plugin Developer
                                        wrote on last edited by
                                        #130

                                        @Francois Good!
                                        @tortoisedoc Are you able to use the node assignment?

                                        My Domotica project: http://www.pidome.org

                                        T 1 Reply Last reply
                                        0
                                        • FrancoisF Offline
                                          FrancoisF Offline
                                          Francois
                                          wrote on last edited by
                                          #131

                                          @John I must say that you product is getting better with every release. This new discovery process that you now add is making things ever easier to add sensors to the system Thanks for all the hard work that you are putting into this project. I real appreciate this. Keep up the good work. You product just work and I don't have to worries about it.

                                          JohnJ 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          15

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular