Hallo @Cao_Hoa and thank you for taking time to my reasoning!
Yes, exactly, the algorithmic tree decision is the best choice and I was just doing some experiments in these days.
But I have to be very careful not to fall in the probability “hole”, it is not my intention to turn on a switch just because there are many chances that in that condition you can turn it on.
Believe me, it’s very easy to fall into it!
Surely, as already said, the algorithmic tree is the best choice but I would also like to introduce some kind of reasoning so that it knows the possible consequences of its actions and knows how to correct them with or without the help of the user.
In any case, I think it’s easier to start with using “DecisionTreeClassifier” also provided by SciKit - I see it as more practical and easier to understand.
What do you think?
I’ll be updating my GitHub space soon, maybe if you know Python you can help me out too!
I am very happy to talk with you.
i also want to include machine learning in homeassistant
home-assistant_v2.db which contains all the data and time and etc… of the homeassistant
i am running this to see what automation is running
and I’m writing quite a few packages
I’ve been wondering the same idea for quite a while, but apart from being from North Italy too, i’m not any closer to a solution than you are. (Haven’t started yet, in fact, and work+family management won’t get any better soon, so not sure about the time i can invest in helping you but pretty sure i won’t get anywhere alone)
Here’s my problem:
Got a VMC machine in a big house. What’s bugging me is the inefficiency of the system (3 speeds on central fans, no IOT, no air quality sampling, no single room control) and what’s worst outside air quality sucks big time and even at minimum speed it even drags too much humidity from the air.
My point would be to get rid of thoose coaxial noisy fans, using single fans for room intakes based on air quality and, above all, limit the exchange with outside based on delta temperature, delta humidity, and pollution level.
Can I achive that just programming conditions. Obviously yes. Will it be any fun ? Well no, and the problem seeme to be perfecly matching a ML+AI application. Am I right ?
Hi Carlo!
Well, it’s a pleasure to meet you, maybe if you want we can have a chat in private (in Italian of course!).
I read your message, even if I don’t know what a VMC machine is but I can imagine.
I also understood your situation which is really very interesting and very practical.
Let’s say that, properly configured, even the simple HASS can give you satisfaction in this sense, of course you have to take into account many factors and conditions.
It could certainly be an excellent application for the dream I have in mind, that based on its own experience and reasoning would choose the best action to perform depending on the situation.
I recently published the description of my dream on my Github, I still have to finish writing it but what I will do soon.
If you want you can follow my project directly there.
I’m waiting for your private contact, if you like!
hi dadaloop82 i saw you uploaded to github
and I have git on your instructions
I do not receive the file Open this configuration file and modify it according to the instructions in the file
I ask you to use the github repository next time for any communication about the project. Here we try to keep only the information at a general level, eventually I will write the achievements.
Anyway the project is still in development, currently I have to look for the way to identify the cause->effect condition but I think I’m close to it.
It is currently NOT working, but I’m glad you are keeping up with the developments.
I will update the project readme for any news!
Thanks!
I am actually working on a very similar idea but instead to create this as an add-on for easier use. Would be interesting to perhaps sync on this and see how we can help each other!
I’m really happy that you too have tried your hand at this arduous undertaking !
Is it possible to view your project in a Github ?
I started recently and for now I’m still at data collection and data normalization, that is what comes from the sensors.
The last thing I have done is the optimization of saving numerical data, which are grouped in a smart way by distinguishing them by importance and frequency.
You can see my work on my github (see signature)
I’m on my own and getting by in the (little) spare time and I would be honored to have your help, suggestion or share experiences with you.
I’ll be waiting for you, to continue our discussion, directly on the project github!
See you soon!
Daniel
I’d like to sync too I am data scientist with a background in computer vision. For my next project I need to get into time-series ML. Will be happy to help
I have read and carefully examined your repository and it was really very interesting, I can see that you have a great experience in ML !
Since we have the same goal I would like to talk to you privately to see if we can collaborate together and if I can use some of your code, even if it is already explicitly stated.
Or join forces, ideas and projects.
You can contact me on Discord dadaloop82#3319 or wherever you prefer.
Hope to hear from you soon
Daniel
Have added you on discord!
Would be awesome to collaborate in some way on this. Having someone to validate potential features or new models would make this much easier
Another aspect is potentially we could start sharing data → or one better setup a centralised db on cloud where all HA users to dump their events on easily. I have a theory that a centralised model on human behaviour in general could help better predict individual behaviour.
Using AI in Home Assistant is interesting, but I don’t really understand what “Sillyhome” currently does.
For me, an initial AI in Home Assistant would be something that “observes and suggests”, essentially looking at what you are doing and trying to help you improve your routines and automations.
Another (simple?) AI helper would be a “syntax checker” since yaml appears to be very demanding when it comes to the exact indentation and placement of brackets and so on.
Just my unqualified opinion though. I am always dreaming about something that gives people without coding or scripting skills the ability to create complex automations…
Hi Daniel,
you are still to develop something to integrate AI and ML into HA?
I’m not expert in developing but I’m playing with it and at work we heavily begin to develop and use AI.
Maybe we can have a chat and if also Nova with his Silly Home (that is already in advanced status but as I see the project is in pause), I think we can do something interesting.