MySensors plugin : Cannot send command - communications error
-
I had several times the same problem.
Check the IP configuration in the mysensors plugin, the IP adress change for no reason, i have to investigate this.
-
I had several times the same problem.
Check the IP configuration in the mysensors plugin, the IP adress change for no reason, i have to investigate this.
@cheesepower said:
I had several times the same problem.
Check the IP configuration in the mysensors plugin, the IP adress change for no reason, i have to investigate this.
Thanks. I checked but the ip I'm using matches ok....
So far, only a hard reset of the arduino and a vera restart seem to reconnect the two.
I'm going to try a ping up the power supply.
-
I have same error when I am trying to get EthernetGateway (Nano+NRF24L01+w5100) to work with Vera3.
The gateway answers to ping in my LAN ip 192.168.100.222
And seems to be working well and receives sensor messages as seen in USB serial:
0;0;3;0;14;Gateway startup complete.
0;0;3;0;9;read: 1-1-0 s=4,c=1,t=2,pt=2,l=2:0
1;4;1;0;2;0
0;0;3;0;9;read: 1-1-0 s=2,c=1,t=0,pt=7,l=5:42.3
1;2;1;0;0;42.3
0;0;3;0;9;read: 1-1-0 s=3,c=1,t=2,pt=2,l=2:1
1;3;1;0;2;1
...But the vera plugin fails to getVersion:
50 01/11/15 21:30:05.658 luup_log:80: Arduino plugin: loading library L_Arduino ... <0x2bf45680>
50 01/11/15 21:30:05.687 luup_log:80: Arduino plugin: library L_Arduino loaded LEAK this:163840 start:741376 to 0x10e9000 <0x2bf45680>
50 01/11/15 21:30:05.687 luup_log:80: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.4, 80 <0x2bf45680>
50 01/11/15 21:30:05.688 luup_log:80: Arduino: Using network connection: IP address is 192.168.100.222:5003 <0x2bf45680>
50 01/11/15 21:30:35.040 luup_log:80: Arduino: Sending: 0;0;3;0;2;Get Version <0x2bf45680>
02 01/11/15 21:31:05.084 luup_log:80: Arduino: Cannot send command - communications error <0x2bf45680>Restarting luup, reloading UI6 or rebooting vera3 does not help.
Any ideas? I'm stuck so please help.
-
Just to add that I am using 1.4.1 library and SOFTSPI was defined when compiling the EthernetGateway. And since the EthernetGateway responds to ping and receives sensor values I assumes it is working properly.
Is there another way to confirm the proper operation e.g. with telnet to the port 5003 or how to issue similar simulated request that Vera does when calling getVersion?
I'm out of home automation before this is solved! :-(
-
I checked in a small update yesterday which changes order of initialization between radio/ethernet. This has helped a few on the forum lately. I have no idea if this is related to your problem though.
@hek said:
I checked in a small update yesterday which changes order of initialization between radio/ethernet. This has helped a few on the forum lately. I have no idea if this is related to your problem though.
Thanks, but I did that too and it helped to resurrect it since before it did not respond to ping.
Now it does so I think it works, but could it still be something in the node?In the EthernetGateway wiring instructions it says to connect:
13 SCK
12 MISO/SO
11 MOSI/SI
10 SS/CSBut in the RF24_config.h it reads:
const uint8_t SOFT_SPI_MISO_PIN = 16;
const uint8_t SOFT_SPI_MOSI_PIN = 15;
const uint8_t SOFT_SPI_SCK_PIN = 14;So how should it be? Should I change the RF24_config.h or the wiring?
And by the way the W5100 has label for +5V and not 3.3V as the wiring instructions..
-
Follow this:
http://www.mysensors.org/build/ethernet_gatewayA0 = 14
A1 = 15
...@hek said:
Follow this:
http://www.mysensors.org/build/ethernet_gatewayA0 = 14
A1 = 15
...Ok the wirings were otherwise correct since it started working once I fed +5V instead of 3.3V to the W5100.
So I am back online with the home automation.. Phew.. -
ok great thread as I want to also change to an Ethernet gw
But here is the rookie question, after there has been a ping to the gw there is lots of info shown in these dissussions ie unit8 .....
o;0;3;9 read.....
and many others, at this time it is mostly gibberish to me but have looked at the mysensors ver 1.4
I just want to understand and learn what you guys are posting and why.
One silly last question is I am using lib 1.4 is the github download now lib 1.4.1? and do I need to upgrade?
Yes this old dog is still learning!, it is a blast the people are very helpful. -
ok great thread as I want to also change to an Ethernet gw
But here is the rookie question, after there has been a ping to the gw there is lots of info shown in these dissussions ie unit8 .....
o;0;3;9 read.....
and many others, at this time it is mostly gibberish to me but have looked at the mysensors ver 1.4
I just want to understand and learn what you guys are posting and why.
One silly last question is I am using lib 1.4 is the github download now lib 1.4.1? and do I need to upgrade?
Yes this old dog is still learning!, it is a blast the people are very helpful.@5546dug
Yes I think you need 1.4.1 or latest. The messages you see (0;0;3;9...) are traffic in the wireless sensor network.My problem appeared again. The EthernetGateway responds to Ping but Vera plugin says:
"Cannot send command - communications error"So perhaps increasing power could help, but how? Is adding capacitors enough?? Like for the radio there already is one..