Setting up mysensor and mysensor gateway
-
Hello,
I have 2 arduino mini pro boards, both are hooked with an nrf24l01 and level shifter in between.
when i startup the gateway board.
i get this output on the serial port.0;0;3;0;9;gateway started, id=0, parent=0, distance=0
0;0;3;0;14;Gateway startup complete.next i powerup the sensor board, a simpel push button sketch is loaded i get the following data on the gateway.
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;sometimes when i connect digital pin 3 to gnd it send's something and somtimes not.
but there is no differens in the sended data, so it looks to mee that there is somthing wrong, but i don't know what.below are some lines that where sended after connecting and disconecting pin 3 to ground.
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3; -
extending this question:
I have this setup:
node1 => gateway with mqtt Client => mosquitto as mqtt broker => openhab
The result in the gateway is:
0;0;3;0;9;MQTT connected 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;0;3;0;9;Sending message on topic: gateway1-out/255/255/3/0/3 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;0;3;0;9;Sending message on topic: gateway1-out/255/255/3/0/3 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;0;3;0;9;Sending message on topic: gateway1-out/255/255/3/0/3does this mean, that autoassigning a node ID fails?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login