Тёмный

I Create Better Automations Using These Hidden Principles 

Technithusiast
Подписаться 15 тыс.
Просмотров 7 тыс.
50% 1

Your Smart home automations can be soo much better by applying this simple but elusive principles. I spent over a year observing and creating automations, took all the lessons learned and simplified it to these seven principles called the Smart Home User Experience Heuristics. See the in-depth explanation for each of the Heuristics: www.technithus... #shuxh #smarthome #userexperience #homeautomation #applehomekit #homekit
Get more tips, clever ideas and other updates from me! www.technithus...
*Join this channel for early video releases and access to our private discord server: *
/ @technithusiast
I wanna give a shout out to ‪@SmartHomeSolver‬ and ‪@brett.tech_‬ Go check out their channels.
This is the video from ‪@SmartHomeSolver‬ I saw that inspired this video: • I added 10 NEW Home Au...
This is why notifications and conditions won't work - • Not everything need to...
Gear I used for this video
Sony A7S iii: www.amazon.com...
Aputure Light Dome: www.amazon.com...
Aputure Amaran 200X S: www.amazon.com...
Neewer Heavy Duty Light Stand: www.amazon.com...
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting me so I can continue to provide you with dope free content!

Наука

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 98   
@AshleyGittins
@AshleyGittins 4 месяца назад
I really enjoy that you always take a deeper-thinking approach to things, and I love your vids for that. Can definitely feel the UX vibes in this, and it's great that you're tackling this because it's not always easy to see how an exciting geeky automation is going to play out in the wild, let alone how to make it work for everyone who shares your space. Awesome stuff.
4 месяца назад
I have a "cinema mode" that I turn on/off using assist or a button on a remote I have and when it is on it behaves like Reed's one. Works great also for the time I want to watch tv but also do other thing. It made sense when I did it without inventing big principles or automation rules ;-)
@technithusiast
@technithusiast 4 месяца назад
Im glad it made sense! Automations are so open-ended and it's easy to get carried away! I know at the beginning of my smarthome exploration, thinking that a fully automated (seamless) experience would be the best. And in theory, it sounds nice and would be ideal but life isn't predictable enough for us to do that. These principle are to help people think beyond the flashiness of an idea and focus on the practical user experience. 😁
@jpileggi1
@jpileggi1 4 месяца назад
Another excellent video! You are definitely carving out your niche in the RU-vid influencer space for the smart home. Excellent work!
@technithusiast
@technithusiast 4 месяца назад
Wow, thank you! Im waiting for the channel to explode but until then im enjoying the journey 😁
@TechySpeaking
@TechySpeaking 4 месяца назад
Something everyone should be aware of with smart home automations, especially those in the camp of "I don't need a Home Assistant dashboard because a perfect smart home requires no manual intervention", is that edge cases will ALWAYS be a thing. The All or Nothing principle is probably the hardest hurdle to cross.
@technithusiast
@technithusiast 4 месяца назад
+1
@AlmightyEye
@AlmightyEye 3 месяца назад
I have over 70 smart devices in my home with just ONE Hub and some Apple Devices that just happen to serve as hubs. The ONLY reason I have Homebridge is for the Eufy Security plugin, and that’s because HK doesn’t support 4K cameras yet. HA and HB will soon be irrelevant once Thread/Matter is more widely adopted and improved with time. HA HB will soon be an afterthought and an added complication to Home Networks. The whole point of Thread/Matter is to rid ourselves of multiple hubs and having 24/7 servers running for automations.
@technithusiast
@technithusiast 3 месяца назад
What do you currently use to create your automations?
@AlmightyEye
@AlmightyEye 3 месяца назад
@@technithusiast I slowly phased out Google and Alexa devices and replaced them with HomePods. The Smart Switches/Outlets/Lights/Air Purifiers/Motion Sensors are all Thread/Matter compatible and I only use the Home App for Automations. I have several complex automations that work just fine without additional hubs. My whole objective was to rid myself of having multiple platforms/hubs and since me and my family have Apple Mobile devices, it was a no-brainer to switch to an Apple-Centric smart home environment. Everything seems to work great and response times are almost non-existent with this set up.
@holohane
@holohane 4 месяца назад
I really love your videos. Really feel you’re taking home automation to the next level I’ve been using Home Assistant for a number of years and I’m at the point of wanting to do much more advanced things than just switching on and off switches and lights. I find your videos just the direction I want to go. Thanks again. Eddie
@technithusiast
@technithusiast 4 месяца назад
Yoooooo I’m stoked for you! I’m glad my videos provide a bit of value for you :) if you would like more ideas, check out technithusiast.com/and-enthusiastic-newseletter and I’ll send you emails about automation ideas and interesting tech :)
@ZubairIO
@ZubairIO 4 месяца назад
You “Perfect timing” Heuristics partly covers this. But every day asking if I want to “allow auto lights” would be annoying.
@technithusiast
@technithusiast 4 месяца назад
LOL very true! This automation was rushed so i didn't go into great detail but this should be configured for your situation. I actually had a different trigger that would have been perfect Apple Homekit is limited so i had to abandon the idea 😞
@sdfhjklhsfdjdsflhkds
@sdfhjklhsfdjdsflhkds 4 месяца назад
Great analysis - I like your example of a use case that doesn't fit the "All or Nothing" principle. I've tripped across this as well and had to rethink and break down some automations. Why? Because people stop using them is they don't work "as expected". I tend to avoid overloaded automations or ones that have long series of sequential steps. The other issue that I've had to contend with (which may be orthogonal to your model of heuristics) is what I call unknowable state. This occurs when devices can't report back their current state (my "dumb" motorized blinds) or their state is unreliable (looking at you Z-wave dimmers) . I hate anything stateful, but sometimes have to come up with ways to a) capture and retain state, sometimes even through power outages and b) make my automations resilient enough to deal with or recover from ambiguous or unknown state. Wasp in a box on steroids, if that's a thing, with HA assumed to be the authoritative source of truth. Mostly. Again, if the automation is not reliable, no one will use it, no matter how clever I think my automation flow is.
@technithusiast
@technithusiast 4 месяца назад
Really well said!! i find the highest praise is the spouse/family members who actually use the automations. As cool as automations are, they have to be just as reliable as their dumb counterpart.
@Sierra-Whisky
@Sierra-Whisky 4 месяца назад
Interesting video! And it somewhat confirms an idea I've been thinking of for a while now. Although I didn't work it out yet, it basically comes down to shifting away from me telling Home Assistant what to do towards Home Assistant informing me or Home Assistant asking me what to do based on certain conditions. This way I want HA to actively "assist" me with relevant information or actions in the right context. For example: - When I get home (and there's nobody else home yet): "Welcome home! Shall I play [some playlist] for you?" So that I can respond with yes, no or "play [other playlist]" - When I'm cooking and forget to turn on the cooking hood: "It seems that you're (about to start) cooking. Shall I turn on the cooking hood for you?" - When I forget to turn off the TV when going to bed: "It seems that you're about to go to bed but the TV is still on. Shall I turn it off for you?" Or simply notify me about given events like mail that's being delivered (at a set time of the day or when I get home after that time of the day) or the washing mashine being finished (and it's not being emptied within [x] minutes). I could then respond with "can you repeat that?" or "can you remind me again in [delay]?" or just say nothing at all. So far I haven't even been writing things down yet and I also didn't do any research about out the possibilities.
@Sierra-Whisky
@Sierra-Whisky 4 месяца назад
I think it comes down to two main components. One of them is obviously the interaction component. But the other one is probably even more important: event recognition. I think this is where the bayesian binary sensor platform will be helpful to estimate the probability of the occurence of an event by evaluating a series of other events and/or sensor states.
@technithusiast
@technithusiast 4 месяца назад
I like your approach. If you haven’t seen this video, you may like this: - Best way to use your Todo List in Home Assistant ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5NCEeHtskcs.html - Make Your Own Innovative Smart-Home Secretary ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H38JbIAwQaE.html - A long range sensor for home assistant! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UcKt4cvlsUI.html The three vids above are variations of how your smart-home can inform you of events for various use cases like telling you about your schedules or informing you about mail. Utilizing AI will allow the smarthome to determine intent easier and shift the home to a more proactive state
@digitaldistro
@digitaldistro 4 месяца назад
My automation has been based around ideas of how I can save money and simplify certain tasks around the house like blind controls etc... I have kids so they always forget to turn off lights, close doors, etc.. Awesome video by the way.
@technithusiast
@technithusiast 4 месяца назад
Really glad you enjoyed the video!
@MrDingleberry31
@MrDingleberry31 4 месяца назад
Great video. Was my intro into your automation principles. Very cool way of thinking about automations. Well done. Love this channel.
@technithusiast
@technithusiast 4 месяца назад
Thank you and Im glad to hear you enjoyed this video! You should definitely check out the other videos! For example this video was a really dramatic video how my smart home failed me during an attempted break-in: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-chmMDTNvsEg.html
@MarvinSchenkel
@MarvinSchenkel 4 месяца назад
I think it makes more sense to have an assistant that just asks a yes/no question for those automations you only want to run 90% of the time. In that case, you can have the assistant ask if you "want to turn off the lights when watching TV?" when you hit play. When you say yes, it turns everything off and makes sure this behavior "sticks" for a while so it doesn't have to ask again for the rest of the night.
@technithusiast
@technithusiast 4 месяца назад
I completely agree. The permission based model provides control at the risk of being a little annoying. The BIGGEST issue I’ve had with this is that depending on the ecosystem, (I use Google home) the devices don’t allow you to ask questions back 😭there are so many dope automations I would create if I had just that one feature!!!!
@MarvinSchenkel
@MarvinSchenkel 4 месяца назад
@@technithusiast I once had it working with Alexa and sonos via home assistant, but it was finnicky at best. Looking forward to the collaboration between nvidia and nabu casa on the "local Ai box", so we can get stuff like this working reliably.
@Sierra-Whisky
@Sierra-Whisky 4 месяца назад
This somewhat relates to a comment I posted a few minutes ago. But I would rather turn it around, so for example when I'm about to watch a movie but forgot to adjust the lights, I want HA to ask me something. (Like "it seems that you're about to watch a movie but [whatever differences from Cinema scene]. Do you want me to activate the Cinema scene?") I don't want these questions every time I'm just watching TV on a regular day (about 95% of the days) but I do want HA to assist me in creating the right scene when I'm about to watch a movie.
@MarvinSchenkel
@MarvinSchenkel 4 месяца назад
@@Sierra-Whisky that's why I mentioned the "de bouncer". Basically you just remember the answer and don't ask again for x-hours. That way you can flexibly toggle behavior in your house.
@gizmify
@gizmify 4 месяца назад
I totally get your point and how you build it. But it would drive me crazy, from a organizational standpoint, to build automations over numerous Ecosystems. To be completely honest. I have them too. Due to lack of an HA compatible IR-blaster. But HA -> NodeRed -> HomeBridge -> HomeKit is a leap 😂
@JonnyPoole
@JonnyPoole 4 месяца назад
In software engineering we think a lot about negative code paths, most people think just about the happy path, this is to enable graceful degradation of our applications. This can be applied to automations too. For example, maybe you should include the enable/disable state change as a trigger for the automation itself so that it can default to the desired state no mattter when it gets disabled. Then your theater lights wont get stuck off if someone asks for it to be disabled when the lights are already off. Nice work on these ideas, always good to spend more time thinking about the problem than implementing the solution. Thats how good engineeing is done.
@technithusiast
@technithusiast 4 месяца назад
I’m glad you noticed! I wanted to bring a little bit of software engineering and ux design patterns to the space. Everyone wants high WAF scores but it’s sometime hard to see the parameters a play that influences usability.
@FutureSmartHome
@FutureSmartHome 4 месяца назад
Great video! I have a similar toggle in HA that I can enable or disable through HomeKit - because my wife doesn’t use HA. But I didn’t think to talk through the Apple Remote to set it!
@technithusiast
@technithusiast 4 месяца назад
Im in a similar boat my wife doesn’t use HA… or Apple Home…. Or anything 😪but since the tv is HomeKit enabled I wanted to keep this automation a close as possible to Reed’s
@DamienDavidO
@DamienDavidO 4 месяца назад
Maybe ESP where it reads unknown devices and opts out from using this automation ( so you have guests so automations don’t go off ).
@ecoheliguy
@ecoheliguy 4 месяца назад
Consider adding “if off change state turn on Apple TV” in the enable auto theater lights scene. This way walking toward the couch you could both enable though voice and turn on the Apple TV with this useful command. Otherwise every other time, watching Apple TV does nothing.
@BCKammen
@BCKammen 4 месяца назад
Hello, just found your channel, and you have done some great work. Thank you. I do have one question (not selling you a damned thing). Have you done a deep dive into Node-Red ? I tried to use it in the past, but I can never really find a good guide on setup, options and such. And it seems to daunting in use compared to the built in Automation setup in HA. Keep up the great work. And I love the Smart Home User Experience Heuristics principles. Will pass that along to a couple of friends who are looking more into the smart home.
@technithusiast
@technithusiast 4 месяца назад
Wow thank you! I’m glad this was helpful and that you’re enjoying the content. I’ve seen some node-red tutorials but they…. Don’t seem to get a lot of traction or views. Since the demand seems low I’ve put that project on the backlog until interest grows. Since you brought it up, I would love to hear your thoughts and pain points and see what I can do to help, even if it’s to point you in the direction of specific things I found that could help. You can reach me via the Contact Me link on technithusiast.com (just reference this comment so I know it’s you 😁
@AshleyGittins
@AshleyGittins 4 месяца назад
Personally I stopped using node-red a few years ago as HA's automation tools got a lot better. I think it can still be handy for more complicated tasks, but typically that's a sign you need to simplify the building blocks a little first, then they are easy to do in HA anyway. If you're using a supervised setup of HA then a few clicks should have it up and running as an Add-On, I believe.
@wapphigh5250
@wapphigh5250 4 месяца назад
Cool insight thanks for this...the issue is subconsciously we make different choices all the time based of the same event trigger...
@technithusiast
@technithusiast 4 месяца назад
Yeah. By no means is any of this perfect as it is contextualized for each individual. I simply wanted to poke everyone's attention to the different things that could be considered when crafting an automation
@jaredhelder
@jaredhelder 2 месяца назад
My toaster and kettle are on the same breaker, I put smart plugs in and when one is already running it turns the other one off, when it’s done it turns the other one back on. The best part of this automation is the tts on my google home in the room that explains what happened so guests know what is going on.
@samuelbarr8669
@samuelbarr8669 4 месяца назад
Excellent video and love this principle approach. This automation would work better with Alexa Actionable Notifications where this is all done by voice… trigger the automation, Alexa asks do you want to dim theatre lights, yes or no and will action it based on your response.
@technithusiast
@technithusiast 4 месяца назад
I wish that feature was more standard across all smart notification devices!!! It would change the way I approach ALL my automations.
@Matthewwwwwwwwwwwww
@Matthewwwwwwwwwwwww 4 месяца назад
I’m happy you added accessibility. No way my 3 year old can scan an NFC. She can tap a button. That’s about it. We are a multilingual family, so voice assistants would’t work for everyone. Be it accent, a child’s voice being hard to understand, or remembering the word for things and mixing languages mid-sentence. The non-cloud voice assistants just aren’t strong enough yet either. Our family’s automations need to be reduced to a button press or completely in the background with no intervention. Nothing that can cause uncertainty about why something is happening - anti-ambiguous.
@technithusiast
@technithusiast 4 месяца назад
LOLOL so true and im glad you're enjoying the content. (btw, i always recognize your username and profile pic 😁)
@bencoleman42
@bencoleman42 3 месяца назад
These automations (this is me answering before watching rest of video cos you told me to) aren’t fixing problems, they’re setting explicit scenes that only consider one person’s action in the room. My wife reading a book whilst tv is on next to me is going to get pretty pissed.. Adding passive lighting to a hallway when its dark and motion is detected is stopping an accident. Turning on a bright light at 2am when going to bathroom is waking someone up that doesn’t want to be fully awake. Nuance…
@SayWhaaaaaaaaaaaaaaaaaaaaaaat
@SayWhaaaaaaaaaaaaaaaaaaaaaaat 4 месяца назад
My wife uses and loves ALL my automations!! Because automation is NOT automation if you have to interact with it. My all automations does stuff so you dont have to do it. Simple stuff like turn on lights when dark and you walk in some area. Dim the lights based on how late it is, so melatonin wont be destroyed because of bright lights. The same goes for lights in the yard, heating and so on. People value those autoamtions only when they go to live somewhere else and then you see how they are depending on your automations :D
@technithusiast
@technithusiast 4 месяца назад
All of your automations?! give this man a metal 🥇 :D
@josephhavens3619
@josephhavens3619 4 месяца назад
one idea this gave me could be an automation to turn the lights off when the Apple TV is turned on, and turn the lights on SLIGHTLY (50% or so) when its paused. if its 11pm, I am not gonna want all the lights on all the way.
@technithusiast
@technithusiast 4 месяца назад
Thanks for commenting! If the lights turn off when Apple TV is turned on and goes to 50% when its paused after 11pm, what would happen when you play? Would it also turn off then too? What would happen in the moments when you want to keep the lights on or off?
@josephhavens3619
@josephhavens3619 4 месяца назад
@@technithusiast that’s a good question. The idea came because I felt that turning the lights on all the way would be too jarring late at night. Maybe instead the lights dim when the tv is turned on (and curtains close or whatever else), and lights go off for play, dimmed on for pause. I even thought about something for turning the lights back on when the TV is turned off, but I thought that might cause issues if a “goodnight” automation is in place
@technithusiast
@technithusiast 4 месяца назад
That’s a good point about conflicting automation states. How people implement a TV automation like this can vary based on your smart home ecosystem and your household habits. There’s no 1 right way but for the sake of maximum utility without sacrificing user experience using a button that sits close by that can toggle between modes would be the most accessible and useful. It isn’t perfect as this solution wouldn’t work for my family but many in the comments here feel like that’s the most straight-forward solution
@josephhavens3619
@josephhavens3619 4 месяца назад
@@technithusiast a toggle switch would be a very useful method, but for something like theatre mode, especially if it’s only activated after sunset, I cannot imagine many scenarios where I wouldn’t want it. When I would, a voice assistant usually works best for me
@TheSkepticSkwerl
@TheSkepticSkwerl 2 месяца назад
"What the issue is" with playing tv and things turning off, uh what if some one is cooking, and some one hits play? What if you have guests? What if some one is eating dinner, and needs to see their meals.
@jakekooser
@jakekooser 4 месяца назад
I needed this.
@technithusiast
@technithusiast 4 месяца назад
lol, go try it out. It's free-99
@killahb33
@killahb33 4 месяца назад
Paused: The curtains should close when you turn on the TV/Sit down. I have my theatre room setup similar to Reed's setup. I don't have windows to worry about though. An issue I ran into was Jellyfin doesn't seem to share it's status with my shield so I ended up having to add jellyfin to HA so that it would work. 2nd Pause: Yeah so I actually have a bunch of this with conditions, so when you first walk into the area with a presence sensor the brightness gets set based on time of day. I have a switch for gaming cause that won't do my automations. The only thing I don't have set is a switch for taking a nap which would turn off everything and keep it off even with motion (this would be easy but I just haven't set aside the time) After: I think for me I would ask the user what they want to do when coming into the room and then my automation will trigger based on that. Either way well done!!
@technithusiast
@technithusiast 4 месяца назад
I’m glad you like the content! I think your final point touches the heart of the matter. If our smart-home is going to anticipate your needs you will always need to add more and more conditions and it will be difficult to express your routine as a static list of if/else. But if we flip it and instead have the smart-home request what we would like and we can give it some explicit commands then this becomes way more maintainable and we would have less friction of things we don’t want firing at the wrong time. Thanks for commenting!!
@dansilchuk
@dansilchuk 4 месяца назад
No clue what the issue is lol, this is over my head at the moment 😂
@technithusiast
@technithusiast 4 месяца назад
😂😂
@markusfrank4549
@markusfrank4549 4 месяца назад
I think I've posted this before. You should have at least 10x or more likely 50x more subscriptions. Great great content (not a Trump fan) and your videos are very enjoyable to watch. Open the remote control and stick the sticker inside 😉 The Aqara tells me how many people are in the room and where they are. Everyone on the couch? Trigger People sitting or standing somewhere else? don´t trigger Pause -> only dimmed light is activated Stop -> activates a slightly brighter scene and after a few minutes (or just when the TV is turned off) the blinds go up (if they shouldn't be closed now anyway). I´ve sometzhing similiar in my bedroom where I have 3 different modes. training, bed and sleep. Training is automatically activated on the ergometer or rowing machine, bedmode by the scale in my bed and sleepmoode when my phone is on the wireless charger. Lights and speakers in the bedroom will behave different depending on the time, the day, the mode, tv status... of course I can modify them easily via dashboard buttons. I just love node red 😋
@technithusiast
@technithusiast 4 месяца назад
Lolol thanks! i'm waiting for that mythical moment my channel explodes and i hope you'll still be here for that 😁 and i greatly enjoy node-red too! Idk how anyone can use the native HA automations when Node-red is a possibility. I would REALLLY love if they could bake node-red into HA so i don't have to use an Addon or HAC component.
@Techlifeandmore
@Techlifeandmore 4 месяца назад
6:58 I would probably use a smart button to toggle an input bullion in Home Assistant, or I guess for me a dummy switch since I don't use Home Assistant and instead use HomeKit, and then add a condition to the automation which would only let the automation fire if that was off. I would probably take it a step further by building this on top of an ESP 8266 and adding a lights to signify which state the switch was in.
@technithusiast
@technithusiast 4 месяца назад
Interesting. Using a button is the common response i see. That was one of my choices as i was thinking through this but i decided against it because the layout of my house did not give me a convenient place to put button and i didn't want to bring two remotes to the couch 😛
@sukusu913
@sukusu913 4 месяца назад
@@technithusiast The Fibaro buttons you can create the pause feature based on button presses and they can be hiden under the edge of a coffee table or other, well away from babies. Plus add MM wave sensors for extra conditining incase of occupants in areas they would rather have the window shutters open (this in open space living areas)
@lansiteoh
@lansiteoh 4 месяца назад
instead of NFC, dedicated button would be much easier. it can be ZigBee button, or simply a button on your TV remote that you reserved for such action, e.g. if you don't subscribe Disney+, then Disney shortcut button can still launch Disney app, and Disney app is the trigger for your toggle of such automation . of course it can be much wider choice of button. if your light bulbs has a dedicated IR remote, then you could use one of the preset color as the toggle as well. now fit the purpose of accessibility because these buttons or remotes always stay beside your couch
@technithusiast
@technithusiast 4 месяца назад
Yup a button can also work. The odd thing about this automation is that if you use a button to enable/disable the automation you don't know if it is enabled or disable without some other mechanism (voice alert or some notification). But like you mentioned, if you use the button as a trigger for the automation then this works well. A button wouldn't work at my place since we have no where stable to put it while watching tv but i know some folks have stands/tables/center consoles that make buttons a practical choice.
@TheCrogdor
@TheCrogdor 4 месяца назад
I recently purchased and installed a Galaxy Tab A9 on my wall to display a Home Assistant dashboard, and ended up doing something very similar, where I’ve created toggle buttons for Auto Air Conditioners, Auto Narrator, and Auto Motion Detection, that lets me enable/disable their related automations. They’re also exposed via homekit bridge so that I can toggle them with Siri. Auto Motion Detectors turns on/off the motion sensors, which control a lot of other automations. Auto air conditioners compares (every 15 minutes) temperatures from various sensors to the setpoints points of the air conditioners, and turns the A/Cs on or off in each room. Auto Narrator toggles my narrator, which is just a fun automation where i used Eleven Labs to make sound clips of a storytelling voice that announces various action in doing in a whimsical way (e.g. turning the tv on: “He awakened a portal to other worlds. The television flickered to life, promising tales of adventure, drama, and unseen wonders.”) Definitely gonna set one up to dim/brighten the lights when media is playing on the tv, along with a similar ‘auto’ toggle available via Siri and the dashboard.
@technithusiast
@technithusiast 4 месяца назад
Your setup sounds really fun! Do you use HA to write your automations, node red or some other platform?
@TheCrogdor
@TheCrogdor 4 месяца назад
@@technithusiast I strive do do all my automations in Node-RED. I’ve created a pattern around it, where I’ve got a chain of flows - a flow dedicated to inputs and sanitization of data, another for data enrichment, another for decision making/rules, and finally one for outputs (aka Controls) that calls back to HA to do modify the environment. I use link out/in/call nodes to hook it all up. The input flow converts all input event data (button presses, sensors, events from devices like the tv or vacuum, etc.) into a canonical data model containing “input_type”, “input_mode”, etc. The enrichment flow extends that data model and adds context data about things like which room the event came from, what the current room state is in terms of lights on/off and all that, the temperature of the room, whether it’s currently day or night, etc. At that point, the decision making flow just uses all that information to decide what to do. The Control flow has separate reusable code flows called by the decision making flow. Things like “room lights on” or “narrate this text” or “vacuum this room”, etc. Love what you do on the channel, by the way, I’ve been getting a lot of great ideas from you! I love your thought process around heuristics and principled decisions for how you automate your home. Your approach is right up my alley!
@technithusiast
@technithusiast 4 месяца назад
Wow thank you! I’m glad this content hits for you! I love your approach to how you setup your flows and it seems agnostic to where you can add on functionality in a scalable manner. I’m not if you’ve seen my videos around OpenAI but I have nodes that may blend seamlessly into your system. Especially since you know how to use the Link In/out nodes you would like this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oWP8es4g4D0.html
@ha_tinkerer1191
@ha_tinkerer1191 4 месяца назад
All good ideas, but my family (and I) would get tired of getting the explanation/ instructions from the smart speaker. Here’s another refinement, perhaps evaluate the type of content (movie vs news, for example) and consider how long the show was playing. Can also consider the entry state. For example, if someone wants to start it from a scene (movie scene) then it runs, but if not then no. I realize guests won’t know movie scene, but this is “home automation” not “in the wild automation” so I’m not convinced that every edge case needs to be considered (eg, my daughter has a friend over who decides to watch a movie and doesn’t know to turn on or off the movie scene). Looking forward to the community’s thoughts here and appreciate adding the design goals.
@technithusiast
@technithusiast 4 месяца назад
Yup, quite a few folks here mention they would get tired of the automation machinesplain to them 😂. The goal of this video was to get people thinking about their user experience of an automation instead of the "cool factor" or even the "ease of use" factor. The UX will vary based on family/living situation. For example my family rarely watches tv so we go weeks without this automation triggering. So the short message is a reminder that it exists and how to use it. For other families where they watch more frequently a button may be a better choice. For example your movie scene you mentioned could be triggered by a labeled button that sits on a table beside the couch. That way anyone in the family/or guest can activate it. I also think you bring up a great point that not every edge-case needs to be addressed. If i could pushback a little, I would say that if i made an automation to make something easier but in the process created an inconvenience edge-case when the original issue had no edge-case in the first place, then i should try to minimize the likelihood (or remove completely) that edge-case without over engineering. Otherwise, it would have been better to not have create the automation at all. Great comment btw.
@andersonimes1892
@andersonimes1892 4 месяца назад
All or nothing violations: 1. I don't always want to close the blinds 2. If I'm with my wife and one of us wants to get the popcorn she doesn't necessarily want to pause the show.
@technithusiast
@technithusiast 4 месяца назад
Seamless automations are very tricky because of those situations where you don't want something to happen. Even if you want it to happen 90% of the time, the 10% when you don't want it to happen seems to hit harder.
@Techlifeandmore
@Techlifeandmore 4 месяца назад
I'm really confused why you went through the path of the home bridge Apple TV enhanced plugging to HomeKit automation to Home Assistant, versus doing everything directly in Home Assistant?
@jpileggi1
@jpileggi1 4 месяца назад
HomeKit makes sense since he is using the Apple TV…
@technithusiast
@technithusiast 4 месяца назад
Good question! It's as @jpileggi1 mentioned. I wanted to keep this as close to HomeKit as possible. I was trying my best to mirror Reed's original automation which was purely HomeKit. But you are right. I could have done this entire automation purely in Home Assistant... but sometime ya boi wants a challenge and change of pace 😛
@mice3d
@mice3d 4 месяца назад
I'd just say it's movie time. To enable lights etc Then have it auto turn off movie time when the device is turned off. Having to say disable theater lights and it says "enabled theater lights disabled" on the screen would confuse someone if they are disabled or enabled 😂
@technithusiast
@technithusiast 4 месяца назад
yeah the name of the scene was rather hastily named 😓
@sectune
@sectune 4 месяца назад
Neat idea, but it’s not a solution. It would annoy the hell out of me my house mansplaining every and each time that there is a toggle to turn the automation off 9:05 . Solution, get a cheap ikea zigbee remote, e.g. ikea rodret, map automation to its buttons, label on that remote what should happen when you press on the buttons.
@technithusiast
@technithusiast 4 месяца назад
LOLOL. I see you got your thinking cap on 😁🧢. You're correct that it could get annoying and that a button would be better. I wanted to show how the principles led me to create an automation that made for a great UX for our family, and how that manifests for your family will be different. The fact that you can identify that this would be annoying means you are thinking more deeply than most! In my case, my family and I will go weeks without turning on the tv (we not TV people) So the voice activation also act as a reminder.To be honest i get startled when it goes off with how infrequently it fires. Our living room layout doesn't provide a good spot to put a button. We would have to bring both the Apple TV remote and a wireless button to the couch if we wanted to toggle the lights which felt silly for us. But even though buttons wouldn't work for us it still may work for others so definitely go for it!
@stevehazeltine6487
@stevehazeltine6487 Месяц назад
You could mitigate that a little bit by restricting the mansplaining to once per watching session, or even once per day. When you start a show, it checks in: “We doing the lights thing for this movie or no?”
@jamesmackay6815
@jamesmackay6815 4 месяца назад
I have modes, for everything. Bath Mode, Shower Mode, Family Cinema Mode, Me Watch Mode yada... I can then separate that layer completely from the rest of my automations. So for example, my motion activated lights only work on Someone Home Mode, Guests Modes. Not putting lights on for burglars! Or flash red if security mode is on because someone is in bed. Modes have their own set of automations to trigger them on/off. The more granular the requirements the more modes. The TV Lights would be similar. So lights would only be allowed to trigger if the room has dark mode, someone home mode activated and room presence detected. That goes further as I can tell if it's me, the wife or us all in the room by whats on tv. We use different apps for different purposes which helps. So Tivimate, I don't want dim lights as we have that on for background watching mostly. Disney+, Netflix, Jellyfin on her account are the wifes watching mode triggers and Jellyfin on my account are for my triggers. That way, I can tell if for example, I want the TV to pause when I get up from my seat but that would never interfere with the wifes watching. I want to expand this with Bayesian sensors for modes rather than automations but it's been working great so far.
@technithusiast
@technithusiast 4 месяца назад
Very interesting approach. I have a few modes for my home but i've been purposefully limiting them as I find that things can get out of hand. Do you run into conflicting modes, or have modes that turn on/off but you don't know why or how something happened? Also how are you organizing your modes and what do you use to create your modes (HA or NR?)
@jamesmackay6815
@jamesmackay6815 4 месяца назад
@@technithusiast Thanks! Your content is right up my alley because you're going that one step further like I've always had to do to keep me and the wife happy. The HA forums confuse me as half those automations on there as they are would just annoy us here. Yeah they get unmanageable and I'm currently trying to devise a way to actually manage that. Conflicts happen but I haven't yet, touch wood, run into any I couldn't figure out. I started out with HA automations and hated the lack of organisation, I tried my hand at a fully coded approach with my own solution in node-js, that was ace but I've recently had a kid and can't spend 4-5 hours writing that anymore. I then moved to node-red and hit a similar wall/time sink with writing my own nodes feeding all of this. Then recently moved back to HA after the organisation improvements with labels and categories. So far those are working much better. They all have their strengths and weaknesses. I loved having node red generate devices for my rooms with all the modes as entities. It kept the automations in HA simple but it was a pain to quickly edit. If HA could create devices/entities with blueprints with the recent organisation boost I think I'd finally be happy. Have you played with the Bayesian sensor at all? Another idea was I'd seen a blueprint on the community page, with 0 comments or likes nonetheless, with a guy who wrote a blueprint system parsing automation names. So rather than conditions everywhere ( which becomes a memory hole ) you just write one blueprint to turn modes on and off based on the current state which seemed easier but I haven't tried it yet. I'm also trying to think of a way to do asserts, I mess with automations a lot and sometimes they break and I get an unhappy wife with no hot water for her shower 🤣. The asserts would at least warn me before that happened. "If no hot water by wifey bath time... Shout at me to sort and check the automation".
@technithusiast
@technithusiast 4 месяца назад
@@jamesmackay6815lol I feel your pain. I think tags have been a great step in the right direction but me personally have never been able to use tags effectively and end up with orphaned tags or tags with a single entity attached to it. But I still think it’s great! Idk if you code it you mentioned node JS and I assume you are aware of JavaScript being an event driven system. I’ve seen websites code go overboard with events and it created bugs due to conflicting modes or obscured events triggering different events. I’ve heard of the Bayesian sensor but haven’t learned how to use it. It seems really mystical and since it deals with probabilities I imagine it’s difficult to test effectively. If I figure out how to do modes effectively at scale I’ll let you know :D
@jamesmackay6815
@jamesmackay6815 4 месяца назад
@@technithusiast Hurry up! xD Yeah I'm finding same, I feel they're a bit too "free" if you get me. Currently the categories are lovely, but the labels I've been using haphazardly. I more use them as sub area's than anything else and not everything has a sub area requirement. Yeah I code, been a nodejs developer for a while now, event based is problematic sometimes, node red certainly handled that well in their integration. I liked I could wait for a state, or continue if already in that state. The same thing isn't so simple on Home Assistant. Nor when I'd coded my system on HA websocket. Bayesian is certainly, and part of the reason I've stayed away from it, but it keeps cropping up in my mind...
@technithusiast
@technithusiast 4 месяца назад
@@jamesmackay6815understanding and finding a good use for the Bayesian sensor is on my todo list. It seems like sophisticated tool that could solve a specific problem set well. But I admit that after reading through the docs for it, my mind went into hibernation-mode 😂
@AndreasBroagerLauritzen
@AndreasBroagerLauritzen 4 месяца назад
What if your wife wants to knit while watching TV? I had this automation, but is now disabled.
@technithusiast
@technithusiast 4 месяца назад
LOL, not surprised. Automations that are seamless are extremely prone to being deleted or disabled because they have to be useful without being annoying 100% of the time otherwise ☠️
@jorgeromero4680
@jorgeromero4680 4 месяца назад
I have the exact same automation and I disable it with an award cube
@technithusiast
@technithusiast 4 месяца назад
Yup, this automation sounds useful but quickly becomes annoying without a way to disable it. I like the cube idea btw 😁
@samuraiintellectual
@samuraiintellectual 3 месяца назад
Your content was great before the paywall. I understand if you are doing this channel to make money, thats just not the way I thought it would go when I subbed in April 2023. Sadly I will unsubscribe at this time. I truly wish you the best, you’re very smart and your presentation skills are great. Good luck.
@technithusiast
@technithusiast 3 месяца назад
What paywall did you hit?
@SayWhaaaaaaaaaaaaaaaaaaaaaaat
@SayWhaaaaaaaaaaaaaaaaaaaaaaat 4 месяца назад
3:50 PIECE OF CRAP automation!!! outside is day and automation turns on lights when tv is paused :DDDDDDDDD what a nonsense.
Далее
A NEW kind of Smart Home Dashboard 🥶
20:49
Просмотров 9 тыс.
the Rise and Fall of Adobe
28:08
Просмотров 386 тыс.
OYUNCAK DİREKSİYON İLE ARABAYI SÜRDÜ 😱
00:16
Провал со стеклянным хлебом…
00:41
How Blake Anderson built a $6 Million app with ChatGPT
33:23
Understanding Porsche's New Six Stroke Engine Patent
21:57
I used to hate QR codes. But they're actually genius
35:13
How much ALGAE do you need to breathe? TESTED
42:57
Просмотров 1,3 млн
Is It Time To Dump Home Assistant? - Hubitat C8 Pro
15:32
My Top App Pick For 3D Scanning: You'll Be Shocked!
16:26
The Smart Home Sensors I NEVER knew I needed!
11:47
Просмотров 187 тыс.
The best and worst decisions I made for my smart home
17:03
Распаковка Huawei Mate XT🔥
0:54
Просмотров 91 тыс.
3x 2x 1x 0.5x 0.3x... #iphone
0:10
Просмотров 2,7 млн
Распаковка Huawei Mate XT🔥
0:54
Просмотров 91 тыс.
Куда пропал Kodak?
1:01
Просмотров 9 млн