Added ability to see the last time a device was turned On/Active vs Last reset time. For Temperature, Power, and voltage monitoring added the ability to put a separate Threshold for each device in table as well as decide if you want to track(consider On) Above or Below that number per device.
Latest additions, ver 1.2.2
-Max/Min display for Power, Temperature, and Voltage.
-Added Thermostat Heating/Cooling
-Moved variables to a different table
-Formatting changes
-Logging auto shuts off in an hour
Small issue with the thermostat tracking for Nest. If tracking heating, the offHandler() will still get called when the thermostat goes from "cooling" to "idle", causing some issues with the tracking variables. Likewise, if tracking cooling, the offHandler() will get called when the thermostat goes from "heating" to "idle". The following changes to the thermostatHandler() solve this issue:
It took me a bit of fiddling but thanks for this. I have a hot water recirculation pump and I'm experimenting with various settings to figure out which will require the hot water heater to run the least often with acceptable hot water availability. I have a virtual switch that tracks the on/off cycle of the heater blower fan so now I can get a cumulative total of heater on time over a week. Change settings, compare and repeat. I've tried 24/7 on, schedules and motion sensor triggers. Even though it is intuitively wrong my guess is that 24/7 is the most efficient since the water cooling down in the supply and recirc pipes doesn't force the heater to run as long to bring it back up to temp when it runs.
@amithalp Code line 58 is the troublesome part. It was intended to do a refresh when opening the app. I commented it out and re-uploaded on github. You can just do the same in your apps code and try again. Sorry for the trouble.
Life gotten busy and fell off the daily community visits. Missed this gem. This is a great addition to the modified light and usage table. Exactly what I was looking for. Thank you for the added features and maintenance/upgrades.
EDIT:
I do have a question about the data in the table being refreshed. Is there a way to trigger a refresh on the table after a rule ends or a switch turns off? I see I can set it to refresh the table more often then the default 10 minutes.
However I'd just like to refresh it once the power turns off on the checked off device or via RM rule. Is that possible?
The variables get refreshed/updated in the background when a device turns off or that refresh/update timer is met. But the app screen table is static and only refreshes when you load it or hit the refresh button. You want the app screen to refresh itself during a device state change? Not sure that is possible. But would be a nice feature.