• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    problems with registering nodes and sensors

    scheduled pinned locked moved Troubleshooting
    17 posts 2 posters 3.2k views 2 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • T offline
      Tag MOD @mitjaxp
      global:last-edited-by, Tag

      @mitjaxp

      Hi!,

      Could it be that your "old" version of the mysensors node was base on the 1.x libraries, and you are now using the 2.x version of the lib?

      I know that lots of things vae changed between the two versions i.e in 1.x you have to start mysensors with gw.begin(), in version 2 this is not required anymore.

      Have a look here

      one-reply-to-this-post last-reply-time reply quote 0
      • M offline
        mitjaxp
        global:last-edited-by,

        @tag said in problems with registering nodes and sensors:

        ensor

        don't understand, but it worked i trj to program same code that it was work before but now don't

        T one-reply-to-this-post last-reply-time reply quote 0
        • T offline
          Tag MOD @mitjaxp
          global:last-edited-by,

          @mitjaxp

          Something has changed 😉 but what.......
          (arduino version / library version)

          Do the examples from the library run okay?

          one-reply-to-this-post last-reply-time reply quote 0
          • M offline
            mitjaxp
            global:last-edited-by,

            Jan 30, 2018 05:00:30 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
            	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
            	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
            	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
            	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
            	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
            	Jan 30, 2018 05:00:28 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
            	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
            	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
            	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
            	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
            	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
            	Jan 30, 2018 05:00:26 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
            	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
            	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
            	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
            	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
            	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
            	Jan 30, 2018 05:00:24 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:PNG:SEND,TO=0
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
            	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
            	Jan 30, 2018 05:00:14 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
            	Jan 30, 2018 05:00:14 PM	Notice	Gateway	 mysensors	Sent	Internal	[Discover]
            	Jan 30, 2018 05:00:12 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
            	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
            	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
            	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
            	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
            	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:```
            
            one-reply-to-this-post last-reply-time reply quote 0
            • M offline
              mitjaxp
              global:last-edited-by,

              i try basic examples from mysensors.org just copy past working fine after deleting nodes in my controller the controller doesn't want to register that nodes anymore it happens for all sensors i tried first time working fine after deleting nothing

              T one-reply-to-this-post last-reply-time reply quote 0
              • T offline
                Tag MOD @mitjaxp
                global:last-edited-by,

                @mitjaxp

                Strange, have you tried the clear-eeprom sketch to clear all the "saved" settings in the node, and then reload your sketch?

                M one-reply-to-this-post last-reply-time reply quote 0
                • M offline
                  mitjaxp @Tag
                  global:last-edited-by,

                  @tag said in problems with registering nodes and sensors:

                  nd t

                  yes i try this

                  T one-reply-to-this-post last-reply-time reply quote 0
                  • T offline
                    Tag MOD @mitjaxp
                    global:last-edited-by, Tag

                    @mitjaxp

                    So if i understand correctly the following is happening:

                    1. You have a working node with a running example

                    2. a new sketch is uploaded to the node
                      2.1 the node is deleted from mycontroller

                    3. node is started but is not seen in mycontroller.

                    Is this correct?

                    one-reply-to-this-post last-reply-time reply quote 0
                    • M offline
                      mitjaxp
                      global:last-edited-by,

                      yes exactly i was try https://www.mysensors.org/build/binary woks perfectly then i was try https://www.mysensors.org/build/relay was working also then try again binary and not working also relay not working now like it hac mycontroler something in cache... was already try delete browser cache can i delete any cache in mycontroller that affect ?

                      i also try other arduino board and same problem

                      T one-reply-to-this-post last-reply-time reply quote 0
                      • T offline
                        Tag MOD @mitjaxp
                        global:last-edited-by,

                        @mitjaxp said in problems with registering nodes and sensors:

                        ycontroler something in cache... was already try delete browser cache can i delete any cache in mycontroller that affect ?

                        if you enable debug on the node, do you see it connect to the gateway?
                        Can you post the output? (we first need to figure out if the node is able to connect to the gateway, next step will be mycontroller)

                        one-reply-to-this-post last-reply-time reply quote 0
                        • M offline
                          mitjaxp
                          global:last-edited-by,

                          @tag said in problems with registering nodes and sensors:

                          e first need to figure out if the node is able to connect to

                          16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
                          25 TSM:INIT
                          26 TSF:WUR:MS=0
                          33 TSM:INIT:TSP OK
                          35 !TSF:SID:FAIL,ID=0
                          37 TSM:FAIL:CNT=1
                          38 TSM:FAIL:DIS
                          40 TSF:TDI:TSL
                          10042 TSM:FAIL:RE-INIT
                          10044 TSM:INIT
                          10051 TSM:INIT:TSP OK
                          10053 !TSF:SID:FAIL,ID=0
                          10055 TSM:FAIL:CNT=2
                          10057 TSM:FAIL:DIS
                          10059 TSF:TDI:TSL```
                          one-reply-to-this-post last-reply-time reply quote 0
                          • T offline
                            Tag MOD
                            global:last-edited-by, Tag

                            @mitjaxp said in problems with registering nodes and sensors:

                            !TSF:SID:FAIL

                            Can you check this setting in mycontroller:

                            Settings --> system --> Register nodes automatically
                            0_1517381667716_Screenshot 2018-01-31 at 07.43.55.png

                            Is this set to automatically?

                            Something else to try
                            If you set a static node id in your sketch, does that change anything?

                            #define MY_NODE_ID 25
                            

                            (25 is just a number, please use a free non-assigned node number......)

                            one-reply-to-this-post last-reply-time reply quote 0
                            • M offline
                              mitjaxp
                              global:last-edited-by,

                              i have enabled and i try set it but now i thing it's not mycontroller i installed domoticz and same problem 😞 so must be on nodes

                              T one-reply-to-this-post last-reply-time reply quote 0
                              • T offline
                                Tag MOD @mitjaxp
                                global:last-edited-by,

                                @mitjaxp said in problems with registering nodes and sensors:

                                i thing it's not mycontroll

                                Okay, well, maybe the mysensors forum can help you..... lots of knowledge there....
                                (Would appreciate if you tell us once solved 😉 )

                                one-reply-to-this-post last-reply-time reply quote 0
                                • M offline
                                  mitjaxp
                                  global:last-edited-by, mitjaxp

                                  SOLVED!!!!! it make me crazy but finally i found on mysensors forum
                                  @dallienl said in 💬 Building an Ethernet Gateway:

                                  Had lots of issues getting this to work. The issue seems to be with the ethernet part, as I only have an ethernet board attached I removed the lines for the radio and the pin redirection. Still the code kept restarting all the time or just not being able to connect the controller.

                                  AVR version of the Arduino 1.8.0 kit needs to be downgraded. I had 1.6.16 and downgraded to 1.6.11.

                                  Open Arduino. Tools > Board: xxxxx > Boards manager... > Click "Arduino AVR Boards" > Select Version > 1.6.11

                                  Recompile and you are good.

                                  so i had to downgraded AVR version of the Arduino 1.8.0 kit and thats it 🙂 i knew its smothing in arduino IDE

                                  reply

                                  T one-reply-to-this-post last-reply-time reply quote 1
                                  • T offline
                                    Tag MOD @mitjaxp
                                    global:last-edited-by,

                                    @mitjaxp

                                    Great news!!!
                                    Many thanks for posting the solution here :thumbs_up:

                                    one-reply-to-this-post last-reply-time reply quote 0
                                    • first-post
                                      last-post

                                    0

                                    online

                                    644

                                    users

                                    532

                                    topics

                                    3.4k

                                    posts
                                    Copyright © 2015-2025 MyController.org | Contributors | Localization