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. Domoticz
  4. Can't see any sensors in Domoticz

Can't see any sensors in Domoticz

Scheduled Pinned Locked Moved Domoticz
6 Posts 3 Posters 3.4k Views 2 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.
  • ErrKE Offline
    ErrKE Offline
    ErrK
    Plugin Developer
    wrote on last edited by
    #1

    Hi.
    I have just started to build my sensors and now i got a problem that i hope you can help me with.

    I am using version 1.5.1 of the API.
    Have a ESP8266 Gateway that i only change ssid and password from the example sketch.

    In Domoticz (version 2.3799) i have added the gateway as an "MySensors Gateway with LAN interface" with the right ip and port 5003.
    I can see in the log in Domoticz

    2015-12-12 22:03:52.065 MySensors: connected to: 10.0.1.6:5003
    2015-12-12 22:03:52.066 MySensors: Gateway Ready... 
    

    I have also created a MotionSensor and the logg when i start it is looks like this.

    sensor started, id=255, parent=255, distance=255
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    0
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    1
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    

    The log for my gateway when i trigger a motion infront of my MotionSensor is this.

    0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
    0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
    0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
    0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
    

    So i think it looks like the gateway can see what the MotionSensor send.

    But i can't find the MotionSensor in Domoticz.
    I am also using the Domoticz for my z-wave components.

    Any one that can give me some tips on what i do wrong?

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      id=255 means it has not got any ID yet, strange.
      What does the gw log looks like when you power on the node?

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • ErrKE Offline
        ErrKE Offline
        ErrK
        Plugin Developer
        wrote on last edited by
        #3

        Thanks for your quick response.

        When i start the gateway it looks like this.

        rlx00l��|x00�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��l��bn�|l����b��nn�x00l��l`�nnl`nr���n��l`r��n��l`��n�
        
        ESP8266 MySensors Gateway
        Connecting to XXX
        ...Connected!
        IP: 10.0.1.6
        0;0;3;0;9;gateway started, id=0, parent=0, distance=0
        

        And when i start the motionSensor it looks like this in the gateway.

        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;
        

        In the motionsensor it looks like this.

        sensor started, id=255, parent=0, distance=1
        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:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
        0
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
        1
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
        0
        

        I have now connect them to two seperate usb ports on my Mac to use the serial monitor.

        1 Reply Last reply
        0
        • ErrKE Offline
          ErrKE Offline
          ErrK
          Plugin Developer
          wrote on last edited by
          #4

          I have now tried to reuplode the sketch to both the gateway and the sensor.

          I think the problem is with the gateway.
          Look here at the log.

          tail 0
          chksum 0x42
          csum 0x42
          
          
          ESP8266 MySensors Gateway
          Connecting to XXX
          ...Connected!
          IP: 10.0.1.6
          0;0;3;0;9;gateway started, id=0, parent=0, distance=0
          Client 0 connected
          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;
          Client 0: 0;0;3;0;2;
          
          Exception (28):
          epc1=0x4000bf80 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
          
          ctx: cont 
          sp: 3ffeac40 end: 3ffeaec0 offset: 01a0
          
          >>>stack>>>
          3ffeade0:  00000080 3fffc6fc 3ffe977f 40203ac0  
          3ffeadf0:  3ffeaf20 00000001 3ffe8f8f 4020b794  
          3ffeae00:  3ffeaf20 00000009 3ffe9872 00000000  
          3ffeae10:  00000003 00000000 3ffe9860 4020ae11  
          3ffeae20:  00000001 3ffe9869 3ffeaf20 4020ae11  
          3ffeae30:  3ffe9869 3ffe9869 3ffeaf20 3ffeaf20  
          3ffeae40:  3ffe9869 3ffe9778 3ffe977f 402024b4  
          3ffeae50:  3ffe9a68 3ffe9869 00000000 40202784  
          3ffeae60:  3ffe8e18 00000000 000003e8 3ffe9bf8  
          3ffeae70:  00000000 3fff4c28 3fff4bb8 3ffeaeec  
          3ffeae80:  00000000 0000000a 00000000 00000000  
          3ffeae90:  40201c35 0601000a 00000000 3ffeaeec  
          3ffeaea0:  3fffdc20 00000000 3ffeaee4 40201c92  
          3ffeaeb0:  00000000 00000000 3ffe9ea0 40100378  
          <<<stack<<<
          
           ets Jan  8 2013,rst cause:2, boot mode:(1,7)
          
          
           ets Jan  8 2013,rst cause:4, boot mode:(1,7)
          
          wdt reset
          

          It craches when i connect the sensor.

          mppM 1 Reply Last reply
          0
          • ErrKE Offline
            ErrKE Offline
            ErrK
            Plugin Developer
            wrote on last edited by
            #5

            Now this is working.
            I use Arduino 1.6.5 and develop version of mysensors API (1.6.0-beta) .
            Here is how it looks in Domoticz

            Screen Shot 2015-12-16 at 09.32.35.png

            1 Reply Last reply
            0
            • ErrKE ErrK

              I have now tried to reuplode the sketch to both the gateway and the sensor.

              I think the problem is with the gateway.
              Look here at the log.

              tail 0
              chksum 0x42
              csum 0x42
              
              
              ESP8266 MySensors Gateway
              Connecting to XXX
              ...Connected!
              IP: 10.0.1.6
              0;0;3;0;9;gateway started, id=0, parent=0, distance=0
              Client 0 connected
              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;
              Client 0: 0;0;3;0;2;
              
              Exception (28):
              epc1=0x4000bf80 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
              
              ctx: cont 
              sp: 3ffeac40 end: 3ffeaec0 offset: 01a0
              
              >>>stack>>>
              3ffeade0:  00000080 3fffc6fc 3ffe977f 40203ac0  
              3ffeadf0:  3ffeaf20 00000001 3ffe8f8f 4020b794  
              3ffeae00:  3ffeaf20 00000009 3ffe9872 00000000  
              3ffeae10:  00000003 00000000 3ffe9860 4020ae11  
              3ffeae20:  00000001 3ffe9869 3ffeaf20 4020ae11  
              3ffeae30:  3ffe9869 3ffe9869 3ffeaf20 3ffeaf20  
              3ffeae40:  3ffe9869 3ffe9778 3ffe977f 402024b4  
              3ffeae50:  3ffe9a68 3ffe9869 00000000 40202784  
              3ffeae60:  3ffe8e18 00000000 000003e8 3ffe9bf8  
              3ffeae70:  00000000 3fff4c28 3fff4bb8 3ffeaeec  
              3ffeae80:  00000000 0000000a 00000000 00000000  
              3ffeae90:  40201c35 0601000a 00000000 3ffeaeec  
              3ffeaea0:  3fffdc20 00000000 3ffeaee4 40201c92  
              3ffeaeb0:  00000000 00000000 3ffe9ea0 40100378  
              <<<stack<<<
              
               ets Jan  8 2013,rst cause:2, boot mode:(1,7)
              
              
               ets Jan  8 2013,rst cause:4, boot mode:(1,7)
              
              wdt reset
              

              It craches when i connect the sensor.

              mppM Offline
              mppM Offline
              mpp
              wrote on last edited by
              #6

              @ErrK, see this topic http://www.esp8266.com/viewtopic.php?f=6&t=10901

              I had the same issue, pressing reset didn't work but reconnecting the USB cable did the trick.

              MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

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


              9

              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