Nb of possible nodes in a mysensors networks with domoticz
-
Hello, I am a beginner in domotic, and I have a very basic question : in a mysensors network controlled by domoticz, is it possible to use several nodes with one gateway ? I use presently -working like a charm- a network with one Uno node, with nrf24L01, with 6 children, to monitor the water level in a well and several pumps start/stop. I would like to add a 2nd node (another Uno with nrf24) in another place, reporting to the same gateway and domoticz controller, with one child sensor, but I do not manage to do it. The 2nd Uno does not appear in the list of materials / devices of mysensors box in Domoticz. Is there a special procedure I do not know to get this new node recognized in Domoticz ? What could I be missing ?
My controller and my present gateway are hosted on a raspberrypi 3.
Thanks very much in advance.
-
You should be able to add up to 254 nodes on one gateway.
You might be able to get some info from the Domoticz log. In Domoticz, go to Setup->Log.
If you reset your new node, you should see messages showing the presentation info and maybe the first values.
If you don't see that, double check your hardware.
If you do see it, it should be in the Setup->Devices list.
-
Thanks for your answer.
I do not see anything new in the domoticz log when I reset the Uno. Just in case, I have already changed the NRF24L01+PA&LA and added a 33uF capacity between its power lines : no change. The first node is still working perfectly, so that I assume that the reception part on the gateway and controller is OK.
I go on investigating.....
-
If you haven's already, add #define MY_DEBUG to your sketch. Then, look at the serial output from the node.
If you see sancheck fail, then something is probably wrong with the wiring.
You can also paste the serial output into the decoder here: https://www.mysensors.org/build/parser
That should give you more readable info about what is gong on.
-
@nagelc I have 'define my_debug' in the sketch. I get this (sample) in the log : Do you have any idea ?
....
16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
26 TSM:INIT
28 TSF:WUR:MS=0
34 TSM:INIT:TSP OK
36 TSM:FPAR
38 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2048 !TSM:FPAR:NO REPLY
2050 TSM:FPAR
2052 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4060 !TSM:FPAR:NO REPLY
4062 TSM:FPAR
4064 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6072 !TSM:FPAR:NO REPLY
6074 TSM:FPAR
6076 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8084 !TSM:FPAR:FAIL
8085 TSM:FAIL:CNT=1
8087 TSM:FAIL:DIS
8089 TSF:TDI:TSL
18091 TSM:FAIL:RE-INIT
18093 TSM:INIT
....
And parser gives me (sample) :
34 TSM:INIT:TSP OK Transition to Init state:TSP OK
36 TSM:FPAR Transition to Find Parent state
38 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: Sent Message without radio ACK
Sender: 255
Last Node: 255
Next Node: 255
Destination: 255
Sensor Id: 255
Command: INTERNAL
Message Type:I_FIND_PARENT_REQUEST
Payload Type: P_STRING
Payload Length: 0
Signing: 0
Failed uplink counter: 0
Status: OK (OK=success, NACK=no radio ACK received)
Payload:
2048 !TSM:FPAR:NO REPLY No potential parents replied to find parent request
Suggested Topics
-
Welcome
Announcements • • hek