Configuring MySensor nodes

9 years 2 months ago - 9 years 2 months ago #228 by pvoj
Hi, thanks for this great project!
I have been playing with the raspberry version. It is installed without any problem. Now it is running OK. The gui is great and responsive.
I only have problem adding MySensors nodes. I have a very basic node with a DHT22 humidity and temperature sensor. It is from an other network. It has an id (11) with 2 sensors (tem, and hum).
First I have tried to manually configure changing addresses in the demo sensors. There was no success. After I tried to add as a new node from the gui. Nothing.
On the third try I cleared the eprom and installed the minimal dht 22 example sketch from mysensors.org. There was no success from the gui (add node).
Meanwhile I checked the communication with a serial gateway (to my pc). The node communicated as expected.
Now I stuck. Please help me wich way to countinue..
Thanks!

Please Log in or Create an account to join the conversation.

9 years 2 months ago #229 by EasyIoT
Replied by EasyIoT on topic Configuring MySensor nodes

pvoj wrote: Hi, thanks for this great project!
I have been playing with the raspberry version. It is installed without any problem. Now it is running OK. The gui is great and responsive.
I only have adding MySensors nodes. I have a very basic node with a DHT22 humidity and temperature sensor. It is from an other network. It has an id (11) with 2 sensors (tem, and hum).
First I have tried to manually configure changing addresses in the demo sensors. There was no success. After I tried to add as a new node from the gui. Nothing.
On the third try I cleared the eprom and installed the minimal dht 22 example sketch from mysensors.org. There was no success from the gui (add node).
Meanwhile I checked the communication with a serial gateway (to my pc). The node communicated as expected.
Now I stuck. Please help me wich way to countinue..
Thanks!


Hi, your procedure is right. Clerar eeprom with program, then press button add node in web interface and switch on node. Be careful to use correct channel and speed on both sides Arduino and Raspbery. For troubleshooting I recommend to run in console mode and see debug output.

Please Log in or Create an account to join the conversation.

9 years 2 months ago #230 by pvoj
Replied by pvoj on topic Configuring MySensor nodes

EasyIoT wrote: Hi, your procedure is right. Clerar eeprom with program, then press button add node in web interface and switch on node. Be careful to use correct channel and speed on both sides Arduino and Raspbery. For troubleshooting I recommend to run in console mode and see debug output.

Thanks for the fast advice it realy helped! The communication looks ok. There is a problem around mysensors library if the node fails to receive the new id.
Here is the log which repeats nearly every second the communication repeats:
2015-02-02T00:28:17.6822510+01:00       DEBUG   MySensors                               Send: 0-0-255-255s=255,c=3,t=4,pt=1,l=1,st=fail:6
2015-02-02T00:28:19.6605210+01:00       DEBUG   MySensors                               Read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
2015-02-02T00:28:19.6761890+01:00       DEBUG   MySensors                               Requesr for new node Id
2015-02-02T00:28:19.6815680+01:00       DEBUG   MySensors                               New node id:6
write
false

Please Log in or Create an account to join the conversation.

9 years 2 months ago #239 by EasyIoT
Replied by EasyIoT on topic Configuring MySensor nodes

pvoj wrote:

EasyIoT wrote: Hi, your procedure is right. Clerar eeprom with program, then press button add node in web interface and switch on node. Be careful to use correct channel and speed on both sides Arduino and Raspbery. For troubleshooting I recommend to run in console mode and see debug output.

Thanks for the fast advice it realy helped! The communication looks ok. There is a problem around mysensors library if the node fails to receive the new id.
Here is the log which repeats nearly every second the communication repeats:
2015-02-02T00:28:17.6822510+01:00       DEBUG   MySensors                               Send: 0-0-255-255s=255,c=3,t=4,pt=1,l=1,st=fail:6
2015-02-02T00:28:19.6605210+01:00       DEBUG   MySensors                               Read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
2015-02-02T00:28:19.6761890+01:00       DEBUG   MySensors                               Requesr for new node Id
2015-02-02T00:28:19.6815680+01:00       DEBUG   MySensors                               New node id:6
write
false


Then try add node again. If node is without id it will not work. Also if node is not added to server it will not work.

Please Log in or Create an account to join the conversation.

9 years 2 months ago #242 by bobl
Replied by bobl on topic Configuring MySensor nodes
How do you clear the eeprom? Thanks

Please Log in or Create an account to join the conversation.

9 years 2 months ago #243 by EasyIoT
Replied by EasyIoT on topic Configuring MySensor nodes

bobl wrote: How do you clear the eeprom? Thanks

use this program
github.com/iot-playground/Arduino/blob/m...rom/clear_eeprom.ino
The following user(s) said Thank You: bobl

Please Log in or Create an account to join the conversation.

Time to create page: 0.362 seconds

Forum latest

  • No posts to display.