Selecting the tile, template:Attribute, and the attribute can be "Today,Yesterday, or X Days Ago"
1 device can display all the history tiles, just create more tiles and then link using the display Tile.
Updated to 1.0.1 to fix a rounding error. I couldn't deal with only having 23:59 minutes in a day...
Updated to 1.0.3 to fix a typo...
Updated to 2.0.0 adding Dashboard support
Updated to 2.0.1 adding Hubitat Package support and removing a bug.
Updated to 2.1.0 adding per thermostat state selectability (Thanks Bobbles! Great Idea!)
Updated to 2.2 adding daily events totalling each states time in state for people who want to throw the data into graphs
nope, you need to do 1 App per thermostat. I didn't really consider multiple thermostats. I could parent-child it or you can install multiple instances. Since I only have 1 active thermostat, I wouldn't want it parent-child, but if I get enough complaints, it wouldn't be too hard to do.
It wouldn't let me import the code twice, but for the second t-stat I did a copy/paste, and renamed the app, and that worked fine. The lines I changed were 15 and 18, but that was just a wild guess on my part.
As long as this is a valid workaround, I don't see any reason to change it.
Last question: is there a way to put the results on the dashboard?
Is this working for others?
For me the properties page for the tile device does have data, but the dashboard tile keeps saying to select an attribute (I have done so, eg, "Today").
@napalmcsr I used to get a monthly email from Honeywell that showed the accumulated monthly heating and cooling times. I thought I could just edit out a bunch of your code to get something similar. I keep commenting bits out hoping to get what I want but every morning I have a fresh listing. I just have the barest understanding of groovy coding. Could you please give me a hint on what I need to remove. Thanks.
will reset once a month
So each day of data will become a month of data. I'm not a cron person, but once you make the change and go in and save the app you can check settings and it will have a scheduled event saying when the time handler will run
Hi @napalmcsr
I'm using your great app to track the my heating and hot water.
All I need to use for my system is
IDLE
HEATING
The other options are not used by my system.
Would it be at all possible to make all the options available selectable?
This way I will only get displayed the 'modes' that I want.
Fully understand if this is not possible.
I have gone into your code commented out the lines that I do not require but just thought it would be nice if this could be done as an option.
Thanks again.