Delay Sleep Mode for serial comm
Posted: 17 Nov 2016, 13:42
Dear Members,
i have managed to use the serial server along with a simple IR interface connected to the ESP
in order to read out my Landis & Gyr ZMD120 Electricy Meter. The command transmission and data
reception is handled by a Node Red Flow running on a Raspberry and everything works well so far.
Next, i'd like to integrate the ESP and optical R/W head in a small housing, battery powered and
like to read the power consumption every 30 minutes or so.
Since the meter readout itself takes about 15 seconds, my question now is:
- when the sleep mode is enabled, is there a possibility to set a timer in order to keep it
in wake state for 15 seconds (or until a special MQTT message arrives when readout done),
not that it goes to standby amidst the transmission. Perhaps by a rule?
- is there eventually a possibility to sent/receive data on the serial interface (and process)
in espeasy itself?
Many thanks!
_____
Besides, i'd like to congratualate all the devlopers of Easyesp. It's a fantastic
piece of SW and i like it better every day.
i have managed to use the serial server along with a simple IR interface connected to the ESP
in order to read out my Landis & Gyr ZMD120 Electricy Meter. The command transmission and data
reception is handled by a Node Red Flow running on a Raspberry and everything works well so far.
Next, i'd like to integrate the ESP and optical R/W head in a small housing, battery powered and
like to read the power consumption every 30 minutes or so.
Since the meter readout itself takes about 15 seconds, my question now is:
- when the sleep mode is enabled, is there a possibility to set a timer in order to keep it
in wake state for 15 seconds (or until a special MQTT message arrives when readout done),
not that it goes to standby amidst the transmission. Perhaps by a rule?
- is there eventually a possibility to sent/receive data on the serial interface (and process)
in espeasy itself?
Many thanks!
_____
Besides, i'd like to congratualate all the devlopers of Easyesp. It's a fantastic
piece of SW and i like it better every day.