Ethernet Gateway and Window Sensor dont communicate.
-
Hi together,
yesterday i soldered an ethernet controller and a window sensor. But it seems not to work, and i ask me how to check. It looks like the modules dont send. But i dont know how to check this.
When i connect the Controller and the Sensor to my computer on serial console i see only this output:
Controller:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0Window Sensor:
find parent send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bd, id=255, parent=255, distance=255 find parent send: 255-255-255-27,pt=0,l=0,sg=0,st=bc: find parent send: 255-255-255-255 s=255,c=3,=0,st=bc:I used on them the API 1.5. On both i used the sample Sketches.
Can you help me please, how can i check the radio is working.
I have on both modules an arduine nano. And on the controller i have a NRF24l01p with PA and sma Connector. On the Window Sensor i have a small nrf24l01 (modell 3629)
Thank you in Advance
Greets Eddie -
sorry i mean the ethernet gateway.
this one: http://www.mysensors.org/build/ethernet_gatewayOK, but i have read at the api that the sensor get automaticaly an id from gateway.
If not where i can configure the id?
thank you -
No, you are getting it wrong.
The gateway never assigns ID to sensors, thats the task of a controller:
sensor ---> gateway ---> controller (where controller is one of the controllers listed here
Alternatively, you can set a static ID on your sensornode by doing
// Assign ID 6 to sensor node gw.begin(NULL,6,false);instead of
gw.begin(NULL,AUTO,false); -
Ah, ok. I use FHEM. In FHEM i have defined the gateway. In FHEM i see this:
DEF 10.0.0.253:5003 DeviceName 10.0.0.253:5003 FD 5 NAME CUL_MySensors NOTIFYDEV global NR 41 NTFY_ORDER 50-CUL_MySensors PARTIAL STATE startup complete TYPE MYSENSORS ack 0 inclusion-mode 1 outstandingAck 0 version 1.5.1 Readings: connection startup complete 2015-12-18 16:43:30 state opened 2015-12-18 16:43:30 Attributes autocreate 1 stateFormat connectionthat is what i see on serial monitor of the sensor:
find parent send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: sensor started, id=255, parent=255, distance=255 find parent send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: find parent send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
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