Energy Counter based on GPIO Output?
Posted: 18 Jun 2021, 16:04
Hi
I´m operating a fridge based on ESPEasy with it´s level controler. The status of the 2-point controler is transfered by Mqtt and the energy consumption is calculated in the home automation system (iobroker). During some months of stable operation and my steady intention to check if sth. can be improved I do not like the missing energy information when the MQTT information gets lost. Therefore I think it might be better to calculate the energy consumption directly in espeasy and send this valvues by MQTT. In case the connection is disturbed this might have no big impact because the right values are transfered suddenly when the connection is up again.
But in case the energy is calculated in ESPeasy can the calculation result be stored also in case espeasy is rebooted?
The calculation itself is easy because the fridge always consumes 95W when it is switch on.
Try to find sth similar but haven´t found so far. Do you have hint if there is sth to reuse for me?
Big Thx!
I´m operating a fridge based on ESPEasy with it´s level controler. The status of the 2-point controler is transfered by Mqtt and the energy consumption is calculated in the home automation system (iobroker). During some months of stable operation and my steady intention to check if sth. can be improved I do not like the missing energy information when the MQTT information gets lost. Therefore I think it might be better to calculate the energy consumption directly in espeasy and send this valvues by MQTT. In case the connection is disturbed this might have no big impact because the right values are transfered suddenly when the connection is up again.
But in case the energy is calculated in ESPeasy can the calculation result be stored also in case espeasy is rebooted?
The calculation itself is easy because the fridge always consumes 95W when it is switch on.
Try to find sth similar but haven´t found so far. Do you have hint if there is sth to reuse for me?
Big Thx!