problems with registering nodes and sensors
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
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)
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```
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
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 )
mitjaxp 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
Many thanks for posting the solution here