It would be a feature that used Artificial Intelligence / Machine Learning to suggest automations. For example it might say “hey we noticed that every day at 9:00 AM you ring your Tile Item Finder… would you like to set up an automation?” It could also do more complex stuff for example: “we noticed that whenever there’s motion downstairs on a Tuesday, Wednesday or Thursday, when it’s cloudy you turn on the pantry lights… would you like to set up an automation?”
It would be basically like the Nest Learning Thermostat but for the entire home.
But it would probably be a project where i’d need other devs on board though
A few devs I spoke to said they were interested, but the more the merrier.
How could this be done? Well you would just need to feed the Algorithm (I’m thinking a simple SVM or even Decision Tree) the data and it would make the predictions based off that.
Where would we get the data? Well fortunately Home Assistant already logs all of this.
This could be used as Training Data.
This would obviously have to be done securely given Home Assisant Users preference for privacy. An algorithm like this can be done locally. Now you’re saying “yea okay… many HA users run the server on a Raspberry Pi and similiar devices… you can’t AI on those little devices.” And 10 months ago, you may have been right. But recently Google released Tensorflow Lite, which is specifically designed for microcontrollers. A raspberry Pi would be significantly overpowered for what TFL needs.
Tensorflow Lite is designed for microcontrollers. It runs beautifully on a RPi.
As @dgomes suggested, we may be able to use the Persistent Notification System to suggest automations. Or it could just be in it’s add on and the user could check every so often.
And of course it would have to ask permission before adding an automation and not be able to do anything on it’s own. I don’t know about you but I certainly don’t want some “Alexa, Open the pod bay door!” situation. Lol, all jokes aside… I don’t want Tensorflow deciding when it wants to open or close my freakin August Smart Locks. So it would need to suggest automations.
Anyway, I’d love to hear your thoughts