As an ML/DL engineer, my first reaction to this thread has been “why not brainstorm a number of potential use cases?”. So, some possibilities (with those already mentioned labeled as Existing);
-
(Existing) Have an AI monitor periodic actions, and then suggest an automation to fit a recognized pattern. Bonus: Have the AI prepare the automation, and present for concurrence/correction.
-
(Existing) Have an AI analyze the solar forecast and recommend scheduled allocation of dispatchable loads (e.g., dishwasher, laundry, ev charging, etc).
-
(Extension of 2.) Seek the lowest overall carbon emissions by training an ML to predict the low CO2 emissions times in one’s area by training on past CO2 Signal hourly data, then combining with solar PV generation (if present) to recommend scheduled allocation of dispatchable loads, and adjustment to one’s thermostat setting (e.g., if very high CO2 emissions between 3-5pm on a hot day, then raise thermostat set point by 2 degrees F). Another example might be instead of charging one’s EV at 1-4 PM during a very high CO2 emissions level, allow the net solar generation to offset the high emissions, and charge overnight during a very low emissions time. There could also be another version of the model to analyze the aforesaid with high tariff time-of-use and/or real time pricing to include cost as a consideration.
-
When no resident is present, trigger a sequence of actions to turn on and off lights in a manner representative of the typical usage pattern by day of week, month, sunrise/sunset, etc, (perhaps with some randomization).
-
Have an AI learn when and by how much a dimmer is typically lowered per a particular pattern (e.g., dinner in the dining room around 7pm, etc)
-
Notify when a sensor-monitored window is open when a cool/cold front is moving in. Could even learn the Thermal Time Constant of the home and ask if there is an non-sensored window open if the temperature in the house or room drops more rapidly than expected when a cool/cold front moves in.
-
An NLP could be trained to recognized an innocuous but specially coded sequence of words to alert law enforcement or set off an outdoor siren if a thug or armed robber broke into one’s house and was holding you at bay.
-
Because both solar forecasting services available in HA are so inaccurate, could create an ML model framework so that anyone could train a model with one’s own local weather forecast data and solar output results. I’m seriously considering this, and have undertaken similar efforts with fairly good success. My only concern is the cloud data may not be precise enough to do better than ForecastSolar and SolCast.
I’m delighted there is an JupyterLab integration, though I have not tried it out yet in the HA context. I’m running HA on an RPi 4, so any training/validation/testing on that would have to be in low CPU priority mode, and likely take many days if not weeks. A better option may be to collect the data on HA, then transfer it to one’s home computer, or whatever ML/DL environment they have (with Kaggle as one free option).
Two very important interrelated areas in AI are interpretability and explainability (with the terms often used interchangeably). Predictions, classifications, recommendations, etc often leave the user puzzled about how the AI arrived at such an answer. There are a large number of open source tools and methods available, indeed so many that a number of attempts at taxonomies have been undertaken, with this one a kind of Rosetta Stone.