I Asked An AI Smart Home Questions
ฝัง
- เผยแพร่เมื่อ 20 ส.ค. 2024
- Everyone has been talking about OpenAI's ChatGPT this week which got me thinking - what does an AI think about the smart home, what does it see as the future of the smart home and could it even write some automations for me?!
Try it for yourself:
chat.openai.co...
If you'd like to support me and future projects:
Patreon:
/ everythingsma. .
Buy Me a Coffee:
www.buymeacoff....
Written Article:
everythingsmar...
EVERYWHERE YOU CAN FIND ME:
Everything Smart Home Community Discord:
discord.everyt......
Twitter: / everysmarthome (@EverySmartHome)
Instagram: / everythings. .
Facebook: / everythingsm. .
#homeassistant #smarthome
________________________
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!
If I suddenly disappear, now you know why 👀
#blameAI
😂
well, if you suddenly disappear, i guess your channel will disappear too.
@@mrxmry3264 No the AI will create a virtual version of him creating new pro AI smart home content.
You should clone yourself with a digital twin, then use conversational AI to write your show, and combine the two as an EverythingSmartHome deep fake.
The home we bought a couple years ago didn’t have any smoke detectors in it and it had been recently renovated. When I pointed out the lack of smoke detectors they commented they didn’t want to be woken up in the middle of the night by one going off… 😐 Yeah, rewiring the house for smoke detectors was my first project.
> When I pointed out the lack of smoke detectors they commented they didn’t want to be woken up in the middle of the night by one going off…
wut
Great video! I think it would be great for the Home Assistant developers to work on incorporating AI into HA. There are loads of potential uses, but just the most common standard automations such as motion lights, etc. would really help new and existing users advance in their setups without the legwork.
Thanks - agreed!
Best first step would be to have a Ai on a website that would help people with the automation.
And that you could upload your automation to get help when it's not working as you wanted it to or get help on to make it more efficient.
@@magnussvensson5153 I think a built in automation wizard like you suggested would be a great addition, but I don't think that AI would be required to understand that, for example: a room's motion sensor should control that same room's lights. I think the real advantage to incorporating AI could be learning how the home is lived in over time, and suggest modifications/additional automations based on the occupants' behaviours.
@@nimmyd I agree with you besides having an Ai at home learning how we live.
That's a bit to over kill on that.
I love all the work on Ai, as long it's not living in my apartment lol
But it would be awesome to have an Ai that have all the automation documentation and all the examples that would act as an interactive wizard guide to set up the automations in the beginning.
I don't use any blueprints and try to my best effort to get the automation working thru the gui or yaml.
It took me some time to figure out how trigger by Id works, but now I try to incorporate that at much at possible.
@@magnussvensson5153 Perhaps having AI as a virtual family member might be a step too far 😀 but using it for automation assistance like you suggest is a no-brainer. Regardless of AI, I think that the vast majority of users are all creating the same/similar types of automations with the hardware they integrate. HA could be improved to suggest these standard automations based on the devices found (and updated whenever a new device is added) where it suggests automations.
I think pairing these two elements would really elevate the platform.
I've been playing with ChatGPT all day, having it make Jinja2 template sensors for me for Home Assistant. Pretty wild, worked pretty well, and now I don't have to spam the Home Assistant Discord server so much.
The scavenger hunt hosted by Home Assistant would be awesome
Agreed, we should do a giant game of it!
me, i think a smart home should not be completely disconnected from the internet. but i would limit internet use to 2 areas:
- information source, like weather.
- data carrier between remote devices (like my phone) and home base. encrypted, of course.
what i would NOT do is send my info to some server to be processed there and sent back. i wouldn't even think about using services like IFTTT or anything similar. and if one device i buy forces me to connect to the cloud, i'll send that device back. no cameras that upload my footage, no toaster that needs to be connected to a server in the cloud. what good is a door lock that doesn't let me into my own house because my internet is down?
most cloud devices might still work offline, its the extra "fancy" features deemed unnecessary that might require their servers.
for example you dont need servers for a camera to work but if you want face detection that distinguishes between different faces then you'd need a bit of processing power to do it
I've tried every language I can think of and ChatGPT has delivered on all of them. Even asked it to write Amstrad CPC assembly code to change the screen colour and draw some lines and it did it! I then asked for the basic language version and it converted it!
Woah that's insane!
Really nice video Lewis. Something different. I totally missed the hype 😮. This is very cool. It helped me today to prepare a presentation. 👍🏻
The video suggestions on the end screen are covering up that last part lol
After having the AI successfully combine two home assistant automations into one, using " choose", here is my response and its reply:
Me: You are very helpful with my home assistant automation code. What else should I do to improve.
AI: Thank you for your kind words! There are many different ways to improve a home assistant setup, and it will depend on your specific needs and goals. Here are a few suggestions:
Make sure your automations are well-organized and easy to understand by giving them descriptive aliases and using comments to explain what each part of the automation does.
Test your automations thoroughly to ensure they are working as intended and to identify and fix any issues.
Use the logbook component to keep track of events and changes in your home assistant setup, which can help you diagnose problems and monitor your system's behavior.
Consider using the input_boolean component to create switch-like entities that you can use in your automations to enable or disable certain actions. This can make your automations more flexible and customizable.
Use the input_select component to create dropdown-like entities that you can use to select from a fixed set of options. This can be useful for automations that need to behave differently based on a user-selected option.
Use the group component to organize your entities into logical groups, which can make it easier to manage and control multiple entities at once.
Use the template component to create dynamic automations that can use the state of other entities or the current time to determine their behavior. This can make your automations more powerful and flexible.
Overall, the key to improving your home assistant setup is to experiment, learn from your experiences, and continually strive to make your automations more useful and efficient.
I am guessing the murder weapon would be Dairy Liquids!
😂 highly likely!
Funny that the bot mentioned internet-connected devices. Smart homes can be non-internet connected as well. Definitely interesting that it could distinquish between Connected and Smart home
You should have leaned more into the conversational side of it. When it gives you the pros and cons list just ask a follow up question "If you had to pick just one, which would you choose" or something like that. This thing is made to be conversational.
I did, many times, it would keep repeating the same thing and wouldn't choose.
I did some others off screen however and got different answers the first time I asked though so seems to give different results from time to time.
@@EverythingSmartHome hm, Fair enough. It worked a lot better for me when I was trying 🤔
All that's needed now is to convert this to a speech interface, Alexa style - and put it inside a walking robot. Then ladies and gentlemen, we have.. the T-100 lol.
Can you make an integration with AI to have a real meaningful assistant that interprets real communication. For example.
Friend comes over and knows I have a smart home.
Friend: computer turn on lights.
Computer:of course, which lights would you like turned on?
Friend:living room ones.
Computer: sure thing
Friend:oh hey it’s hot in here, can you turn the fan on also?
Computer:I’m assuming you meaning the living room fan?
Friend:yea
Computers command to home assistant
-Turn living room light on
-turn living room fan on
Computer:I turned the living room light and fan on for you.
It’d be a way to have real conversations with my house just like a human being. Not sure if this is possible but I’m trying to work on it right now. I’m not very good at this stuff at all though so not entirely sure I can make it work.
Nice knowing you, Lewis! I knew this day would come.
RIP me
Now we need an add-on to integrate this with HA and have it respond to voice commands. Speech-to-text ... send to ChatGPT ... get the answer then use text-to-speech. The speech-to-text could differentiate between a "conversation" and an action. Turn on the light, goes to HA directly, while an actual chat goes to ChatGPT ...
That should be amazing!
Pro tip: We can't actually see the last few secs of video on desktop because of all the TH-cam overlays. Try extended the content if the last frames are important.
Lewis - A rich voice interface would be another example of something that could be limited without a cloud-based implementation. But that's one of the few examples I can see - at least for now. I guess that could change ....
let say we made voice to text to create Jarvis like AI, how can we differentiate control commands and chatbot questions?
This is very cool. I still have issues writing specific codes for certain conditions. I've found to create more simple automations that overlap to get things to work, which still has problems. "Overlap" may be the wrong word
Definitely not perfect yet but I was surprised it could do HA automations at all, super cool!
blown away, by what I've just seen. incredible
It's amazing! I'm so surprised at how good it is also for a public release
I'm not surprised that it doesn't know much about Matter yet, as they say the knowledge of its model is limited for recent events and developments after 2021.
But funny enough: I also played around with OpenGPT last night and while doing that, I also tried some simple Home Assistant code snippets and was similarly impressed. Right know I'm at the beginning of my Home Assistant journey (and your channel helps very much with that, so please don't assume you will become obsolete shortly!), and maybe I will get some ideas how to achieve different things in Home Assistant by trying to get the AI throw some examples at me. I think, this is really ONE great source of inspiration, but certainly not the ONLY source I'd like to use!
Do you mean ChatGPT? Or is there another GPT based text generator which is open-sourced?
Add this IA to home assistant will be a game changer for automations
Yeah would be really cool!
Very cool Lewis! Do you think it could write node red flows? In node red you can export flows into a very long and complex rather incomprehensible text that someone else can then copy and import. So maybe it could generate that type of text.
What also makes node red an interesting challenge for chatgpt is that node red is not 'one language' depending on which node you use it can be a different language.
it can do node red! i just try asking it.
@@RJGamer-zb4lb nice!! Quite surprising that it can do that
This is amazing.. it provided YAML supporting ESPHome, totally🧠🤯
You got it warmed up before the rap request. The first replys were just rewritten Wikipedia articles IMO. Interesting that AI said that local smart home is simpler than cloud based, it's the other way around as I see it. It also, as I'm sure many already seen and commented on, didn't mention privacy concerns with cloud based smart home. That's not surprising tho since AI rely very much on cloud processing 😁
Cool stuff. Thanks for sharing.
I'm thinking about nodered, tensor flow js (now that I could grab a coral) moving it with this to build useful containers, any ideas? I was thinking about face recognition and gesture recognition, also sound recognition (like clapping turning lights on), still trying to figure it out how to ask, but I think this will get us there
This is actually really awesome.
This is honestly remarkable.
Thkx for sharing
Thanks for watching!
A really clever video. Loved it.
Thanks David!
That's all pretty amazing. Fun stuff.
What a fun video! This is really interesting, thanks Lewis!
Thanks Jamie, glad you enjoyed it! Something a bit different!
It’s official, my mind is blown. First project using this new AI tool will be to integrate MS Calendar with the new HA Calendar addon. Stay tuned…
Pretty cool tech. Which model did you use for the examples?
Just the default one - I don't know much about the different models
Very interesting!
Thanks!
Link in the discription to this would be nice...?
Oops sorry, added!
@@EverythingSmartHome thanks
I’ve been playing around with this and it really is very good. If only google would implement it!
I'm sure they will have their own version at some point!
@@EverythingSmartHome it’s very good - I’ve asked some pretty conceptual questions and the responses have been good.
Hahaha, funny video ending. Was it actually the answer?
Maybe...or maybe this is the AI speaking right now...
Anybody asked this Jeopardy question yet:
"what is the 42 the answer to?"
The editing in this video isn’t up to the usual high standards we’ve become accustomed too…just saying
😂😂 not that you are biased or anything...
Lewis what a cool video!
Thanks Joseph, I had a lot of fun! Something a little bit different to the usual!
Sounded like a hype video, but I am truly impressed by what is can do. Very enlightening video. Thanks, Lewis!
Thanks!
It would have been better if you had checked whether the code answer was just a lucky coincidence of someone asking the same question in a forum and the AI copying the answer.
The sun one was pretty random and doesn't really make sense for someone to have made an automation like that
@@EverythingSmartHome I have lighting based automations and I assume most other people with a light sensor have them, too. To extract the 10% as a variable is within what I expect an AI to do.
The sun one was the last automation, that's the one I was talking about
@@EverythingSmartHome I was talking about 6:14
I know but you said it would have been better to check code that someone might not have asked in a public forum, I was saying that the one I asked later was quite random.and unlikely to have been asked before 😅
I've done a few others off camera and it does really quite well
6:00 WTF!? Wow... ... ... Damn
Insane huh?!
That is freakin scary.....
First time I see it 😂
🙏
A fantastic glimpse of the AI availability at the present moment. I can imagine that in the not too distant future, we will be able to have an interface using a bodily chip implant, in much the same manner as Elon Musk is in the process to have user implants available to interface with AI robots.
Sounds scary 😂
Holly Crap Batman, unreal.
Super cool huh!
OMG
AI.... Read Machine Learning & Data science
Marketing buzzwords to make things seem more technically impressive
Have you tried it ? It's actually really impressive.
Call 112