Like A Pro Service Monitoring with Uptime Kuma for Home Assistant

Поделиться
HTML-код
  • Опубликовано: 24 июл 2024
  • Recently Uptime Kuma has been added to growing list of Home Assistant AddOn's - thanks to ‪@Frenck‬ . And while you have other options to monitor services both internally in Home Assistant or by using integrations such as Uptime Robot, today we will look at this one and how to add it to Home Assistant.
    Until Uptime Kuma integration is merged in Home Assistant, you can use HACS component for integration:
    ⏵github.com/meichthys/uptime_kuma
    00:00 - Intro
    00:28 - Uptime Kuma
    01:52 - Installing and configuring AddOn
    03:00 - Configuring Uptime Kuma
    04:55 - Monitoring Home Assistant
    05:58 - HACS integration for Uptime Kuma
    08:34 - Simple automation for alerts
    10:48 - Wrapping video up
    Don't forget to give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
    Have fun!
    BeardedTinker
    ____________________________________________________________
    🧡 If you would like to support me and this channel, you can JOIN and become channel member on RUclips! 🙏
    ruclips.net/user/BeardedTinker...
    ____________________________________________________________
    📣Follow me on other platforms📣
    ✅Twitter: @BeardedTinker
    ✅Discord: / discord
    ____________________________________________________________
    (*) if any, should indicate links that are affiliated and/or tracked links. They don't cost you anything extra but provide small income to get this channel going, and finance future projects I make. Or are used by companies to see who is visiting website as result of seeing this video.
    #HomeAssistant #uptime
  • НаукаНаука

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

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

    Thank you very much. I've been battling on with Monit and was getting sick of editing config files and restarting the service. This is a great replacement! :)

  • @Tntdruid
    @Tntdruid 2 года назад +2

    Very cool, been looking for something like this 👍

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

      Glad you like it! Looks like it will soon not need HACS and maybe we get some more attributes than too.

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

    This looks great! Will help me remove a bunch of stuff I'd been using simplemonitor for ages now. I've setup the integration, but I've noticed that new checks don't seem to be getting picked up by Home assistant for some reason. Not quite sure what's up, continuing to chase down what's wrong.

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

      Try restarting Home Assistant, that may help it.

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

      @@BeardedTinker that seemed to do the trick. State with the entities after they’re discovered works fine without a hitch. Thanks!

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

    What is the name of the lovelace card used to display some of your uptime statuses? The one with the green vertical bars and the 100% below?

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

      It's called Uptime Card :) available in HACS.
      github.com/dylandoamaral/uptime-card

  • @warter75
    @warter75 2 года назад +2

    There is a notification (email/telegram/etc.) integration in Kuma. It is a much better and faster way to get notification about status changes.

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

      Yes, there are also other platforms there too, but we want it on Home Assistant :)

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

    Nice to have a well focused video to watch before work. Do we know when it will move into Core.

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

      Thank you Claire!!! It's been in pending state for some time - needing approval. But since AddOn was added few weeks ago, I hope it can make it in 2022.7. Here is the link:
      github.com/home-assistant/core/pull/67985

  • @ictstelucjam3604
    @ictstelucjam3604 2 года назад +2

    Nice video BT, Thanks. Already integrated and working just fine. Now we can do a litle bit more and different as only with Glances. One question, Whats the name of your Lovelace frontend cards that you use in your video? For example the green block diagram for your MQTT?

    • @BeardedTinker
      @BeardedTinker  2 года назад +3

      Thank you very very much!!
      The card I used there is HACS custom card - Uptime card. It's perfect or made just for this.

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

      @@BeardedTinker Yes, got it. But how or wich sensor and config in Kuma are you taking for the MQTT port status?

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

      @@ictstelucjam3604 for MQTT I use MQTT monitor tzpe, IP addres of MQTT server, port 1886. And for MQTT topic I look for zigbee2mqtt/bridge/state with state online.
      This is state of my Zigbee USB stick for Zigbee2MQTT. If that's available (in state online) that checks both my MQTT availability, but also that my Zigbee network is probably up too.
      And sorry for late reply, just seen it now - missed notification.

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

      @@BeardedTinker Did you already tried or managed in Kuma the webhook with Syno-Chat? I tried a lot now, but I cant get it done. I tried the HomeAssistant > Syno chat way like in your video, but that doesnt function. The Webhook doesn't functioning

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

      @@BeardedTinker Ah, perfect, thanks a lot! So thanks to this (topic: zigbee2mqtt/bridge/state) I'll be monitoring MQTT and also Z2M :) Sweet!

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

    Hey, nice video, thanks! Question: how can I get that nice diagrams about the services availability history to the dashboard? Thanks!

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

      Thank you Pavol! I use HACS Uptime card - it can be a bit of pain if you want to do more fun visuals with it, but it's great for displaying service status.

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

      @@BeardedTinker Thanks!

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

      @@BeardedTinker can you explain how it works please? Because, i get an unknown status error. I tried both sensors, binary and regular sensor, but neighter works... Also not on all other sensors...

  • @ItamarValdman
    @ItamarValdman 6 месяцев назад +1

    thanks for the video! I like your channel verry much!
    could you please tell me how is it better than the ping integration? it seems a very fancy way to do a very simple thing that is achievable by the ping integration....

    • @BeardedTinker
      @BeardedTinker  6 месяцев назад +1

      With ping you get response from OS, and here you can also monitor availability of the apps or services. For example - MQTT host may be working, but service is down. And that's very big difference. I remember when one big bank called to report core system down and one of my tech guys did ping test and said everything is ok. Sure, network is working but people can't get their money :)

    • @ItamarValdman
      @ItamarValdman 5 месяцев назад

      @@BeardedTinkerAmazing! thank you!!

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

    For some reason I'm not able to add the uptime_kuma repo to custom repositories in HACS - has anoyone encountered that?

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

      Not sure why, but looks like repository is archive by owner. You can still install it by hand (download and copy files in custom_components folder.

  • @sarnog
    @sarnog 2 года назад +2

    Anybody else having trouble to add the repo to hacs? Is doesn't add it in my hacs

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

      It may be because author has archived the project: github.com/meichthys/uptime_kuma
      Not sure if it's possible to install when component is archived or not.
      But on the other hand, I still got it working on 2 of my systems.
      You can try manual install for HACS components as this should work.

  • @wilhelmspeck5870
    @wilhelmspeck5870 9 месяцев назад +1

    Thanks for you great videos. I Installed Uptime Kuma after I initially saw your video. I now have the problem that I cannot seem to remeber the username/password I used during the installation. I have set up about 15 servers/instances that I control, so I don't want to setup everything again. Do you have any idea how I could reset the credentials for uptime kuma inside homeassistant? TIA

    • @BeardedTinker
      @BeardedTinker  9 месяцев назад

      Not sure how you installed it - but you can try running this command if it's in docker: docker exec -it npm run reset-password
      Try it with telnet/ssh addon.

    • @wilhelmspeck5870
      @wilhelmspeck5870 9 месяцев назад

      @@BeardedTinker Thanks, I just installed using the HA Addon.

  • @fretbuzzly
    @fretbuzzly 7 месяцев назад +2

    This method doesn't work unless you have HA OS installed. Doesn't work this simply via the Docker install. No one seems to mention that, but it's a huge miss in these setups. If you're running HA via Docker the Add-Ons option isn't available at all.

    • @BeardedTinker
      @BeardedTinker  7 месяцев назад

      I think it's pretty clear from title - it's add-on?

    • @fretbuzzly
      @fretbuzzly 7 месяцев назад +2

      @@BeardedTinker Add-ons require HA OS. Unless you know that already there is nothing clear about it. Not everyone that watches knows everything about HA. A few more words would be helpful to your newb followers.

    • @BeardedTinker
      @BeardedTinker  7 месяцев назад

      But you can still install Uptime Kuma in Docker and use it like this. It should work the same as addon - docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

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

    Thanks great video. First.

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

    Do you know how i can get access to this add-on via Nabu-Casa? I guess since this is not an ingress enabled app, i would need to manually forward ports and use my ISP IP instead?

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

      Didn't try Nabu casa, but port forwarding should work.

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

      @@BeardedTinker Nabu Casa is well worth the money imo. Might just get openvpn setup instead of port forwarding, but thanks!
      Is it possible to use the uptime card for this rather than entity states?

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

      ​ @Tom Still I have Nabu Casa but don't use it. Was thinking that I didn't try Uptime Kuma with Nabu Casa :)
      But you could try using panel and maybe play with it + reverse proxy.

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

    And how can I update a newer version off kuma, if I have an active version in home assistant??

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

      Same way as you update other AddOn components. When update is available, click on update and that's it
      If you have Docker installation, you can use Watchtowe to update any of your containers. I suggest to tžrun it with command run-once and please read the documentation.

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

    Hello,How can make enteties look like yours ? My just looks like node-red UP , not lik your green retangulars.

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

      I use HACS custom:uptime-card - it can be customised to easily see state of the service.

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

      @@BeardedTinker thank you , i Installed that card , but stil showing error . Can you show me write editor how your entities looks please?

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

    Did anybody figure out how to get the home assistant built in notification service in uptime Kuma?

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

      In what way? As a notification for issues with services or...?

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

    the github page has been archived.. any idea how to install the integration manually?
    thanks

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

      You should be able to copy by hand fodler from within custom_components on GitHub. It's uptime_kuma folder. Recreate it in HA under custom_components folder with all of the files

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

      @@BeardedTinker thanks, that's what i've done😁 seems to be working

  • @19papafrank66
    @19papafrank66 2 года назад +1

    Great video, but sadly the repositorie is no longer available

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

      Yes, that's really sad. You can still install it by hand directly from GitHub but this also means there will be no updates.

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

    Mine keeps failing to connect trying to add the Kuma integration itself after setting up Kuma in HACS completely. Anyone else experience that?

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

      Gave you installed Uptime Kuma AddOn first? Do you see in AddOn something in the log file? And what version it is.

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

      I’m having the same issue, and the add-on is installed and running. Nothing in the logbook

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

      Did you visit uptime kuma web page and set service there?

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

      Yeah, it’s currently only monitoring two things and I have a dashboard for it

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

    Neither GitHub repositories work with the latest Home assistant update

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

      They do actually. You just can't install them via HACS. Instead you need to copy files by hand from GitHub to custom_components folder.
      If they don't load up, check your log. Some users got error that sensors already exist and if you do get that error - just delete/remove current sensors and it will create new ones.

  • @user-zr7kz4vs7c
    @user-zr7kz4vs7c 2 года назад +1

    May I ask is this UptimeRobot?

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

      No, this is alternative to it. Locally hosted as AddOn in Home Assistant.

    • @user-zr7kz4vs7c
      @user-zr7kz4vs7c 2 года назад

      @@BeardedTinker great

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

    how to change logo and name?

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

      For what exactly? In UI?

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

      @@BeardedTinker yes

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

      @@BeardedTinker how?

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

      For name, that's easy - press on "show visual editor" and just change name.
      For icon - type also there icon: mdi: and than the icon you want to use.

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

      @@BeardedTinker in the website or in the project. i use repilit

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

    8:14 Mine keeps failing here

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

      It the AddOn running? What do you see in log file for Uptime kuma addon? Do you maybe have any other service running on same port?

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

      @@BeardedTinker add-on is running, nothing in the logs, and nothing is running on that port. I set this all up this morning

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

      My Home Assistant is running off my gaming laptop as I don’t have any other thing for it to run off

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

      Is it running in Vitrual Machine, as Docker or?

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

      @@BeardedTinker Virtual machine in Virtual box on Windows

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

    One problem: Can not use the web-ui. Got SSL-error as I'm using reversed proxy in Home Assistant. Chrome does not like that :-( Solved by using :3001 instead.

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

      Have same issue - will need to play a bit and create new App for it in reverse proxy or be import SSL cerificate. I would prefer first option. It shouldn't be a problem as it is trying to pen specific port, so that solves one issue. Other option would be to create iFrame panel in HA as I think there would be no need for SSL certificate.
      but just haven't had time to do it yet.