No video

How I added JARVIS to Home Assistant powered Smart Home

  Рет қаралды 88,066

SlackerLabs

SlackerLabs

Күн бұрын

Its finally here…my walk through of my audible notification system, and how I built JARVIS using Home Assistant.
Now, you will hear this multiple times, but this isn’t actually JARVIS in the Artificial Intelligence sense, but simply using JARVIS as the inspiration for my audible notifications. This system is heavy on the YAML and Jinja due to the complexity of the decision logic, but below you will find links to my GitHub config where you can copy and paste as you like.
If you have questions on any piece or I wasn’t clear enough let me know in the comments and I will try to clarify. I tried to balance complexity and making this simple and I am sure in that I left somethings out.
Oh, and the pottery used and around in some of the shots was all custom created by my wife over at katkuriosities...
#homeassistant #googlehome #smarthome
Video Chapters:
00:00 - How I built JARVIS using Home Assistant
01:43 - My requirements for this version of JARVIS
05:16 - JARVIS Announcement Samples
08:46 - Setting up SlackerLabs’ Version of JARVIS in Home Assistant
15:07 - High-level look at my production JARVIS scripts
Links to Resources:
Smart Home Collective Podcast: feeds.buzzspro...
TTS How To Video: • Setup the 4 big TTS in...
Build a Simple Room Presence Sensor: • Setup a Basic Room Pre...
My Github Repo: github.com/the...
Notify.yaml: github.com/the...
Amazon Polly Config: github.com/the...
Simple Speech Engine: github.com/the...
My Production speech engine: github.com/the...
JARVIS Voice script: github.com/the...
Alexa voice script: github.com/the...
Nabu Casa Voice script: github.com/the...
Master Bedroom Report Automation: github.com/the...
Wakeup Report script called by automation: github.com/the...
Haiku Day Script: github.com/the...
Status Annc Script: github.com/the...
Lightning Report Example: github.com/the...
Daily Briefing Template: github.com/the...
Who am I?
My Name is Jeff. I am an DIY-er and Automator of boring things. And, of course, a huge Home Assistant fan. Oh, I also live in a house that tweets.
Follow Me:
Github - github.com/the...
Twitter - / thejeffreystone / / slackerlabs
On the Web - slacker-labs.com/
And if you like this video you could always fuel my automation habit -
One Time Donation:
Paypal: www.paypal.com...
Cash App: $slackerlabs
Buy me a coffee: www.buymeacoff...
Buy a Slacker Labs T-shirt: slacker-labs.c...
Or use my Amazon affiliate link which provides a small commission on things you buy without additional cost to you - www.amazon.com...
Video Gear:
Canon m50: amzn.to/3ftldPH
Desk Mic: amzn.to/3wkum40
Camera Mic: amzn.to/3tXk1cp
Newer 660: amzn.to/3fwwejd
Dazzne D50: amzn.to/3oGBK5y
Audio Interface: amzn.to/3u07chK
Gimble: amzn.to/3ouKAoe
Music - Epidemic Sound: www.epidemicso...

