LOCAL CALENDAR in Home Assistant! Schedule automations and track schedules.

  Рет қаралды 25,941

mostlychris

mostlychris

Күн бұрын

Use the new local calendar as a regular calendar and also schedule automations to turn on and off entities in Home Assistant.
Links:
Local Calendar: www.home-assistant.io/integra...
Automations: www.home-assistant.io/integra...
Support this channel by becoming a member:
/ @mostlychris
Discord: / discord
If you would like to support me:
Buy me a beverage: ko-fi.com/mostlychris
Become a patron: / mostlychris
Products I reference in my videos (contains affiliate links)
www.mostlychris.com/my-smart-...
My Website: www.mostlychris.com
DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.
Want to send me something? Send it here!
Mostlychris
24165 IH-10 West
STE 217 Box 164
San Antonio, TX 78257
#HomeAssistant
#HomeAutomation
#SmartHome
#automation
00:00 Intro
01:31 Install Calendar
02:20 Managing Events
04:05 Jan 2023 feature updates
05:05 Notification automation
08:48 Lighting automation
10:47 Mobile event notification example
11:20 Final thoughts and wrap

Пікірлер: 45
@DementedDog
@DementedDog Ай бұрын
I’ve just looked at this again and am using it with iCloud calendars - but what would be good would be if you could extract data from the calendar event and use them in the automation. For example, include the entity name of a radiator and include the temperature in the body or subject of the calendar event, and then run the automation with those data 🙂
@Marc42
@Marc42 8 ай бұрын
Nice one, thank you very much!
@robjeeves
@robjeeves Жыл бұрын
Love your work Mate. Greetings from Australia 🇦🇺
@EdwinPWeston
@EdwinPWeston Жыл бұрын
Great job, is/will there be a way to import events similar to Google calendar using a CSV file or maybe thru the API? I ask because my wife has a job where her schedule changes week to week. I import her work schedule into Google calendar and use Node-Red to send her notifications. She can also ask Alexa, "What is my schedule tomorrow", so now with "The Year Of The Voice", perhaps soon I can get all this to be local. 😉
@scottswf238
@scottswf238 Жыл бұрын
Why not use the scheduler card/custom component to schedule things it seems so much easier. Am I missing something?
@BlackArcticElec
@BlackArcticElec Жыл бұрын
Hi, would you have an outline on how you would use this to trigger a ESP32-Camera to take a snapshot ever time of a calender entry?
@Lonestar101
@Lonestar101 Жыл бұрын
Thanks for the video. Is there a way to automate a change in lock PIN codes in Keymaster? This might be useful for people with short-term rentals, for example.
@mostlychris
@mostlychris Жыл бұрын
Keymaster does expose services to the automation. I see add code, clear code, refresh codes, and one unrelated keymaster service. You could set up your calendar to clear codes from a lock and the send a new one prior to a guest checking in. So the answer is likely yes.
@gorazdveselic7022
@gorazdveselic7022 Жыл бұрын
How can I get number of days till the next specific event (search from description) , and store it to binary sensor
@robdekoning1574
@robdekoning1574 Жыл бұрын
I am having trouble getting my automations to trigger. One thing that struck me, was that summary was not a visible attribute in the entity state in Developer Tools, however my automations do run properly when manually triggered so I'll assume that's not the issue? They are very basic and simply set an input_boolean on or off at the start and end of an event. My trigger consists of just platform, event, offset, and entity_id. I noticed you deleted the offset, however I am attempting to use it. You said it wasn't correct, but perhaps I missed, how it was incorrect?
@claim71
@claim71 Жыл бұрын
Great video. Helped me to setup the Google calendar integration. Is it possible to send each day a overview of all appointments for that day? preferable to my phone as notification
@mostlychris
@mostlychris Жыл бұрын
Haven't tried this. I need to check and see if it is possible.
@kylegurney8610
@kylegurney8610 Жыл бұрын
Question: how would you link a calendar event to a card? My plan is to make a garbage collection section on my dashboard. I was hoping to use a mushroom cards to change colors when the the calendar event starts and then change colors back when it's over. I would also like to be able to toggle the icon to change color if I take the garbage can out
@DaManOommen
@DaManOommen 5 ай бұрын
Did you ever figure this out?
@kylegurney8610
@kylegurney8610 5 ай бұрын
@@DaManOommen yeah I did I ended up finding a tutorial on home assistant community page. Worked out quite well
@nyx574
@nyx574 Жыл бұрын
Thanks Chris, I've been trying to expand the calendar notifications to mobile devices to, any insight?
@mostlychris
@mostlychris Жыл бұрын
My video actually sends notifications to my phone via the notify service. I do have the Home Assistant companion app installed. If you don't want to use that, there are other options such as pushover, which I also use for some of my notifications. Just like most cloud based calendars, you'll need a specific app installed.
@JeffHagedorn
@JeffHagedorn Жыл бұрын
I have been trying to get Lights scheduled since the "Local Calendar" came out. I have matched up just how the automation is setup on the HA page. But it will always show the switch being set to the "OFF".. I wish I could post my YAML automation.. :)
@mostlychris
@mostlychris Жыл бұрын
Post it in my Discord and I will take a look.
@mikaelsjogren5736
@mikaelsjogren5736 Жыл бұрын
If I want to do a voice notification in the morning for the events during the day, is there a way to read all events for say the next 18 hours?
@mostlychris
@mostlychris Жыл бұрын
Interesting concept. I don't know of a way to do that with a simple automation. I'll have to play around and see if there is a way to call future events. Since they display on the calendar, it's likely possible but I would need to see what kind of programmatic access there is to the calendar.
@davidsmith2394
@davidsmith2394 Жыл бұрын
Been using the calendar automations for a few years with google calendar. It’s actually one of the reasons I started with ha. Not sure what’s really different here other than the local calendar. I will still stick with google since it syncs with my phone and tablets. The ha local calendar is not exposed to the internet just yet
@andersyuran7725
@andersyuran7725 Жыл бұрын
If you want it on the internet there is no meaning using this new calender. Just go on with Google. No need to invent a new cloud based calender.
@mostlychris
@mostlychris Жыл бұрын
It's simply another option. I can see being able to create calendar specific to one type of entity (lights for example) and have things happen based on that specific calendar. My calendar is available via HA anywhere so not sure what you mean by "exposed to the internet". The other thing to consider is that it is local and not cloud based. Again, it's really personal preference, especially for those that don't want to go through the process of integrating the Google stuff (or don't have it).
@RandomTorok
@RandomTorok 3 ай бұрын
Won't allow bimonthly events. Or events every 21 days.
@74357175
@74357175 Жыл бұрын
Question: for recurring events , what are the pros and cons of using a recurring calendar entry versus the datetime trigger?
@mostlychris
@mostlychris Жыл бұрын
I think that is a preference thing. I don't know that one is better than the other. However, seeing what will be triggered by simply looking at the calendar might be helpful in some cases.
@74357175
@74357175 Жыл бұрын
@@mostlychris cool. Does the calendar give any guarantee that an event will trigger if, say, the server was in the middle of an upgrade while the trigger was supposed to happen? I'm asking because the "read events every 15 min" suggests there might be some smart behavior for queueing events
@mostlychris
@mostlychris Жыл бұрын
@@74357175 I haven't tried that yet. I would think that since the automation relies on a trigger, it would not fire if the server were rebooting during the trigger time. I need to experiment.
@Don-wd2qn
@Don-wd2qn Жыл бұрын
@@mostlychris Good day Chris! I am new to HA and feel like I'm drinking from a fire hose! I am in the process of moving from Homeseer (after 15 years) and am trying to equate HA to HS functions and features. I was wondering if there is a way to use the Sun entity to offset a calendar event, start/end time (+/-)? I have some important Homeseer automations that use this capability. Thanks for the hard work you put into producing these informative HA videos! Over the past month, I believe I have viewed all of them (some more than once 😲). Thanks in advance for your reply! Don
@nayz-
@nayz- Жыл бұрын
Does this work with CalDav integration?
@mostlychris
@mostlychris Жыл бұрын
Not sure. I'll need to check on that. I would think so, though, since the event shows in the timeline.
@jagadeeshv2763
@jagadeeshv2763 Жыл бұрын
In Local Calendar, it is really hard to navigate to specific year ..... we have to go through all the months
@mostlychris
@mostlychris Жыл бұрын
Thanks for the feedback. I've sent your comment to the developers.
@74357175
@74357175 Жыл бұрын
Giving a shout-out to pyscript cron-like time trigger!
@mostlychris
@mostlychris Жыл бұрын
Do tell.
@74357175
@74357175 Жыл бұрын
@@mostlychris you can do things like trigger using "cron(min hr dom mon dow)" notation (among others) to concisely formulate recurring events
@mostlychris
@mostlychris Жыл бұрын
@@74357175 Interesting. Didn't know that.
@74357175
@74357175 Жыл бұрын
@@mostlychris btw I put a link to the relevant docs in my comment but the entire comment got removed. 😕
@Jcarlier50
@Jcarlier50 Жыл бұрын
great video but how to delete a google calendar ?
@mostlychris
@mostlychris Жыл бұрын
Thanks! You delete a calendar just like you delete any other integration. You go to the integrations page, choose the calendar, click the 3 dots in the lower right of the box and click delete.
@Jcarlier50
@Jcarlier50 Жыл бұрын
@@mostlychris i dont speak about local calender but about google_calendars.yaml (cal_id).. thanks
@Jcarlier50
@Jcarlier50 Жыл бұрын
@@mostlychris i dont speak about local calender but about google_calendars.yaml (cal_id).. thanks
@dpn1604
@dpn1604 Жыл бұрын
I've been doing this with node red, although the Google calendar integration is interesting
@mostlychris
@mostlychris Жыл бұрын
Another way, especially for those that don't use Node-Red. I like having multiple options.
Meet Spook. A new toolbox for Home Assistant. It's SCARY!
30:46
mostlychris
Рет қаралды 47 М.
TOP 10 HACS Integrations and Frontend Components in Home Assistant
18:23
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 134 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Use Timers to build Reliable Automations in Home Assistant
8:33
SlackerLabs
Рет қаралды 74 М.
5 Home Assistant Built-In Integrations You Probably Should be Using
12:45
DOES IT WORK? Using SECTIONS for My New Home Assistant Dashboard.
14:43
Create your OWN sentences for LOCAL VOICE CONTROL in Home Assistant
21:00
Mastering Home Assistant Templates: A Beginner's Guide
23:56
SlackerLabs
Рет қаралды 49 М.
LoRA & QLoRA Fine-tuning Explained In-Depth
14:39
Entry Point AI
Рет қаралды 34 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 7 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 455 М.