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. IOBroker
  4. [solved] Problem with ioBroker and MySensors 2.0

[solved] Problem with ioBroker and MySensors 2.0

Scheduled Pinned Locked Moved IOBroker
20 Posts 5 Posters 7.2k Views 6 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #8

    Is it from a separate node or sensors attached to the gateway the presentation is missing?

    Do you have the sketch?

    Which version on the node/gateway?

    1 Reply Last reply
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      Plugin Developer
      wrote on last edited by
      #9

      Accordingly to http://forum.iobroker.net/viewtopic.php?f=12&t=3577&start=20#p36227 he has 2.0 Serial with
      Seeeduino for the gateway (serial)
      Seeeduino for the chicken shed
      Sensebende for the temperature sensor
      Raspberry pi 2 and 3 for the controller

      BTW, is it not the good idea to print the version out in log? What is this? 0;255;0;0;18;2.0.0

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

        Might be best to ping @stefaanv here...

        How does the log look on the node where the presentation messages is sent from?
        Do you get failed transmissions?

        1 Reply Last reply
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          Plugin Developer
          wrote on last edited by
          #11

          And this one must be a sketch: http://forum.iobroker.net/viewtopic.php?f=12&t=3577&start=20#p36212

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

            Ok, it sends 9 presentations in a row.... Might be too much depending on how the radio is powered and decoupled.

            Introducing a wait(50) between each presentation message could resolve the problem.

            1 Reply Last reply
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              Plugin Developer
              wrote on last edited by
              #13

              I have this one log from him:

              0;255;3;0;9;TSP:MSG:READ 2-2-0 s=2,c=1,t=1,pt=2,l=2,sg=0:0
              2;1;1;0;0;23.5
              0;255;3;0;9;TSP:MSG:READ 2-2-0 s=1,c=1,t=0,pt=7,l=5,sg=0:23.5
              1;8;1;0;2;0
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=8,c=1,t=2,pt=1,l=1,sg=0:0
              1;7;1;0;39;-12.17
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=7,c=1,t=39,pt=7,l=5,sg=0:-12.17
              1;255;3;0;0;75
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=0,pt=1,l=1,sg=0:75
              1;5;1;0;36;1
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=5,c=1,t=36,pt=2,l=2,sg=0:1
              1;2;1;0;1;63.38
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=2,c=1,t=1,pt=7,l=5,sg=0:63.38
              1;2;1;0;0;12.87
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=2,c=1,t=0,pt=7,l=5,sg=0:12.87
              1;2;1;0;38;12.56
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=2,c=1,t=38,pt=7,l=5,sg=0:12.56
              1;2;1;0;39;-43.80
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=2,c=1,t=39,pt=7,l=5,sg=0:-43.80
              1;1;1;0;23;17.69
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=23,pt=7,l=5,sg=0:17.69
              1;255;3;1;0;1475773988
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=0,pt=0,l=10,sg=0:1475773988
              0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=0,pt=0,l=10,sg=0,ft=0,st=ok:1475773988
              0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=1,pt=0,l=0,sg=0:
              0;255;0;0;18;2.0.0
              0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
              0;255;3;0;9;No registration required
              0;255;0;0;18;2.0.0
              0;255;3;0;14;Gateway startup complete.
              0;255;3;0;9;TSM:READY
              0;255;3;0;9;TSM:GW MODE
              0;255;3;0;9;TSM:RADIO:OK
              0;255;3;0;9;TSM:INIT
              0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
              

              Is the information you required there?

              1 Reply Last reply
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                Plugin Developer
                wrote on last edited by
                #14

                @hek said:

                Ok, it sends 9 presentations in a row....
                Where can you see that?
                It is really strange I have my answer ready and wait for 2 minutes to send it out. In this time you answer on my previous question and my answers looks silly because the it is old.

                1 Reply Last reply
                0
                • BluefoxB Offline
                  BluefoxB Offline
                  Bluefox
                  Plugin Developer
                  wrote on last edited by
                  #15

                  @hek said:

                  Introducing a wait(50) between each presentation message could resolve the problem.

                  I do not understand, should ioBorker use wait(50) or Sketch? (I guess sketch, but to be sure)

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

                    In the sketch.

                    stefaanvS 1 Reply Last reply
                    0
                    • hekH hek

                      In the sketch.

                      stefaanvS Offline
                      stefaanvS Offline
                      stefaanv
                      wrote on last edited by
                      #17

                      @hek
                      We're making progress. I'm already seeing both nodes in ioBroker Objects tree. The sensebender node also reports temperature and humidity.
                      0_1476000444616_upload-383148d2-26ea-402a-a4a9-8258a2fa346b
                      Still, none of the measurements from the chicken shed node get through. Underneath is the log from this node, hope you can make any sense of it. I see a lot of FPAR:FAIL's, hope this is something that can be solved.

                      Stefaan

                      Starting sensor (RNNNA-, 2.0.0)
                      TSM:INIT
                      TSM:RADIO:OK
                      TSP:ASSIGNID:OK (ID=1)
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSM:FPAR:FAIL
                      !TSM:FAILURE
                      TSM:PDT
                      TSM:INIT
                      TSM:RADIO:OK
                      TSP:ASSIGNID:OK (ID=1)
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSM:FPAR:FAIL
                      !TSM:FAILURE
                      TSM:PDT
                      TSM:INIT
                      TSM:RADIO:OK
                      TSP:ASSIGNID:OK (ID=1)
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSM:FPAR:FAIL
                      !TSM:FAILURE
                      TSM:PDT
                      TSM:INIT
                      TSM:RADIO:OK
                      TSP:ASSIGNID:OK (ID=1)
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                      TSP:MSG:FPAR RES (ID=0, dist=0)
                      TSP:MSG:PAR OK (ID=0, dist=1)
                      TSM:FPAR:OK
                      TSM:ID
                      TSM:CHKID:OK (ID=1)
                      TSM:UPL
                      TSP:PING:SEND (dest=0)
                      TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                      TSP:MSG:READ 0-0-1 s=255,c=3,t=25,pt=1,l=1,sg=0:1
                      TSP:MSG:PONG RECV (hops=1)
                      TSP:CHKUPL:OK
                      TSM:UPL:OK
                      TSM:READY
                      Kippenhok_4
                      Motor stopped at 60735
                      application started
                      TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=1,pt=0,l=0,sg=0,ft=0,st=ok:
                      TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
                      !TSP:MSG:SEND 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0
                      !TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=fail:0
                      TSP:MSG:READ 0-0-1 s=255,c=3,t=0,pt=0,l=10,sg=0:1476000019
                      TSP:MSG:ACK msg
                      TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=0,pt=0,l=10,sg=0,ft=2,st=ok:1476000019
                      !TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=fail:Kippenhok
                      !TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=1,st=fail:1.0
                      !TSP:MSG:SEND 1-1-0-0 s=1,c=0,t=16,pt=0,l=0,sg=0,ft=2,st=fail:
                      !TSP:MSG:SEND 1-1-0-0 s=2,c=0,t=30,pt=0,l=0,sg=0,ft=3,st=fail:
                      !TSP:MSG:SEND 1-1-0-0 s=3,c=0,t=6,pt=0,l=0,sg=0,ft=4,st=fail:
                      !TSP:MSG:SEND 1-1-0-0 s=4,c=0,t=7,pt=0,l=0,sg=0,ft=5,st=fail:
                      !TSM:UPL FAIL, SNP
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      Request registration...
                      !TSP:SEND:TNR
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSP:SEND:TNR
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSP:SEND:TNR
                      TSM:FPAR
                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSP:SEND:TNR
                      !TSM:FPAR:FAIL
                      !TSM:FAILURE
                      TSM:PDT
                      Init complete, id=1, parent=255, distance=255, registration=1
                        ... loop ...
                      !TSP:SEND:TNR
                      Door Open, Lux 1407.40, luxState 1, camera off, (-)
                      Battery 12.07V, -11.90mA
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      --NO-- Time = 5, 0:0:5
                        ... loop ...
                      !TSP:SEND:TNR
                      Door Open, Lux 1384.85, luxState 1, camera off, (-)
                      Battery 12.07V, -11.20mA
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      !TSP:SEND:TNR
                      --NO-- Time = 10, 0:0:10
                      
                      
                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #18

                        Something is not good. It keeps losing parent because it doesn't hear any ack:s sent by the gateway.

                        Did you put decouple capacitors on both gateway and repeater? Do you use none amplified radios?

                        stefaanvS 1 Reply Last reply
                        0
                        • hekH hek

                          Something is not good. It keeps losing parent because it doesn't hear any ack:s sent by the gateway.

                          Did you put decouple capacitors on both gateway and repeater? Do you use none amplified radios?

                          stefaanvS Offline
                          stefaanvS Offline
                          stefaanv
                          wrote on last edited by
                          #19

                          @hek
                          Hadn't done any of the decoupling. Will do so next.
                          However, by moving the controller closer to the shed, The problem is solved !!
                          0_1476001429124_upload-ffaeb96a-bf60-48e0-a44e-e5bca67cb6d4
                          Thanks a million for the support !

                          jopebeJ 1 Reply Last reply
                          1
                          • stefaanvS stefaanv

                            @hek
                            Hadn't done any of the decoupling. Will do so next.
                            However, by moving the controller closer to the shed, The problem is solved !!
                            0_1476001429124_upload-ffaeb96a-bf60-48e0-a44e-e5bca67cb6d4
                            Thanks a million for the support !

                            jopebeJ Offline
                            jopebeJ Offline
                            jopebe
                            wrote on last edited by
                            #20

                            @stefaanv
                            Hallo, have the same problem.
                            I cannot see my node in IO-Broker. Read all the threads in this forum and in IObroker.
                            Same issue with inclusion mode. Don`t know, what else I can do.
                            I use the original Ethernet-Gateaway-Sketch from MySensors page, the original Temp-hum-sketch from MYsensors page and installed sometimes MYsensors-adapter in IOBroker.
                            I use the gateway as TCP-client.
                            What can I do?
                            Here the seriell protocol:
                            ;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                            0;255;3;0;9;TSM:INIT
                            0;255;3;0;9;TSM:RADIO:OK
                            0;255;3;0;9;TSM:GW MODE
                            0;255;3;0;9;TSM:READY
                            IP: 192.168.178.56
                            0;255;3;0;9;No registration required
                            0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                            0;255;3;0;9;TSP:MSG:BC
                            0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1)
                            0;255;3;0;9;TSP:CHKUPL:OK
                            0;255;3;0;9;TSP:MSG:GWL OK
                            0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
                            0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1)
                            0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                            0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0:
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0:
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
                            0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:20.0
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:46.7
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:19.9
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:46.6
                            0;255;3;0;9;TSP:SANCHK:OK
                            0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:46.5
                            The node was switched on all the time. There is a row of "0;255;3;0;9;TSP:SANCHK:OK".
                            Then I switched the node of and on again. Now came other infos and I can see the temperatur and the humidity, but not before I switchesd off and on.
                            Strange.
                            In IObroker there is nothin to be seen.
                            Perhaps I use the wrong (chnages wrong?) sketch. Ha sanybody a sketch for the gateaway that runs better?
                            Thank You in advance

                            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