Rain gauge DIY
Posted: Saturday 08 May 2021 16:00
Hi,
I need some help for finish my rain gauge DIY.
I don't understant why my firts value or not write in my rain counter.
I use an esp01 with reed switch. He sent sent to domoticz a value 1 (Counter Incremental IDX=638 ) after each bucket move.
I have write a Python script in my serveur. Each 6 min the script read de (Counter Incremental IDX=638 ) and sent to domoticz value by hour and rain for the day ( IDX=419). I know Python isn't the better langage for domoticz, I don't know other language.
I use users variable for stock rain by day. A blockly sript reset to 0 at midnith.
I attache some capture.
thanks
I need some help for finish my rain gauge DIY.
I don't understant why my firts value or not write in my rain counter.
I use an esp01 with reed switch. He sent sent to domoticz a value 1 (Counter Incremental IDX=638 ) after each bucket move.
I have write a Python script in my serveur. Each 6 min the script read de (Counter Incremental IDX=638 ) and sent to domoticz value by hour and rain for the day ( IDX=419). I know Python isn't the better langage for domoticz, I don't know other language.
I use users variable for stock rain by day. A blockly sript reset to 0 at midnith.
I attache some capture.
thanks