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. Troubleshooting
  3. Req Id

Req Id

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 2 Posters 2.9k 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.
  • E Offline
    E Offline
    Elfnoir
    wrote on last edited by Elfnoir
    #1

    Hi,

    I build a gateway and a Humidity Sensor. Unfortunately, I've this message on the Gateway:
    0;0;3;0;9;gateway started, id=0, parent=0, distance=0
    0;0;3;0;14;Gateway startup complete.
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;

    On the Humidity Sensor, there is this message:
    req id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
    req id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
    T: 21.00
    req id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
    H: 60.00
    req id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
    H: 59.00

    Could you please tell me what do I have to do in order to search where issue is coming from? I think Gateway has to communicate the Id number to the Sensor, correct?

    Also, when I plug it into a Raspberry under Domoticz, and declare My Sensors USB Gateway, please find what I see in Domoticz log:
    2015-09-21 21:35:34.116 MySensors: Using serial port: /dev/ttyUSB1
    2015-09-21 21:35:35.596 MySensors: Gateway Ready...
    2015-09-21 21:35:45.405 Hardware Monitor: Fetching data (System sensors)
    2015-09-21 21:36:15.817 Hardware Monitor: Fetching data (System sensors)
    2015-09-21 21:36:46.058 Hardware Monitor: Fetching data (System sensors)
    2015-09-21 21:37:16.306 Hardware Monitor: Fetching data (System sensors)

    Thanks in advance for your support.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Elfnoir
      wrote on last edited by Elfnoir
      #2

      Hi, some additionnal tests I've done. When I put this script inside a sensor, I have the same message "ReqId", but it has an Id (3), isn't it?
      #include <MySensor.h>
      #include <SPI.h>

      #define ID 3
      #define OPEN 1
      #define CLOSE 0

      MySensor gw;
      MyMessage msg(ID, V_TRIPPED);

      void setup()
      {
      gw.begin();
      gw.present(ID, S_DOOR);
      }

      void loop()
      {
      gw.send(msg.set(OPEN));
      delay(10000); // Wait 10 seconds
      }

      Thanks for your help :-)

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #3

        You need a controller that can assign node Id's to your sensors. That is not done by the GW.

        As an alternative, you can hardwire the firmware to use a specific node Id in your mysensors constructor. Check example sketches etc on jow to do it.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Elfnoir
          wrote on last edited by
          #4

          Hi,
          Thanks for your feedback;
          I put it on USB on my raspberry with Domoticz, and I was happy (!) to read in Domoticz logs:
          "2015-09-11 08:17:09.306 MySensors: Using serial port: /dev/ttyUSB1
          2015-09-11 08:17:10.786 MySensors: Gateway Ready..."

          but I have the same error message for the humidity sensor, and no visibility in Domoticz:
          "req id
          send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
          H: 51.00
          req id
          send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
          T: 21.00
          req id
          send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
          H: 50.00
          req id
          send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
          H: 49.00
          req id
          send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
          T: 20.00"

          Then I build Car Park Sensors, and it's working well: shown in Domoticz, and no 'req id' in loop.
          Do you know, for my Humidity Sensors what could be wrong please?
          Thanks in advance for your support.
          Regards.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            Elfnoir
            wrote on last edited by
            #5

            Hi,
            I also created a motion, door, and with the humidity sensors, there is the same message: 'Req Id' in loop.
            I understand Domoticz didn't get it, but could you please tell me what should I modify in Domoticz to obtain these Id's please? Which files or configuration? Is there any tutos to follow please?

            Thanks for your support.
            Regards.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              Elfnoir
              wrote on last edited by
              #6

              Hi,

              I erase my arduino with EEPROM_clear script, and It works now.

              Thanks.

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


              11

              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