Hi All,
i’ve built the mysensors gateway with ENC28J60 Ethernet module, RF24 and arduino nano.
on serial monitor of arduino the monitor, i read:
0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT
5 TSF:WUR:MS=0
12 TSM:INIT:TSP OK
13 TSM:INIT:GW MODE
15 TSM:READY:ID=0,PAR=0,DIS=0
18 MCO:REG:NOT NEEDED
71 GWT:TIN:IP=192.168.80.9
1074 MCO:BGN:STP
1075 MCO:BGN:INIT OK,TSP=1
1078 TSM:READY:NWD REQ
1083 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT
5 TSF:WUR:MS=0
12 TSM:INIT:TSP OK
13 TSM:INIT:GW MODE
15 TSM:READY:ID=0,PAR=0,DIS=0
18 MCO:REG:NOT NEEDED
71 GWT:TIN:IP=192.168.80.9
1074 MCO:BGN:STP
1075 MCO:BGN:INIT OK,TSP=1
1078 TSM:READY:NWD REQ
1083 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
13182 GWT:TSA:ETH OK
13190 GWT:RFC:MSG=0;255;3;0;2;
23293 GWT:RFC:MSG=0;255;3;0;2;
33400 GWT:RFC:MSG=0;255;3;0;2;
43508 GWT:RFC:MSG=0;255;3;0;2;
53615 GWT:RFC:MSG=0;255;3;0;2;
63723 GWT:RFC:MSG=0;255;3;0;2;
73830 GWT:RFC:MSG=0;255;3;0;2;
83937 GWT:RFC:MSG=0;255;3;0;2;
94044 GWT:RFC:MSG=0;255;3;0;2;
104153 GWT:RFC:MSG=0;255;3;0;2;
114259 GWT:RFC:MSG=0;255;3;0;2;
124366 GWT:RFC:MSG=0;255;3;0;2;
134474 GWT:RFC:MSG=0;255;3;0;2;
144581 GWT:RFC:MSG=0;255;3;0;2;
154689 GWT:RFC:MSG=0;255;3;0;2;
164798 GWT:RFC:MSG=0;255;3;0;2;
174905 GWT:RFC:MSG=0;255;3;0;2;
185013 GWT:RFC:MSG=0;255;3;0;2;
195324 GWT:RFC:MSG=0;255;3;0;2;
205228 GWT:RFC:MSG=0;255;3;0;2;
215334 GWT:RFC:MSG=0;255;3;0;2;
225441 GWT:RFC:MSG=0;255;3;0;2;
235549 GWT:RFC:MSG=0;255;3;0;2;
245657 GWT:RFC:MSG=0;255;3;0;2;
255970 GWT:RFC:MSG=0;255;3;0;2;
265872 GWT:RFC:MSG=0;255;3;0;2;
275980 GWT:RFC:MSG=0;255;3;0;2;
286088 GWT:RFC:MSG=0;255;3;0;2;
296196 GWT:RFC:MSG=0;255;3;0;2;
306302 GWT:RFC:MSG=0;255;3;0;2;
316411 GWT:RFC:MSG=0;255;3;0;2;
326518 GWT:RFC:MSG=0;255;3;0;2;
336625 GWT:RFC:MSG=0;255;3;0;2;
346733 GWT:RFC:MSG=0;255;3;0;2;
357048 GWT:RFC:MSG=0;255;3;0;2;
366948 GWT:RFC:MSG=0;255;3;0;2;
377056 GWT:RFC:MSG=0;255;3;0;2;
387163 GWT:RFC:MSG=0;255;3;0;2;
397270 GWT:RFC:MSG=0;255;3;0;2;
407377 GWT:RFC:MSG=0;255;3;0;2;
417485 GWT:RFC:MSG=0;255;3;0;2;
427592 GWT:RFC:MSG=0;255;3;0;2;
437701 GWT:RFC:MSG=0;255;3;0;2;
447807 GWT:RFC:MSG=0;255;3;0;2;
457916 GWT:RFC:MSG=0;255;3;0;2;
468024 GWT:RFC:MSG=0;255;3;0;2;
478131 GWT:RFC:MSG=0;255;3;0;2;
488238 GWT:RFC:MSG=0;255;3;0;2;
498345 GWT:RFC:MSG=0;255;3;0;2;
My HA Core reads:
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:
ssl_certificate: /var/homeassistant/.homeassistant/server.pem
ssl_key: /var/homeassistant/.homeassistant/server.key
#map:
geo_location:
- platform: geo_json_events
url: https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson
mysensors:
gateways:
- device: '192.168.80.9'
Home Assistant Core log shows the following:
Jun 18 13:12:43 wolke.com.br hass[22372]: 2020-06-18 13:12:43 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:12:56 wolke.com.br hass[22372]: 2020-06-18 13:12:56 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:13:09 wolke.com.br hass[22372]: 2020-06-18 13:13:09 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:13:22 wolke.com.br hass[22372]: 2020-06-18 13:13:22 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:13:35 wolke.com.br hass[22372]: 2020-06-18 13:13:35 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:13:48 wolke.com.br hass[22372]: 2020-06-18 13:13:48 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:14:01 wolke.com.br hass[22372]: 2020-06-18 13:14:01 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:14:14 wolke.com.br hass[22372]: 2020-06-18 13:14:14 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:14:27 wolke.com.br hass[22372]: 2020-06-18 13:14:27 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Jun 18 13:14:40 wolke.com.br hass[22372]: 2020-06-18 13:14:40 ERROR (MainThread) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.80.9', 5003)
Any hint why mysensors gateway does not speak with HA?
Thx in advance for any help.