Home Assistant - Report On Unavailable Devices

Поділитися
Вставка
  • Опубліковано 27 лип 2024
  • In this comprehensive guide, we delve into the world of Zigbee protocols and Home Assistant. We start by providing a step-by-step walkthrough on configuring Zigbee protocols, specifically focusing on handling device unavailability.
    Next, we guide you through the process of importing a blueprint that allows you to report on these unavailable devices. This feature is crucial in maintaining a seamless smart home experience, ensuring that all your devices are up and running.
    The tutorial then progresses to the creation of an automation that sends out a message to your mobile phone. This message lists all the devices that have been unavailable for a specified time, keeping you informed about the status of your devices at all times.
    We conclude the video with a roundup of what the future might bring. With the possibility of this feature being included into the core of Home Assistant, we discuss how this could change the way we interact with our smart homes.
    Join us on this journey as we explore the intricacies of Zigbee protocols and Home Assistant. Whether you’re a beginner or an experienced user, this video has something for everyone!
    *** NOTE ZIGBEE2MQTT Timeout is in MINUTES not SECONDS - Amend your value accordingly **
    Remember to like, share, and subscribe for more helpful Home Assistant tutorials!
    🙏 If you would like to support me and this channel, you can JOIN and SUBSCRIBE 🙏
    Join - urlday.cc/ty4oo
    Subscribe - urlday.cc/njm5y
    #homeassistant #unavailable #zigbee #zwave
    ___ ☕ Buy Me A Coffee! ☕ __
    PayPal Coffee - urlday.cc/0hrs0
    Buy Me A Coffee - www.buymeacoffee.com/smarthom...
    __ 🕒📩 Timestamp 🕒📩 __
    00:04 - Introduction
    01:04 - Protocol Configuration
    03:18 - Blueprint Installation
    05:48 - Testing
    06:22 - Roundup
    __ 👋 Handy Dandy Information 👋 __
    Blueprint: Notify when Zigbee/Zwave/any battery device has gone offline - shorturl.ac/7d51l
    Import Blueprint (Battery) - shorturl.ac/7d51m
    Import Blueprint (Battery + Switches) - shorturl.ac/7d51n
    Battery Management: • HOME ASSISTANT BATTERY...
    Action YAML Code:
    The following devices are unavailable {{ offline_devices }}
    Full Notification YAML code:
    service: notify.mobile_app_XXXX_iphone
    metadata: {}
    data:
    message: The following devices are unavailable {{ offline_devices }}
    __ 🔗 Affiliate Links 🔗 __
    NordVPN (Get 72% off NordVPN + a Saily eSIM data gift) - go.nordvpn.net/SH8jJ
    Sonoff 15% discount, *SMARTHOMEAUS*, has now been increased to 15% on ALL products!!
    ZB Dongle-E - urlday.cc/jjb33
    Zigbee Bridge Ultra - urlday.cc/zca9m
    ZBMicro - urlday.cc/i5fmd
    SNZB-01P - Zigbee Wireless Switch - urlday.cc/5o8k6
    SNZB-02P - Zigbee Temp and Humidity Sensor - urlday.cc/ss33w
    SNZB-02D - Zigbee Temp and Humidity Display - urlday.cc/qq1ez
    SNZB-03P - PIR Motion Sensor - urlday.cc/86w5y
    SNZB-04P - Door Contact Sensor - urlday.cc/j8ifs
    SNZB-06P - Zigbee Human Presence Sensor - urlday.cc/4uy62
    Bridges / Coordinators and Dongles
    Sonoff iHOST Bridge - urlday.cc/0vdcq
    Zigbee 3.0 USB Dongle P Plus - urlday.cc/3bcqj
    NSPanel Pro - urlday.cc/fvf1b
    Home Assistant Server (HP EliteDesk 800 G4)
    US - amzn.to/3DcEjG8
    AU - amzn.to/44hsyZW
    ConBee II The Universal Zigbee USB Gateway
    US - amzn.to/3pFmE6S
    AU - amzn.to/3P5NtLo
    The site receives a small commission if you order from any of the links above. This does not cost you anything and is paid by the supplier.
  • Навчання та стиль

