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

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 48

  • @dirkvanturennout9698
    @dirkvanturennout9698 4 дня назад

    Thank you for making the video. I would like to know more about how I can link a specific calendar appointment to the color of the lights in my house.

  • @kylegurney8610
    @kylegurney8610 2 года назад +5

    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 10 месяцев назад

      Did you ever figure this out?

    • @kylegurney8610
      @kylegurney8610 10 месяцев назад +1

      @@DaManOommen yeah I did I ended up finding a tutorial on home assistant community page. Worked out quite well

  • @scottswf238
    @scottswf238 Год назад +1

    Why not use the scheduler card/custom component to schedule things it seems so much easier. Am I missing something?

  • @geekchameleon
    @geekchameleon 2 месяца назад

    I want _everything_ to run inside my home. No external tools, like Google calendar.
    How would one update an input_text with the NEXT appointment when the current appointment begins? I see how to fire an automation when an appointment begins and display the current appointment into a different input_text field.
    I've tried to work with:
    set next_event = state_attr('calendar.appointments', 'next_event')
    and
    set events = state_attr('calendar.appointments', 'events')
    - Neither returns anything usable, even though I have more than 30 future events. They return with the error "Error rendering data template: Result is not a Dictionary"

  • @DementedDog
    @DementedDog 6 месяцев назад

    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 🙂

  • @tikitakaboyz5050
    @tikitakaboyz5050 2 месяца назад

    What's a simple way for me to setup my climate turning on/off every work day (same 5 days of the week) at certain hours?

  • @robjeeves
    @robjeeves Год назад

    Love your work Mate. Greetings from Australia 🇦🇺

  • @74357175
    @74357175 2 года назад +1

    Question: for recurring events , what are the pros and cons of using a recurring calendar entry versus the datetime trigger?

    • @mostlychris
      @mostlychris  2 года назад +1

      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 2 года назад

      @@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  2 года назад

      @@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

  • @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?

  • @mikaelsjogren5736
    @mikaelsjogren5736 2 года назад +1

    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  2 года назад

      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.

  • @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?

  • @gorazdveselic7022
    @gorazdveselic7022 Год назад

    How can I get number of days till the next specific event (search from description) , and store it to binary sensor

  • @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.

  • @Marc42
    @Marc42 Год назад

    Nice one, thank you very much!

  • @Lonestar101
    @Lonestar101 2 года назад

    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  2 года назад

      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.

  • @RandomTorok
    @RandomTorok 8 месяцев назад

    Won't allow bimonthly events. Or events every 21 days.

  • @davidsmith2394
    @davidsmith2394 2 года назад

    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 2 года назад

      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  2 года назад

      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).

  • @nyx574
    @nyx574 2 года назад

    Thanks Chris, I've been trying to expand the calendar notifications to mobile devices to, any insight?

    • @mostlychris
      @mostlychris  2 года назад

      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 2 года назад

    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  2 года назад

      Post it in my Discord and I will take a look.

  • @jagadeeshv2763
    @jagadeeshv2763 2 года назад

    In Local Calendar, it is really hard to navigate to specific year ..... we have to go through all the months

    • @mostlychris
      @mostlychris  2 года назад

      Thanks for the feedback. I've sent your comment to the developers.

  • @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. 😉

  • @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.

  • @74357175
    @74357175 2 года назад

    Giving a shout-out to pyscript cron-like time trigger!

    • @mostlychris
      @mostlychris  2 года назад

      Do tell.

    • @74357175
      @74357175 2 года назад

      @@mostlychris you can do things like trigger using "cron(min hr dom mon dow)" notation (among others) to concisely formulate recurring events

    • @mostlychris
      @mostlychris  2 года назад

      @@74357175 Interesting. Didn't know that.

    • @74357175
      @74357175 2 года назад +1

      @@mostlychris btw I put a link to the relevant docs in my comment but the entire comment got removed. 😕

  • @dpn1604
    @dpn1604 2 года назад

    I've been doing this with node red, although the Google calendar integration is interesting

    • @mostlychris
      @mostlychris  2 года назад

      Another way, especially for those that don't use Node-Red. I like having multiple options.

  • @Jcarlier50
    @Jcarlier50 2 года назад

    great video but how to delete a google calendar ?

    • @mostlychris
      @mostlychris  2 года назад

      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 2 года назад

      @@mostlychris i dont speak about local calender but about google_calendars.yaml (cal_id).. thanks

    • @Jcarlier50
      @Jcarlier50 2 года назад

      @@mostlychris i dont speak about local calender but about google_calendars.yaml (cal_id).. thanks