GET NOTIFIED of an outage in your home lab or anywhere with Uptime Kuma and Home Assistant.
Вставка
- Опубліковано 30 лип 2022
- The Uptime Kuma Add-On in Home Assistant can monitor all kinds of services in your local network or remotely as well as send alerts to 90+ services. Let's install and set up Uptime Kuma!
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
#SmartHome
#UptimeKuma - Наука та технологія
So cool! This is an add-on you don't realize you need until you see it.
Thank you chris I requested you for chkmg video but you have provided a better one with Kuma. Thank you for your effort much appreciated
Yeah. I may still do a Checkmk video but this one is easier to get up and running for sure.
Whoa... Thank you! This looks really useful.
You're welcome. Thanks for watching!
Just for clarification: Uptime Kuma is not "based on Uptime Robot" - it is maybe a tool inspired by Uptime Robot, but completely independent from it.
Very very good 👍
Thanks!
Hi, thank you for showing this, i have a question though. If electricity turns of at my home, and therefore my router is turning off, will I still be able to get notified?
Very nice video
Thanks!
Thanks for a great video. Just wondering about security/privacy of using this. Seems like a lot of information is used in the setup, especially notifications.
Thanks for a great vide. What do you write under "Notification Service'" for notification type Home Assistant? I tried entering notify.group1 (name of my group notification) but didn't succeed. Any ideas?
Quick question. I setup uptime Kuma. I only seem to get notified when a service goes back online. When it goes offline it does not notify me. Works perfectly sending an e-mail to me but only when a service is back online. I have my HA and three cameras. When any go down no notification as soon as any of the 4 services go back online it works beautifully. Am I doing something trivially wrong?
hah, nice I just setup telegram alerts for kuma yesterday, super easy
Excellent!
Thanks for a great presentation. However I cannot access it by clicking on "Open Web UI". I get "refused to connect". I use Ubuntu with "Virtual Machine" as docker for HA. Any suggestions?
Great video! Just curious.. why is Adguard your backup DNS server? Do you use an Adguard alternative as your main DNS server?
I run two instances of AdGuard in my network. That way when I reboot my HA Blue or my Pi, there is at least one DNS server running. All my internal devices use one of the AdGuard servers.
@@mostlychris thanks for this explanation. I was hesitant to run an instance on my HA Blue because I was worried that when I had to rely on only one DNS server my performance would decrease on my network. Have you experienced that at all?
Thanks for sharing this. Is this a good way to track ISP performance and uptime (using remote pings and http) or would you recommend some other tool? I'm concerned that my internet connection isn't always performing properly and this could certainly document its performance over time. What monitoring do you suggest to track ISP performance?
This doesn't sound like a bad tool for that although with research you might find a better tool depending on what information you want to collect. I'm not sure if you are trying to test speed too. When I was having problems with my ISP years ago I went low tech an created a batch file that output to a text file. Nice and simple!
You could add a remote monitor somewhere that you felt was reliable and watch the uptime graphs on that monitor. It might give an indication of problems. The graphs in Kuma are fairly simple but could potentially indicate an issue.
@@mostlychris I never thought about this but my router gives a pretty good amount of information. There has to be a way to capture that. No better place to get the data then the Modem or the router. There is an integration for my router that already measure certain aspects. I think it was using ssh.
Yes but may want to change the time period to longer. I believe the basic is 6mo (180 days). You could ping a dns server of your own choice or the ISP and use that data. Otherwise SmokePing has really detailed info
Thanks Chris for that suggestion. Your video is really nice.
I have just a question (naturally):
How is it possible to embed a status page into a HA daskboard?
Firefox just gives an error message when I try stating that it's unsave.
Thanks in advance for a hint.
Cheers
I haven't tried that. Are you using https in Home Assistant and that is causing an SSL cert issue in Firefox? Not sure why you would be getting unsafe otherwise. As I mentioned in other comments, you could set up Nginx Reverse proxy to make a connection to Kuma on it's internal port.
@@mostlychris
Its an issue. I don‘t use https. Anyways I have worked arround that problem with a hacs integration. ua-cam.com/video/9xBGO2Fpnkc/v-deo.html
Cheers
I noticed there’s an app for Uptime Kuma, any chance of a video on how to set it up?
Thanks for anther useful video. Just downloaded Kuma to keep track of my connected devices. Just curious, when would you use ping vs http(s)? For example, why cant you just ping your HA Blue? thanks!
I use ping only for devices that don't have a working port or for those devices that won't respond correctly to other types of requests. Sometimes a device will stop working but is still pingable. An example is my ADSB service or my APRS service. The pi those run on will still respond to pings but the service itself is down. I want to get a response from the service itself.
@@mostlychris oh that's brilliant thank you for explaining that. Cheers
What other notification service would you recommend other than pushover? Preferably free 😅
There are many. I have been using Pushover for so long I haven't looked around. I saw a comment that someone just set up Telegram. Curious what others would say to your question.
very cool. begs the question... what kind of outages kill the messenger?
Good question. Commercial monitoring services have high availability in many regions. Home labs, well....
I run Uptime Robot to see if my ISP router is available on the Internet side for awareness. If that goes away and I'm not at home, I know I won't get any alerts for home stuff.
Is much better installing on a separate docker and not as a home assistant add on.
Can you use this to trigger some Home Assistant automations? For example to power cycle a smart plug which connects to a server if it detects a server is non responsive and has crashed?
I have read that people are using webhooks to create automations against Kuma alerts. There is also a native Home Assistant notification service in Uptime Kuma that you might be able to utilize.
need yr help please how can i update kuma on Windows
additional monitor to my home assistant monitor... I don't use home assistant to use another service where I have to connect, log in and see my statistic...
Home Assistant Add-Ons are only available when you have HA OS installed. They don't work if you have HA installed via Docker. Pretty big miss in the explanation of how this works.
What is that highlighter pointer called that your using?
MouseHighLight
@@mostlychris - thanks
i can get this to work no problem locally but if i open home assistant via nabu casa then i cannot open the web ui to set up monitors.. any ideas?
This is one of the few add-ons that I use that doesn't have ingress support. This means it is not directly reachable from Nabu Casa. You would need to port forward that port to your HA instance. However, I am using the Nginx Reverse Proxy to do that. In fact, anything that I need to reach internally that isn't part of HA I use the Reverse Proxy to accomplish it. I can now go to monitor.domain.... to get to my Uptime Kuma install.
@@mostlychris thanks, I might try port forwarding.👍
Am i right in thinking this wont work easily with cloudflare
Has anybody used the State Timeline in Grafana to display the Uptimekuma data? It looks like once the device state is given to Grafana it doesnt update again until there is a change of state. Has anybody worked out how to graph an unchanged state?
That's an interesting concept I hadn't thought of. To answer your question I have not, but it's something I am going to play with.
@@mostlychris i thought i would let you know i eventually got this to work. In grafana you can overwrite the time value in the panel editor by changing the query options, relative time. I have set mine for 365 days and now I can see the status of all my sensors as reported by uptime kuma even if they havent sent a status update out for a long time. Ie they are up so they dont keep sending the up status
After install, I cannot access it by clicking on "Open Web UI". I get "refused to connect". I am using DuckDNS as well if that matters...
Pushover. Does the pushover app have to be running (in the background) to get IOS notifications? If you stop the app, will you get notifications?
I have Android devices but I would assume it works the same. I haven't opened the Pushover app in months and I still get notifications. I think it just runs as a service. Each OS gives different settings on how to handle notifications with apps so you'll need to make sure it matches what you need.
@@mostlychris Just as a follow up. I decided to go with Pushy for notifications. They have a free tier, although I did have to compile an app and load on my iPhone (I'm comfortable with Flutter, so used that). And yes, I still get notifications even if I've forced closed the app. Thanks for the video about Uptime Kuma, I really like it.
Great video. Can this tool monitor Internet connection, up/down status? My building has multiple internet connections. Would like to know when one goes down. Thank you
Need uptime robot website from outside the network maybe, to ping the 2 IP's.
Thank you sir for the video. I have a question. For example, i have 4 different servers with different VPN connections.
Can i track them with Kuma? does Kuma has a built in vpn option? or any alternative app for this issue . thank you
If Kuma can get from itself to the destination IP:Port it can monitor. It really just depends on what your network and VPN setup is like. There is not a VPN option for Kuma. You could use something like tailscale to get from the Pi to other networks but that is beyond the scope of this "simple" example.
it snot working for me i get this error message "write EPROTO 547651610960:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:" any idea what this means and how to resolve this?
the reason it errored is because for Localhost we don't really need https, please try with http instead of https
Sounds like you figured it out.
Nice tool! I've been using variety of methods to monitor things including a web scraper in HomeAssistant. This is probably a bit easier to set up. 🤣
I was watching on my phone in the dark... So yes you blinded me. 👨🦯
Lol... Dark mode to light mode. Boom! Also, screen scraping...gross.