This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Reset energy consumption monitoring through Homey (e.g. in a flow)
Jeroenvano
Member
A lot of devices support energy consumption monitoring. Is it possible (don't believe it is today) to let Homey reset/erase the consumption memory of a device in a flow? e.g. at 00:00 hrs every 1 day of the month/year?
If I look into the Fibaro dimmer 2 manual for example option b states it can be done by some controllers:
Resetting consumption memory:
If I look into the Fibaro dimmer 2 manual for example option b states it can be done by some controllers:
Resetting consumption memory:
Dimmer 2 allows to erase stored consumption data in three ways:
a) By resetting the device (see „Operating the device” on page 12).
b) Using functionality of a Z-Wave controller (see the controller’s manual).
c) Manually clearing the data using the following procedure:
1. Make sure that the device is connected to the power supply
2. Press and hold the B-button for a few seconds, until LED indicator glows GREEN
3. Release the B-button.
4. Press the B-button briefly
5. Energy consumption memory has been erased
Comments
It should be possible to create such an action card to reset the device through the COMMAND_CLASS_METER - METER_RESET command.
The disadvantage to an action card, I do see and have been thinking about, will be that you always need to keep you flow updated with added or removed devices. It might be possible to create a reset for all (equal) devices command / action card or option within settings.
I will have a look into it this weekend / next week.
Before:
After:
#testing on the Neo app...
BTW is the "current" meter new, or is this a Neo app specific feature?
Not all devices provide these meter reports... Just learned that the Aeotec Smart Dimmer-6 is also able to provide these meter reports. Fibaro's don't.
I'm currently updating the Aeotec app and Smart dimmer to also incorporate the current and voltage:
I'll add it to the TP Link app (it turns out there's a call for it: {"emeter":{"erase_emeter_stat":null}} ).