Hello! I'm wondering if there is already something out there that will do what I would like to do. If not, any ideas on how to capture and record the following?
I would like to be able to track when my Ecobee changes to "COOLING". With that, I'd like to also know the time it changed to "COOLING", The date it changed to "COOLING", The Temperature of "DEVICE 1", The temperature of "DEVICE 2", The time it changed back to "IDLE".
I would expect you can capture that using a Rule Machine rule. Recording of the results... I'll leave that to others, but I expect is is possible, if not using a pre-defined driver, then something else that can record what you need.
I guess that is where I'm hung up. Getting the information can come from the devices themselves. Storing it for later is the challenge. I did see today that the Ecobee reports are nicer than previously, but that won't include my other devices...
haven't played with it much myself, but you could likely use a hub variable or something similar... appending the values as you need to... Ata pinch you could use my generic attribute driver, but that is essentially superseded by the hub variable or the more recent equivalent.
Create local variables in rule machine, then append to a local file (the action) when state changes (the trigger).
edit: Oh, other devices too. I guess hub variable would be involved then.
If you have a home assistant instance available I find it’s ideal for logging and visualizing historical data and passing data back and forth with Hubitat.
Yeah... I did something similar in SharpTools. It gives me the current and last 4 temperature values in a chicken coop. I stopped at four because it was a bit time consuming.
Don't think I've covered this exact scenario, but the ask isn't too difficult and, as noted above, could be done with RM or one of the other automation tools. You may want to consider using a File Manager file to store the log so that you can use it to do historical analysis at a later date if desired.
Logic flow for an app or automation:
Select Thermostat and all external sensors
Subscribe to Thermostat Operating Mode
When Operating Mode changes
capture Operating Mode, and temperatures from all sensors (including the thermostat)
Write captured data to text file including date/time stamp (if you use a CSV format you could open the file in Excel or Google Sheets and do the analysis/graphing/reporting there)
2, 10, 50... same logic flow loop to read sensor values just runs longer. Could use a variable, but variables have a limited number of characters which is why I prefer a text file if I'm storing more than a couple entries.
That looks VERY impressive. I wish I knew what I was looking at. LOL. @velvetfoot is correct, One device is temperature Outside, the other is temperature in another room. I'll study what @thebearmay posted and maybe I can figure out how to use it. The historical values are really nice to have. I appreciate the help!!
@thebearmay Since I use ChatGPT, your idea was awesome! I asked it to create the app and show me step by step how to install and use it. I now have a report being sent to my Pushover once a day, and a button press will generate that report on demand,
Cooling Cycle Report
Cooling started at 9:00 PM
Cooling stopped at 9:12 PM
Inside temperature was 74°
Outside temperature was 82°
AI can be very useful, and for situations where you want a custom result may fill the gap perfectly. Still haven't figured out which one(s) I like the best, used Gemini this time simply because it was a button click in the browser interface (Chrome).
Glad to see you were able to get the result you needed.
You might want to check out Advanced Climate Controller. It will log your cooling cycles, prolong them if your short cycling, and only notify you if you have an issue.