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. Sensors & Pi Dome Controller - Sensor ID assignment on AUTO mode not completing assignment of ID to sensor

Sensors & Pi Dome Controller - Sensor ID assignment on AUTO mode not completing assignment of ID to sensor

Scheduled Pinned Locked Moved PiDome
18 Posts 5 Posters 6.5k Views 1 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.
  • JohnJ John

    I'm not seeing a send log message from the gateway. I have replyed to you in the other thread about the gateway ready message.

    The highlighted message is a correct message, it is a verification the data is passed to the serial driver. The reason it appears like "garbled" text is because they are bytes being send.

    Regarding an exception within the location editor. Send me the log file to support@pidome.org

    John.

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

    Thanks for the support guys, after re-checking the sensor, I am pretty positive this is a sensor power issue (i.e. I need more power :) ).

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

      Well ,the log should also display the send command. You can start the server with a trace option in the command line. The server then only has to be started in a different way. When the server is stopped. start it with the server.sh shell file (probably you have to set 755 first). Commandline then is "./server.sh trace". Could you try to assign an address while trace is on and send me the log?

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

      T 1 Reply Last reply
      0
      • JohnJ John

        Well ,the log should also display the send command. You can start the server with a trace option in the command line. The server then only has to be started in a different way. When the server is stopped. start it with the server.sh shell file (probably you have to set 755 first). Commandline then is "./server.sh trace". Could you try to assign an address while trace is on and send me the log?

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

        @John said:

        Well ,the log should also display the send command. You can start the server with a trace option in the command line. The server then only has to be started in a different way. When the server is stopped. start it with the server.sh shell file (probably you have to set 755 first). Commandline then is "./server.sh trace". Could you try to assign an address while trace is on and send me the log?

        Are the last 20 lines of log enough or the appLog file would be better?

        JohnJ 1 Reply Last reply
        0
        • T tortoisedoc

          @John said:

          Well ,the log should also display the send command. You can start the server with a trace option in the command line. The server then only has to be started in a different way. When the server is stopped. start it with the server.sh shell file (probably you have to set 755 first). Commandline then is "./server.sh trace". Could you try to assign an address while trace is on and send me the log?

          Are the last 20 lines of log enough or the appLog file would be better?

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

          @tortoisedoc You can send the whole thing, no problem, if you would be so kind to try to add a location which gave you an issue that would be nice also, then i can pick that one up also

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

          T 1 Reply Last reply
          0
          • JohnJ John

            @tortoisedoc You can send the whole thing, no problem, if you would be so kind to try to add a location which gave you an issue that would be nice also, then i can pick that one up also

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

            @John said:

            @tortoisedoc You can send the whole thing, no problem, if you would be so kind to try to add a location which gave you an issue that would be nice also, then i can pick that one up also

            Ok, Ill get to it tomorrow - pretty late now around here, unfortunately.

            JohnJ 1 Reply Last reply
            0
            • T tortoisedoc

              @John said:

              @tortoisedoc You can send the whole thing, no problem, if you would be so kind to try to add a location which gave you an issue that would be nice also, then i can pick that one up also

              Ok, Ill get to it tomorrow - pretty late now around here, unfortunately.

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

              @tortoisedoc Same "issue" here. I will try to take a look. Keep an eye on the builder server which always contains the latest build: builder.pidome.org. maybe it will be solved when you try it tomorrow.

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

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Derk W.
                wrote on last edited by
                #11

                Maybe a new topic?

                I want to connect a smartmeter to Pi Dome controller.
                I have a USP/Serial cable connected to the powermeter.
                With another program I have seen that the Raspberry receives information.
                The light on the serial-usb cable is flashing every 10 seconds. That means that data is available.

                Now I have installed Pi Dome. This works nice and has a good performance.

                At this moment I don't know how to go further.
                I have installed some drivers. Adjusted the baudrate and now I get the message "Waiting for gateway" and I don't receive values in the logging.

                JohnJ 1 Reply Last reply
                0
                • D Derk W.

                  Maybe a new topic?

                  I want to connect a smartmeter to Pi Dome controller.
                  I have a USP/Serial cable connected to the powermeter.
                  With another program I have seen that the Raspberry receives information.
                  The light on the serial-usb cable is flashing every 10 seconds. That means that data is available.

                  Now I have installed Pi Dome. This works nice and has a good performance.

                  At this moment I don't know how to go further.
                  I have installed some drivers. Adjusted the baudrate and now I get the message "Waiting for gateway" and I don't receive values in the logging.

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

                  @Derk-W.

                  The smart meter, is it a mysensors based device?

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

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Derk W.
                    wrote on last edited by Derk W.
                    #13

                    Hi, The Smartmeter (in Dutch de slimme meter) is an electricitymeter with a serial port.
                    The energy company installs it in all the Dutch houses (during the coming years).
                    Many owners of houses with solar cells have already such a meter.
                    The meter can be connected to the gas meter.
                    So it's possible to get in one message the gas and electricity usage.

                    Electronically it's simple. You use a modified USBtoSerial (RS232) cable, connected directly to the RbP.
                    Every 10 seconds the meter produces some ascii strings with informaiton about the energy usage .

                    You can look at the dutch article: http://gejanssen.com/howto/Slimme-meter-uitlezen/

                    Regards.

                    Now I hope someone can help me with connecting this meter to PIDome.

                    I've posted the same question in detail on the PiDome forum under Hardware/Devices.
                    http://forum.pidome.org/viewforum.php?id=13

                    JohnJ 1 Reply Last reply
                    0
                    • D Derk W.

                      Hi, The Smartmeter (in Dutch de slimme meter) is an electricitymeter with a serial port.
                      The energy company installs it in all the Dutch houses (during the coming years).
                      Many owners of houses with solar cells have already such a meter.
                      The meter can be connected to the gas meter.
                      So it's possible to get in one message the gas and electricity usage.

                      Electronically it's simple. You use a modified USBtoSerial (RS232) cable, connected directly to the RbP.
                      Every 10 seconds the meter produces some ascii strings with informaiton about the energy usage .

                      You can look at the dutch article: http://gejanssen.com/howto/Slimme-meter-uitlezen/

                      Regards.

                      Now I hope someone can help me with connecting this meter to PIDome.

                      I've posted the same question in detail on the PiDome forum under Hardware/Devices.
                      http://forum.pidome.org/viewforum.php?id=13

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

                      @Derk-W.
                      As this is a non mysensors like device i will help you further on the pidome forum. I have seen the post but was gone all day, wasn't in the position to help earlier.

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

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        den2k
                        wrote on last edited by
                        #15

                        @tortoisedoc said:

                        but in PiDome I get "Waiting for gateway" in Gateway information page Version field.

                        I had a similar problem...You need to fix the Waiting for gateway as it doesn't look like it is working. What type of gateway are you using. I had a hardware issue where the Pro Micro's I was using did not work, no matter what I tried.

                        Is Device Discovery working?

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

                          @den2k
                          My test device was an Arduino Nano and have not found any issues with it. I receive the gateway ready message, and after this received i send a command to ask for the version number and this is also received. As you said you have used Pro Micro's did it show gateway ready in your Arduino terminal?

                          With this setup also the device discovery is tested (all though this is the exact same shared code as used for for example RFXCom devices). The device discovery works when the gateway ready message is received as then, data interaction is enabled.

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

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            den2k
                            wrote on last edited by
                            #17

                            Yes. On the Pro Micro it did not show the Gateway ready. But, now that I using Pro Mini's it does show Gateway ready.

                            I traced back to Arduino, and it looks like I wasn't able to get even the Serial Gateway to work and show through the Serial Monitor, Gateway started on the pro Micro. But on the Mini the gateway at least seems to be working.

                            @tortoisedoc - I'm not sure why you can be "Waiting for gateway" but yet still have packets between GW and Node show up on the driver. I'm still debugging as well.

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

                              The reason that the log is being filled is because despite not having the gateway ready message data can become available. I have been thinking of adding an extra switch in the software that if gateway ready is not received, but other data arrives to toggle the internal state and have the gateway marked ready. And when first data arrives ask for the version number.

                              I do not have enough knowledge about the differences between the FTDI FT232RL (nano) and ATmega32U4 (pro micro) when they are ready to accept data to be send to/from the gateway. If the usb chip is not ready to accept and gateway ready is send, data is lost. But this is an assumption (Arduino's only have receive and not send buffers as far as i know), maybe some hardware guru can shine a light on it.

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

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


                              25

                              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