@mfalkvidd you'r right, i was in a hurry , so i forgoted using my brain!!
the update was with domoticz and i have to check this way.
Posts made by eric007
RE: MySensors 2.3.0 released
I set the update, but now i've some issues.
I can't edit and manage switches anymore:
as soon i click on edit i have this word "undefined" .and that's all.
i can't set timers too.
I tryed this:
My installation was pretty simple , so i stoped domoticz serveur , removed domoticz folder and proceeded to an fresh install.
Problems are still present.
log don't say anything.
so, anyone have a clue ?
here what i get when i click on edit:
RE: Mysensors 2.2.0: need to force restart of nodes if controller or gateway are not available. How to do?
Are you sure about node hang ?
i've read your sketch but i don't see wdt_reset().
I'm not sure but for canceling watchdog timer shouldn't you call wdt_reset() ?
that can't explain node hang but take a look.
RE: Auto reset node.
@gohan yes, i was thinking about using eeprom memory to set a data just before reaching timeout watchdog and use this data at next startup to decide if Arduino has been reseted by watchdog or not.
But using millis function is more clever and don't use eeprom memory.
RE: Auto reset node.
It works fine!!! No more signal issue.
However, i don't know wich solution has worked but the idea of testing the millis function is perfect and should give a clue.
Thank for advices, it was so helpfull.
I'll post something when i'll have more details.
Auto reset node.
Here the thing,
I'm using domoticz(on raspberry) +serialgateway+nrf24L01 plus one node.
My node is a 4 relays node used for watering my garden.
My node and the gateway are separated for 1m
In fact, the node is outside, but there were a hole in the wall so i brought back the rfn24L01 attached to my node inside. Gateway and node works fine together.
My problem is : something like twice a week Gateway stop reaching the node and the problem persist until a do a reset on the node!
(a reset on my raspberry and gateway, don't solve anything)
When i'm home, it's not a big deal but if i'm in holiday for 4 week, my garden will not be watered.
I'm thinking about setting up a watchdog on the node.
but i don't know nature of the problem:
if NRF24L01+ module has crashed or if Arduino nano is crashed, it's different;
I would like to setup something like this:
I setup a watchdog on the node.
The gateway send a specific serial command each minutes to the node, and the node use this command to reset watchdog timer.
is there a way of doing this ?
I probably could build a .c program on my raspberry to send a command to the node but i would like to do this from the gateway.
define weather scenario
i've successfully setup a solution for watering my garden.
Arduino+domoticz as controller and gateway.
Arduino+nrf24 to control relays and watering my garden at different places.
So, every evening , my vegetable garden is watered from 7:00pm to 7:30pm (planned with domoticz)
But now, i want to change the behavior of my installation:
I don't want to water my garden when if has rained.
I registered an API to get weather (with Accuweather),
It works fine and i do have access to new devices : wind, rain, etc...
But i don't know how to implement this devices to cancel watering in case of rain.
I even don't know if it's possible...
Anyway, I don't want to waste money or water and need help for this.
RE: Using loop function with MySensors-master/examples/ (2.2)
it works perfectly, you were so right from the beginning.
I took a wrong way because of the compilation success without loop() and setup() function in my sketch.
Anyway, my project works fine and thank you again.