I wish to send HVAC performance data to ChatGPT and have it compute efficiency as well as spot trends and problems.
I can do this manually by selecting the thermostat and vent temp sensor to display:
I can then click the three dots in the upper right corner, download this data and then paste into ChatGPT full client with the appropriate prompt and I get the expected response.
Now, how do I automate this in HA? I can’t seem to find a way to automate moving the appropriate history into the “OpenAI:Generate Content” prompt.
Separately, I’d also like to feed the entire Home Assistant Log into similar analysis to produce a list of devices which might have failing batteries that should be replaced.
I hope you can see where I’m going here.
My efforts so far have run up against complexity (adding sensors that I don’t think I need) and limits in the amount of log files that can be passed into the prompt.
Any help would be appreciated.
…Mike