КОМЕНТАРІ • 23

  • @jordaynerjr
    @jordaynerjr 4 місяці тому +1

    Thank you so much for making this video I really appreciate it

  • @MrFGishere
    @MrFGishere 5 місяців тому +4

    Isn't the zigbee2mqtt timeout value in minutes? I believe a timeout value of 10800 for would be the equivalent of 180 hours.

    • @smart_home_australia
      @smart_home_australia  5 місяців тому +1

      Thanks @MrFGishere, you are correct, I just triple checked, I made an assumption. YT Wont let me amend the video but I'll put a note in the description. THANK YOU !!!

    • @fredjaspers4364
      @fredjaspers4364 5 місяців тому +2

      The information at this setting shows the time is in seconds

  • @b00573d
    @b00573d 5 місяців тому +1

    Will this send a notification daily even if there is no unresponsive sensors? When I hit run to test it out, it sent a notification, but no sensors were listed because all my sensors are currently responsive.

    • @smart_home_australia
      @smart_home_australia  5 місяців тому +2

      Hi @b00573d, in my testing it still sent the message but didn't list any devices is everything was responding.

  • @IanWilkinson-SgtWilko
    @IanWilkinson-SgtWilko 4 місяці тому +1

    The blueprint shows as deprecated, is that the link to the correct one?

    • @smart_home_australia
      @smart_home_australia  4 місяці тому +1

      Hi Ian, not is very much not deprecated, the last update was 21st Feb 2024.
      community.home-assistant.io/t/blueprint-notify-when-zigbee-zwave-any-battery-device-has-gone-offline/537631

  • @tld8102
    @tld8102 5 місяців тому +1

    all the time for me. even just my ikea lights become unresponsive.

    • @smart_home_australia
      @smart_home_australia  5 місяців тому

      Have you thought about a powered zigged device in-between also check to see if there is a newer firmware.

    • @MrFGishere
      @MrFGishere 5 місяців тому +1

      @@smart_home_australia I use the TRÅDFRI Zibgee Signal repeaters around my house and found my zigbee network has been stable

    • @smart_home_australia
      @smart_home_australia  5 місяців тому +1

      Which zigbee dongle are you using? I use the Sonoff Zigbee 3.0 USB Dongle Plus - (shorturl.ac/7ccqc) and it works fabulously and with great range.

  • @michaelthompson657
    @michaelthompson657 4 місяці тому

    When I put the curly brackets in for offlime_devices the curly brackets don’t become coloured like normal, they stay black. What am I doing wrong? Also when you say paste into the message field it doesn’t come up with the yaml editor

    • @michaelthompson657
      @michaelthompson657 4 місяці тому +1

      Ive now got it in blue with “{{ offline_devices }}” but when I run the automation it says the following devices are unavailable “” if you have no unavailable devices does it still run and would just come up with the above message?

    • @smart_home_australia
      @smart_home_australia  4 місяці тому

      Hi Michael, Make sure that you have the spaces in the correct places, ie. space before the offline_devices, and a space afterwards. Its a variable that is defines within the YAML. Not sure about the colours as in mine its all default colour. If there are no unavailable devices then it should just says "The following devices are unavailable" with nothing after the "unavailable", ie. no quotes.

    • @michaelthompson657
      @michaelthompson657 4 місяці тому

      @@smart_home_australia thanks ill have a look tomorrow. Could you use an if statement so if there are no unavailable devices do nothing, otherwise dhow the items?

    • @smart_home_australia
      @smart_home_australia  4 місяці тому

      I've not tried it as I like to get the message either way :). But yes, if you are running a recent version of HA, then instead of ADD ACTION to send the notification to your companion app, use the ADD BUILDING BLOCK, and add a CONDITION, check the content of the OFFLLINE_DEVICES, if there are devices (ie. not empty) then sent the messages, else do nothing.

    • @michaelthompson657
      @michaelthompson657 4 місяці тому

      @@smart_home_australia I assumed so! Although I’m not sure how to do all of that!