Пікірлер: 147
@moe61806
@moe61806 2 жыл бұрын
I have a automation, that looks for my kid's phones. Then I have GE smart switches with motion sensing. Then if one kid enters the other's room, the audio clip from the movie plays. "You are not authorized in this area" Not bad for a quad with ALS, that can only control things with my eyes.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
THAT. IS. AMAZING! This is the kind of automation I love setting up. I'm going to have to steal this.
@moe61806
@moe61806 2 жыл бұрын
@@SlackerLabs I have Plex setup in my home, I use Audacity, to capture audio straight from my sound card.
@SurfSailKayak
@SurfSailKayak 2 жыл бұрын
Thanks for the enormous amount of work you've put into building and sharing your setup.
@enekuda05
@enekuda05 2 жыл бұрын
I've been searching for YEARS now on exactly this. Jarvis was 100% a huge part in trying to get voice assistants to work in home assistant....I searched and searched but never found anything. That is until now! It's been like 2 years but this is the best guide so far I've found lok
@SlackerLabs
@SlackerLabs 2 жыл бұрын
I’m working on an even better version hopefully. Moving derailed my plans. But it’s coming.
@Chris173972
@Chris173972 2 жыл бұрын
"Channel your inner Paul Hibbert" got a chuckle from me. Bravo
@RicardoMaranhaoMD
@RicardoMaranhaoMD 2 жыл бұрын
jeff, you are the home assistant god! thanks a lot for your time and knowlege!
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Thanks! Hope all is well in Brazil!
@andreprandina5834
@andreprandina5834 2 жыл бұрын
You’re not alone. My house work by itself. No buttons have to be pushed. Everything based on human behavior. Takes time, but I like to think we’re really creating a smart house. Congratulations.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yes! That is the vision.
@TrenchantNest
@TrenchantNest Жыл бұрын
Buddy, I have been trying to do this since Iron Man came out. Originally I used Macs throughout my house with speakable items enabled (I used to call it alex.. the irony). Then I got way into smarthings before samsung crippled it. Now I'm a newb at homeassistant and you just inspired the hell out of me. Thanks so much for this.
@KX3DEX
@KX3DEX 2 жыл бұрын
This is exactly what I've been trying to accomplish. I swtiched to HA about a year ago now and I have only done small things here or there. I greatly appreciate the sharing of your config files. I learned A LOT of things about HA just by seeing how you use packages and the variables. Jinja templating to do random responses. I just subscribed for sure to this channel. My wife and daughter love your morning routine and I'll be setting up something similar as well. I loved jarvis in Iron Man. All my network instances are named after Avengers with my HA VMs hostname being jarvis :)
@davidheron1505
@davidheron1505 2 жыл бұрын
Counter measures will be deployed on 90 seconds. I love it. Thanks for the ideas, Jeff. It was a treat.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Ha. I should have put the alarm in the video. It’s loud thanks to an old home theater receiver boosting a chromecast .
@jmr
@jmr 2 жыл бұрын
This appears to be one of the few home automation channels that highlights the programmer mindset of build code for reuse. Others seem to be more "MacGyver" in mindset.
@KX3DEX
@KX3DEX 2 жыл бұрын
I agree with this 100%
@87vortex87
@87vortex87 2 жыл бұрын
I've been looking for years for Jarvis! Thank a million! Gonna have so much fun with this
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Been waiting for this one 😄👌🏻. Great work as always Jeff!
@CrypticConsole
@CrypticConsole 2 жыл бұрын
It is cool.
@vCloudInfo
@vCloudInfo 2 жыл бұрын
Another Home Run Jeff! Nice work. I always get DMs asking about my speech set up and now I can just send over a link to your video. :) The daily briefing really turned it up a level.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Thanks Carlo. Given that I stole the idea for this from your config thanks for being the constant inspiration for cool automations.
@ronderksen
@ronderksen 2 жыл бұрын
This is a great use of home automation and TTS integration. I hope the voices for my native language sound alright, because I definitely want this!
@JasonBailey76
@JasonBailey76 2 жыл бұрын
Jeff, thanks for doing all this work and Sharing it with us. I think I will be adding this to my HA setup as the kids have started to tune out the house prompts as they have become routine. Again Excellent work and I would be interested in seeing more of this content.
@pvollas
@pvollas 2 жыл бұрын
Thank you very much for sharing! Well, now I must really take a look in randomized answers. One more thing to add to my smart-home projects/ideas long list...
@dwhiz35022
@dwhiz35022 2 жыл бұрын
Jeff, as always great content. I am very interested in you doing an even further deep dive. You have inspired me to go further with developing a more robust HA setup. Keep 'em coming!
@makeitworktech
@makeitworktech 2 жыл бұрын
Dude, this stuff is NEXT LEVEL! I need to take the time to make more TTS notifications
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Thanks Aaron! Careful. This way leads to obsession. Haha
@makeitworktech
@makeitworktech 2 жыл бұрын
@@SlackerLabs pretty sure I'm too far gone 😂
@ronaldronald8819
@ronaldronald8819 2 жыл бұрын
That's just great. Putting in a ton of work automating your home for it to tell in you, in a rather commanding tone, what to do.
@RobertAnthonyPitera
@RobertAnthonyPitera 2 жыл бұрын
A lot of value in this vid. I've been with HA since the beginning, yet with videos like this I find there is still room for growth like making my automations more modular. Glad I subbed a week or two ago and I am definitely looking forward to seeing the deep dives; it's smart that you omitted them from this initial vid but I really hope you'll continue this series as old YAML guys like me get real mileage out of seeing your code blocks and having you explain the logic. (BTW, just for your stats I subbed thanks to seeing Twitter reposts from your friends Everything Smart Home and Frenck.)
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Love getting this type of feedback. Thanks! And I will have to send those guys something. haha.
@stang70man
@stang70man 2 жыл бұрын
Thank you so much for the great ideas and the incredible content! I've been on HA for a long time and waiting to reach critical mass with sensors and switches/devices to do some of these advanced automations and notifications! You have really helped me down the path! THANK YOU!
@johncrunk8038
@johncrunk8038 2 жыл бұрын
Great video. My problem with cloud-based TTS is that we sometimes have power outages that last a couple of hours and they occur several times per month in the winter. Although I have a generator to keep things alive, my cable usually dies with any outage. So I guess my solution will have to be a backup "local" system and a normal "cloud" system.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yea. And there is a local only tts option. It just doesn’t sound as good yet.
@jessendelft-1
@jessendelft-1 2 жыл бұрын
This is honestly amazing. I thought I had a pretty good grasp of how Home Assistant works and what I can do with it, but you showed me that my setup is far from complete and that I actually lack a lot of knowledge when it comes to advanced scripting. Your video and speech_engine_simplified script allowed me to quickly get up to speed, and now I find myself programming announcements I never even knew I wanted. Thank you very much! Really glad I found your video :)
@bluegizmo1983
@bluegizmo1983 2 жыл бұрын
I agree, you absolutely need automations in a smart home setup. But you also absolutely need manual controls (switches, buttons, etcs) that can control everything as well. There's nothing worse than some part of the automation failing for some reason (it WILL happen) and suddenly your stuff is unusable
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Absolutely. It’s all about good user experience.
@TheCowboysdude
@TheCowboysdude 2 жыл бұрын
Not sure if I want to do this.... well actually I do but may be a bit over my head at the moment but I have to say I love this video.....it was great!!!!!!!!! Entertaining!!! Thank you for all your videos!
@BeardedTinker
@BeardedTinker 2 жыл бұрын
Great video Jeff!!! Will borrow some of the stuff when I finally sit down to tackle TTS at my place.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Thanks BT! This video went through a lot of versions. And I think I need to break it down even more. So I suspect there will be a few more videos....haha
@rednovatech
@rednovatech 2 жыл бұрын
@@SlackerLabs Please, I haven’t even started tackling tts in my setup and would love a boring video or three.
@Moon-Raven
@Moon-Raven 2 жыл бұрын
Hey, thanks for all of your videos. They're very helpful.
@MartinPugh
@MartinPugh 2 жыл бұрын
Hi Jeff. I just finished rewatching the video after your recent text notifications video and I think the building blocks are finally starting to make sense to me. I have a really basic morning TTS routine that we just started using but now I see how you're making it a lot more modular, I see the advantage of having the status_annc script and how you call parts of that script depending on which automation or scripts calls it.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Excellent! I think at times I over complicate it trying to make it modular. But I really try not repeat myself…at least in my HA config. I spent last night redoing my weather forecast stuff so that I could reduce some of the code in my notifications
@PaulMeredith
@PaulMeredith 2 жыл бұрын
Brilliant video learnt a lot from watching it and gave me some food for thought. Love your video's you do some fantastic automation's.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
I hope it helps you do some cool stuff!
@adamhowley8037
@adamhowley8037 2 жыл бұрын
The random part I think is the secret to this. Thanks for the video!
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yeah. The only issue so far is it needs an easier way to update the messages. But definitely it helps make it seem more Like it’s not programmed.
@Kliptrech26Rg001
@Kliptrech26Rg001 2 жыл бұрын
​@@SlackerLabs does this only work in english language? I'm from Brazil and I speak Portuguese and I see that Alexa has difficulties with the home assistant to use other voices as well.
@g.s.3389
@g.s.3389 2 жыл бұрын
thank you I didn't know that Polly existed, I am trying it right today. tthank you.
@darkowic
@darkowic 2 жыл бұрын
Awesome stuff! Thanks for great inspiration!
@brentjohnson6654
@brentjohnson6654 2 жыл бұрын
Fantastic work. I have often thought about home automation but never pursued it. You sir, have motivated me to learn the hardware and software/scripts I need to do this. I am planning on remote control blinds in an upper window. Our Amazon Alexa is probably where I would start. Speaking of Alexa, we refer to her when speaking as “the name which shall not be named” kind of Harry Potter like. Haha. If you have any url to get me reading that would be great. I will look through your video library also. All the best! From one geek to another!
@SlackerLabs
@SlackerLabs 2 жыл бұрын
hmm. I need to gather up some resources I think. This channel is fed a lot by my ability to get easily distracted by shining things so its not all ways in a linear progression. Let me see if I have something.
@brentjohnson6654
@brentjohnson6654 2 жыл бұрын
@@SlackerLabs thanks. I have been looking through your library and am getting some ideas. Also the Slacker video by another channel has my “chasing shiny lights” in full gear. Haha. All the best!
@chrisfromthelc
@chrisfromthelc 2 жыл бұрын
When you're using Google Home/Alexa, are you able to set up a custom trigger using this integration? For example "Hey Jarvis" instead of "Ok, Google"? It looks like your barn door protocol example cut off the trigger.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Unfortunately no. I wish we could have a custom trigger word. But for now I have to use alexa or hey google. Best I can do is have custom commands with scripts.
@michaelschi5453
@michaelschi5453 2 жыл бұрын
absolutely fantastic! That is really inspiring and I already started building my own script. Thanks for explaining it so well ! I am using google home in general, but like polly a lot, it sound so much better. TTS works fine, but would you be able to start a dialog, e.g. "Jarvis" giving you your good morning briefing but also asking you questions which you can respond and based on your response triggers maybe another script. Somethin simple like, "Good morning [...] would you like to listen to some music" - "yes" -> playing youtube music
@SlackerLabs
@SlackerLabs 2 жыл бұрын
If Google would let us pick our own trigger word definitely. I'm not sure there is way to have a dialog, at least not yet. I have pauses in in my Jarvis dialog so I could give a response if I wanted to play along, but it would do anything with it. Now there might be a way using Amazon Echo if you built your own skills or intents. And I thought about it. But in the end I took the Slacker path.
@michiganmitten
@michiganmitten 2 жыл бұрын
🤓 jinja ninja 🐱‍👤 I have to admit I wasn't really all that interested until I saw the scripts. Very cool. I love how you pass the parameters and the scripts handle those flags. I didn't know you could do that like that. Also, I didn't know about having a jinja list and the random filter. I will definitely be stealing that. Thanks 👍
@estarut
@estarut 2 жыл бұрын
Jeff, this is golden. Thx for being a teacher and sharing your setup. Was wondering if Jarvis can get voice inputs for conditions, e.g. use HA for detecting a external input such as (rain, storm, snow, someone unknown in the house, someone at the door, …) then TTS the situation with google home and then waiting for an answer like “yes/no/OK…” and then do the appropriate action Simulating a real ai interaction?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yes, although its not all that straightforward. You would need a system tied to Home Assistant for prompting and actin on a response. For local options in Home Assistant there is Almond. But it will require some DIY of integrating some speakers and probably some scripting to know it should listen. I dont think that one is ready for the masses in terms of ease of setup and automation. You can use Echo's if you have those. Mark Watt Tech and DrZZZs both did a videos (if I recall) on leveraging the Echo routines to trigger Alexa to ask a question allowing you to respond which could solve this. Of course it relies on the Amazon cloud, but its fairly easy to get started.
@estarut
@estarut 2 жыл бұрын
@@SlackerLabs Jeff, do you think there is a way to use Google speakers for that? Maybe a combination with dialogflow? An idea for your next video 😉
@yorks_atheist3069
@yorks_atheist3069 2 жыл бұрын
I'm going down the the time eating rabbit hole that's Rhasspy right now this has given me some ideas of things to try with it
@etherealhawk
@etherealhawk 2 жыл бұрын
Also, the "Almond" add-on for home assistant is promising for AI enabling
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yeah, Ive been watching Almond. I think it might be a good option in the future. But out of all the TTS engines so far I think Polly sounds the best. At least for the British male voice. I do like that almond can be completely local, and I have a long term vision that I would love for the whole house to use a home assistant powered voice assistant, but that would require mics everywhere and I haven't tried to tackle that yet.
@avanaraveloson5017
@avanaraveloson5017 2 жыл бұрын
I'm happy I switched to Node-Red. Setting up and debugging a complex setup like this in yaml must be frustrating.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
That does bring up a good point. I need to build this out in Node Red and see what that would look like. I'm use to looking at code though so I suspect the "flow" would make it hard for me to visualize in my head. But since most of this is done in scripts I am not sure how that would work in Node Red. Can node red take a variable from one automation and send it to another automation? After that, if you could build templates in Node red to reduce having to duplicate the TTS pieces then it might make it easier. I'm definitely going to have to look at that.
@iulianch
@iulianch 2 жыл бұрын
Great video! Thank you very much for sharing! I see you have washer status and a lot of notifications for it. Can you please give us more details about how you did it? Thank you
@scotthewitt6047
@scotthewitt6047 Жыл бұрын
Thanks for the video, I would like to figure out how to get a speech alert if a bad storm is getting close.
@johnsfilmsllc
@johnsfilmsllc 2 жыл бұрын
I’m new here, you do a great job of framing the channel and your production quality is really solid! Great job!
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Thanks. I feel like I'm still trying to get my feet under me, but its been fun learning.
@Jasonhartley31
@Jasonhartley31 2 жыл бұрын
There’s a free Alexa TTS add on that can use the Brain voice via SSML for free. I have it setup in node red to send random text (depending on the automation) to a “Speak out” node I setup.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Interesting. I wonder how they are getting around the api cost after the first 12 months. My gut tells me they must be doing something like scraping the dev console where you can test things out. But I’ve got no clue.
@iulianch
@iulianch 2 жыл бұрын
Can you please help me to get all today events from google calendar? Thank you
@Richardsumilang
@Richardsumilang Жыл бұрын
I don't often subscribe to after first video watch... 👍
@rodneysmith1750
@rodneysmith1750 Жыл бұрын
BTW, solutions borrowed (stolen) from others are the BEST kind!
@SlackerLabs
@SlackerLabs Жыл бұрын
I will totally steal the best ones...
@GregForman1015
@GregForman1015 Жыл бұрын
Coming back to this some time later. But what about adding chatgpt to aid in the randomization of responses. Though it might take post processing as it usually just makes up numbers when asked about weather.
@SlackerLabs
@SlackerLabs Жыл бұрын
I have played around with that. Especially since the addition of the conversation service. But the responses I have gotten back have been...well...not...good. No matter how much I try to direct the tone it just doesn't work. ChatGPT tries to "be" Jarvis as oppose to just incorporate the personality traits. It could just be I need to prompt it better, but so far, it's much easier and less time consuming for me to just type out the randomization myself. Plus I can include inside jokes. But I think if you weren't trying to recreate a snarky, all knowing digital assistant inspired by JARVIS , then you probably could use ChatGPT and the conversation service to do a lot of this for you and get some good results.
@GregForman1015
@GregForman1015 Жыл бұрын
@@SlackerLabs I've just noticed that as well about it "being" JARVIS. It takes that as a whole and includes responses with references to Tony Stark and his life specifically. In any case I'm happy to have found your channel and I look forward to trying to keep my HA as smart as yours! (not going to happen)
@brickdorsi
@brickdorsi 9 ай бұрын
What can I use for my Airbnb so when guest enter they are greeted by there name and a virtual tour guides them through instructions of the house on the tv
@StePhanMckillen
@StePhanMckillen 2 жыл бұрын
10 out 10 bro
@prOkrEAt
@prOkrEAt 2 жыл бұрын
Sheesh. I struggle with just setting up HA basically. Though would be awesome to have the spaceship from hitchhikers guide to the Galaxy for my house. I can't even imagine how much time this took you.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Probably not as long as it looks. The longest part was writing out al the random stuff, and fixing my spelling errors...
@sumesh0710
@sumesh0710 2 жыл бұрын
Just awesome.you are an inspiration
@JanRademan
@JanRademan 2 жыл бұрын
The right voice and GlAdOs is your housekeeper.
@TrenchantNest
@TrenchantNest Жыл бұрын
Question: Where do I find notifications.yaml? I have the file editor installed on my instance and everything else about the TTS walkthrough makes sense but I don't see where to enter the yaml @ 9:25
@SlackerLabs
@SlackerLabs Жыл бұрын
If you don't have one you would need to add it. In. a packages directory most likely. But you don't need the notifications.yaml. You can add a TTS section in your configuration.yaml and just put the code in there. Works the same.
@alejandrolazaroZS09011386
@alejandrolazaroZS09011386 2 жыл бұрын
Excelente video recien estoy empezando con esto de la programación y aun existente muchas cosas que no entiendo y que poco a poco voy comprendiendo lo que haz hecho es bastante genial, son ese tipo de cosas que te motivan a seguir aprendiendo. Saludos!
@JasonGabler
@JasonGabler 2 жыл бұрын
I most certainly do not have Paul Hibbert inside me.
@GuentherZettl
@GuentherZettl 2 жыл бұрын
Really nice use of Home Assistant. I just began setting one up, and that's the direction I want to go too (yes, I'm a geek). I looked into your config, but I don't think that I understand everything in it yet and how the different parts work together, so I'm looking forward to videos where you go into detail. Regarding the macros in status_annc, I have a question: when you call different macros to get one long message, I believe you must call them in the order as they are defined in status_annc (so for example you can't call macro_interruption() first and macro_greeting() after it). Is this correct?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Actually at the bottom of that scipt is the actually part that determines the order. So you could call them in different orders in your automation, but the script will put them in the order that the script calls each section at the end. Its not a super easy layout to visualize. I definitely want to spend more time explaining how that one works.
@GuentherZettl
@GuentherZettl 2 жыл бұрын
@@SlackerLabs I have not seen a youtube video about macros in Home Assistent yet. I'm definitely interested to get some explanations in a future video.
@xXSliderXx100
@xXSliderXx100 Жыл бұрын
we need a full tutorial :)
@Sodfenrir
@Sodfenrir 7 ай бұрын
Been trying to recreat that from the files he gives, cargo cult style, but after spending my afternoon, I think I'll just wait for a step by step tutorial! ;-) Well done anyways.
@JasonKtheDJ
@JasonKtheDJ Жыл бұрын
I've watched all of your vids related to this, and can't seem to find the part where you setup paying for the neural access, or how to get it working.
@SlackerLabs
@SlackerLabs Жыл бұрын
At 9:10 in this video I show my config. I can't remember if I called it out. But engine: neural in the Amazon Polly config is what does it. When you setup your AWS account (Talked about in a previous video kzfaq.info/get/bejne/j9lpq7NnvbacYGQ.html) you would have had to provide a credit card. Those are the only two things you need. From that point on once you run out out your first 12 months free, from that point on you will get charged every month based on your characters used.
@JasonKtheDJ
@JasonKtheDJ Жыл бұрын
@@SlackerLabs My issue was the / in my credentials. Thank you for the help.
@ShoruKen
@ShoruKen 2 жыл бұрын
How can this be setup to resume any music that might be playing on the device? I did some research, and found answers from a couple years ago about using scenes. I'll see if I can figure it out, and was wondering if anyone else who uses TTS for announcements around the house has figured it out. NOTE: I'm using Google speakers.
@SlackerLabs
@SlackerLabs 2 жыл бұрын
I haven't quite figured this one out. I've tried with temp scenes. The only I really thought would work was to simply put in a delay after the TTS message, and then simply call the media player play media service to have ti start to playing which in theory would have it start the last thing that was playing. But it doesn't seem to work consistently.
@thomulcahy
@thomulcahy 2 жыл бұрын
Silly, very silly, I like it
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yep. I mean we didn't even get into how it announces its Rex Manning Day on April 8th. Or how it plays Holiday Wishes from the Magic Kingdom with a light show on Christmas Eve. We are silly people. lol
@wl6279
@wl6279 Жыл бұрын
Jarvis would make a good wake word as well, Amazon lol
@christiansrensen3810
@christiansrensen3810 2 жыл бұрын
Thank you for your insight. Here is a rabbit hole. To understand..do you "assume" who is in a specific room, via a presence sensor. ? Thinking about that Jarvis tells that he is already up and playing Minecraft. It really don't know.right? So it could actually be the dog in the kid room. . I am wondering if you can make a setup of video Camara in all rooms.. It would require some hard code. To recognize, who is in the room. In that way it would understand, how and who to adress. Also you would be able to ask where is the dog?.. Jarvis" in the garage". Maybe to much. I also see the need for some " oblivious overrule option". "Jarvis, go blind"
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yea. There is a fair amount of assumption. But maybe not as much as you think. Jarvis knows which rooms are occupied based on the room presence sensor. And for the kid he has a motion sensor in his room. And in the morning when it senses motion an automation records the time so Jarvis knows when he is up. And it resets as part of the good night routine. Home assistant knows the theater is occupied, the tv is on, and that the PS4 is on. And if it’s 6:30 in the morning and the kid is up and the PS4 is on the assumption he is plying Minecraft. And that’s the only assumption. He could be playing something else. If the tv is on upstairs it will say he is upstairs and watching and then pull the roku app so it might be he is upstairs watching Netflix. Same goes for theater. If Apple TV is on Jarvis will get the app he is watching from the Apple TV integration. There is no way for Jarvis to know who is in what rooms during the day and will normally just say Netflix is on in the theater. Or the tv is on and I don’t sense any people. And if the kid is up and none of tvs are on he simple says he is up but I can’t find him on any of my sensors. I’ll work on going through each notification and break down all the options. But most of it is derived from sensors to get close enough that I can make accurate assumptions
@accordingtoangela
@accordingtoangela 2 жыл бұрын
@@SlackerLabs this may be a reach but maybe if you wear an apple AirTag or tile or carry your phone so the presence sensor knows who’s in which room? Is there a way to implement that? I have an AirTag on my dog and would love to know when she sneaks into the kitchen to counter surf for food 🤣
@SlackerLabs
@SlackerLabs 2 жыл бұрын
@@accordingtoangela I have actually wondered it this would work. Been meaning to Pick up some AirTags. If you could automate a shortcut when an AirTag is near then you could have that kick off a home assistant action.
@CodCodliness
@CodCodliness 2 жыл бұрын
@@accordingtoangela Check out Everything Smart Home, he's been experimenting with presence detection using Bluetooth trackers on ESP32s placed in each room. Smart Home Solver also just released a video using Room Assistant, a bunch of Pis, and Echo, where individuals can be tracked, individual automations run specific to individuals, and Alexa can initiate conversations!
@xXDeadJesterXx
@xXDeadJesterXx 2 жыл бұрын
So I am trying to use the status_annc setup you have in your notify.yaml file along with the new way to set up Jarvis from your recent "apology" video. Since it looks like the previous status_annc required Amazon Poly, how do we get the script to work with the new method? I tried changing script.speech_engine to use the speech_engine_demo that you have in your jarvis.yaml file. As a test, I am just trying to get the Greeting to work, but when I run my automation I see my Alexa's blue ring flash like the message was delivered but nothing is spoken. Any thoughts?
@ericklindberg8377
@ericklindberg8377 2 жыл бұрын
Any idea why this would randomly stop working? Followed your guide and my automations trigger, causing the nest home to sound the power on chime - then nothing happens. It's been going on for the past 4 days or so
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Interestingly some of my other audio things stopped working. I haven't had time to track down but perhaps it is related. I notice my google home devices seem to loose connection from time to time. I need to build an automation that lets me know when they go unavailable.
@ericklindberg8377
@ericklindberg8377 2 жыл бұрын
@@SlackerLabs hmm, interesting. I'm going to open things up tomorrow when I have some time to see if there's an issue with the AWS service and my hassio instance
@JoseValencia-fr8wh
@JoseValencia-fr8wh Жыл бұрын
Hey man that’s cool af
@sgenovana
@sgenovana 2 жыл бұрын
hello amazing video it really help me. may I ask what is the positioning of your code ? thanks
@michaelschi5453
@michaelschi5453 2 жыл бұрын
Thanks @SlackerLabs this is a super helpful video and I had to implement some of it in my configuration too. I am now wondering if it was possible to set-up two different tty polly instances with either different voices or different languages? I was not able by copying the tts configuration and giving it another name.. it always goes back to only using one. If i comment one out, the other works just fine. Or is there a simpler way to call on the fly different languages/voices? Would be awesome if you had figured it out already and can share your knowledge. Thank you
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Actually I haven't figured this one out yet, but I have been looking for a solution. Because I too would like to be able to leverage different voices.
@michaelschi5453
@michaelschi5453 2 жыл бұрын
@@SlackerLabs I came across TTS-Ultimate in node-red and it seems to do the trick for me. I can call the service with the voice/language settings and it generates the file for me which i then can play on my media_player. Its a bit more uncomfortable I can achieve my goal. The only thing I have to implement is to use the scripts to generate the messages and put them e.g. in an input_text which is then triggering a flow in node_red.. or something like that, have not fully figured it out yet but I think it would be a doable solution.... or have to move also the script to node-red.. I will give it a try. Thanks again for this great inspiration!
@JaredWhitlow
@JaredWhitlow 2 жыл бұрын
So can you not use Amazon polly to send messages to your echo devices?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Correct. At least in the current way the echos integrate with home assistant. Amazon doesn’t let you play mp3s on the Echos by streaming to the device locally which is needed. You build a skill and probably accomplish it. But I have no interest in doing that.
@JaredWhitlow
@JaredWhitlow 2 жыл бұрын
@@SlackerLabs ugh that sucks hard... bezos could take more of my money if they did.. kinda dumb...
@DanBollendorf
@DanBollendorf 2 жыл бұрын
How did you automate the humidifier we see when you show your wake up routine? I have the same one and would love to automate it
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Actually, going to talk about that in a video coming up.
@michealmeaden1300
@michealmeaden1300 2 жыл бұрын
Is home assistant different then echo/Alexa. I’m assuming
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yes. Home assistant is like a local if this than that. You can connect to lots of services that don’t normally talk to each other. And then home assistant can pass information between them.
@michaeljconlee
@michaeljconlee 2 жыл бұрын
Thank you for a great video. For speech_Engine_simplified. If that done in the config file or somewhere else?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
It would actually get dropped in either your scripts.yaml if you are using that, or in your configuration,yaml under scripts: if you have it setup that way.
@Metruzanca
@Metruzanca 2 жыл бұрын
Where can I get as sick shirt like that!
@plaguedoct0r
@plaguedoct0r 2 жыл бұрын
If you use Mycroft you can get an actual voice assistant called Jarvis
@SlackerLabs
@SlackerLabs 2 жыл бұрын
I've been watching that project. I have dreams of moving to it one day. the only thing holding me back is the voice quality.
@plaguedoct0r
@plaguedoct0r 2 жыл бұрын
@@SlackerLabs The privacy factor makes it non-negotiable for me
@nicolebolin105
@nicolebolin105 Жыл бұрын
I’m looking into differences now, what’s the privacy issue?
@plaguedoct0r
@plaguedoct0r Жыл бұрын
@@nicolebolin105 All the major voice assistants record every single thing you say in your house and upload it to their servers.
@SlackerLabs
@SlackerLabs Жыл бұрын
@@nicolebolin105 If you go the route of using Amazon Polly for your Text to speech then any of the text you translate goes to Amazons servers to be rendered into voice. So Amazon would know that your door is standing open. Or that your laundry hasn't been moved to the dryer. Or whatever you sent to Amazon. Depending on what information you are using in text to speech that might be a privacy issue for you. If you use Alexa or google to trigger Home Assistant routines with your voice then as @Plague Doctor said, those companies would have a recording of your voice saying the routines trigger phrase. But "Jarvis" is simply using Amazon Polly for Text to speech so no recording of your voice is involved unless you use a Alexa or google routine to tigger the Jarvis text to speech.
@CodCodliness
@CodCodliness 2 жыл бұрын
While the automations etc in this video are outstanding, my question is actually sartorial: where can I get the Github Octocat Arc Reactor t-shirt?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
I think I bought it from Github...a long time ago. Not even sure if it is still out there.
@sjnllp
@sjnllp 2 жыл бұрын
Hi Jeff, any hope of you doing a video of how to use the macro file you have created for the morning brief? have tried to figure it out but the message just doesn't pass back top the TTS service to talk just simply using, message: !include ../templates/speech/moring_wakeup_report.yaml call the yaml file, run the macro and pass the text back? sorry not a programmer in any means :)
@jareau
@jareau Жыл бұрын
I can't get the message: !include to work either.
@JohnMayfield-NS
@JohnMayfield-NS 2 жыл бұрын
Even the simple version is too complex for me :D
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Yeah. I wish this was easier. I wish scripts would be saved as blueprints but I think it's just for automations.
@JohnMayfield-NS
@JohnMayfield-NS 2 жыл бұрын
@@SlackerLabs I don't know programming at all, just piece together what I can, which makes it even harder.
@marcodigits4321
@marcodigits4321 2 жыл бұрын
Hm okay...this is off topic. The people who use Celsius are the 'culture folks' ? Haven't heard of that term before but I hear it as the folks who are the exception. Just as a fun remembrance: LESS than ~ 342 million people on our planet use Fahrenheit. About ~ 5.3 million people can call them self Liberians. About ~ 1.7 million people of them are live in small (mostly islands) states (I counted 11). And ~ 335 million people live in the uSA. SO LET'S BE CLEAR HERE: There are ~ 7.79 billion people 'culture folks' On this planet. 😂
@brianmcbride1631
@brianmcbride1631 2 жыл бұрын
Did you say Windows 98?!
@SlackerLabs
@SlackerLabs 2 жыл бұрын
Ummm. Yeah. Because I started trying to build Jarvis on a old desktop computer at one point in my life. It didn’t go well.
@maria057
@maria057 2 жыл бұрын
have you made this wth python ?? is there a code ?
@SlackerLabs
@SlackerLabs 2 жыл бұрын
No python. At least nothing outside of home assistant scripts and automations. The YAML is is in my GitHub. But I am working on some ways to make it easier
@matt-ui5bz
@matt-ui5bz 2 жыл бұрын
Haha nice pun
My Smart Home vs Tony Stark's JARVIS!
10:04
Smart Home Solver
Рет қаралды 177 М.
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 10 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 34 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 31 МЛН
Ultimate Guide to Starting and Growing a Smart Home in 2024!
14:34
Smart Home Solver
Рет қаралды 376 М.
15 Home Assistant Tips You MUST Do
14:28
Everything Smart Home
Рет қаралды 363 М.
Why I think Smart Homes Feel Broken
6:51
SlackerLabs
Рет қаралды 6 М.
Home Assistant Dashboards for Beginners! (+ my favorite custom cards)
17:15
No Pi? No Problem! Home Assistant on a Cheap Thin Client
14:58
This Smart House
Рет қаралды 81 М.
My Most Futuristic, Advanced Automations EVER!
9:57
Smart Home Solver
Рет қаралды 567 М.
Home Assistant Scripts Hidden Feature!
9:24
SlackerLabs
Рет қаралды 15 М.
YAML Basics // Level Up Your Home Assistant Skills
22:58
This Smart House
Рет қаралды 73 М.
Building My Perfect Smart Home Presence Detection Sensor!
14:06
Everything Smart Home
Рет қаралды 187 М.
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 10 МЛН