About This File
Consumption monitoring™ v3.0.4
CHANGES
2018-02-18 Added support for send push every hour. Added more emoijs to VD
2017-04-04 Corrected day, line 115
2017-04-13 Corrected selfRun function. Added 2 more labels with info. Added emoijs.
Monitor your energy consumption and if wanted it will send a daily push and month report with consumed energy
- Supports AEON Labs energy meter (and more...?)
- Supports Autofrank's Smart Message Hub
-
Create an empty vd(virtual device) with 7 labels. ID of the label should be Label1 to Label5. Name you can set what you want.
Update - 2017-04-13 - To show the new info in VD then add 2 more labels. Label1 to Label7 - Create an empty LUA scene and copy the LUA code into that scene.
- Change line 22 to your AEON LABS HEM id local energyMeterID = 319
- Change line 26 to your vd id that you just created local vdID = 464
- Change line 30 to false (local selfRun = true) if you want to run the scene from other scene like @Sankotronic Time Based Events Control
- Supports @AutoFrank SmartMessageHub, set line 38 to false if you want to use standard push (local SMsgH = true)
- set id of the SMsgH scene at line 40 local SMsgHid = 262 Does also support @AutoFrank HomeTable setup
- if you set local SMsgH = false remember to fill in id of the smartphones you want to have the push local pushUsersHC2 = {"449"} Separated with comma
- change line 59 to false if you don't want to have an daily report pushed. local sendPushDaily = true
- change line 62 to false if you don't want to have an monthly report pushed local sendPushMonthly = true
- change line 64 to wanted time you want to have the report to be sent local sendPushTime = "06:30"
EXTRA INFO
- Can support more then just AEON HEM but that depends if Fibaro have the power info from the device. You can check that if you run this in your browser http://HC2_IP/api/energy/now-86400/now/single/devices/power/ID_OF_DEVICE. Result should be like the below picture
- So for example if you just want to have info about the dishwasher, fridge, washing machine etc it should be supported.