problems with registering nodes and sensors
-
can anyone help me every sensor it work fine first time in mycontroler but but when i reprogram it with same code it doesn't register anymore in my controller like i remember i have this same problem about year ago with binary switch from my sensors.org but i can't remember what was solution for problem i just try hum. sensor with nano working fine after reprogram with same code my controller doesn't recognize anymore do i have clear anything in my controller i already try to delete node and sensor but no affect antyme i delete node it don't want register new one i delete cache in chrome no effect also restart mycontroller, sensor...
-
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
-
@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
-
Something has changed but what.......
(arduino version / library version)Do the examples from the library run okay?
-
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:```
-
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
-
Strange, have you tried the clear-eeprom sketch to clear all the "saved" settings in the node, and then reload your sketch?
-
-
So if i understand correctly the following is happening:
-
You have a working node with a running example
-
a new sketch is uploaded to the node
2.1 the node is deleted from mycontroller -
node is started but is not seen in mycontroller.
Is this correct?
-
-
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
-
@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) -
@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```
-
@mitjaxp said in problems with registering nodes and sensors:
!TSF:SID:FAIL
Can you check this setting in mycontroller:
Settings --> system --> Register nodes automatically
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......)
-
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
-
@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 ) -
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
-
Great news!!!
Many thanks for posting the solution here :thumbs_up: