Uptime-kuma to home-assistant

The attributes include the response time for the request, which you could graph. Or, do what I do and add the data into Prometheus and then use Grafana for graphing, etc.

Good Morning

I wonder if someone could help me, I’m trying to figure away to monitor the Home assistant addons via uptime Kuma (keywords).

One addon I really want to monitor is Deconz to see if it running or not.
http://homeassistant:8123/core_deconz/dashboard
I have uptime Kuma running on in a docker container on the same network

Does anyone know if this would be possible?
I think I’m having issues with the authentication as when I run this in incognito mode I just get Username and Password

No guarantees, but the changes made in v2.0.2 should make the credentials optional.

Thanks. Still no luck

Hi,
my uptime kuma AddOn works, but the integration fails.
I tried to reinstall it, but that is not possible.
Message: “500 Internal Server Error Server got itself in trouble”
Is there an advice?
Regards, Eckart

I am getting this error when attempting to login:

http://pastie.org/p/5UT1hm5fVvX5sVhre6zV2A

Any thoughts on how to resolve?

the integration is broken in the new 2023.3.1

Logger: homeassistant.setup
Source: setup.py:205
First occurred: 6:44:54 PM (1 occurrences)
Last logged: 6:44:54 PM

Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: [‘pyuptimekuma==0.0.6’].

anyone got it working ??

looks like the version of PiP needs to be ugpraded from what I could see before I stupidly removed it as an integration to see if I could set it up again…

i cant even delete it , it gives this error :

This error originated from a custom integration.

Logger: aiohttp.server
Source: custom_components/uptime_kuma/init.py:4
Integration: Uptime Kuma
First occurred: 7:55:29 AM (1 occurrences)
Last logged: 7:55:29 AM

Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py”, line 433, in _handle_request
resp = await request_handler(request)
File “/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py”, line 504, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py”, line 117, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 67, in security_filter_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 94, in forwarded_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 28, in request_context_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 80, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 235, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 146, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 86, in delete
result = await hass.config_entries.async_remove(entry_id)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 1076, in async_remove
await entry.async_remove(self.hass)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 575, in async_remove
component = integration.get_component()
File “/usr/src/homeassistant/homeassistant/loader.py”, line 760, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File “/usr/local/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/config/custom_components/uptime_kuma/init.py”, line 4, in
from pyuptimekuma import (
ModuleNotFoundError: No module named ‘pyuptimekuma’

has anyone found a solution for the kuma integration?
the new versions of HASS broke it and now all i get is errors everywhere because it is unavailable.

Updated version was released this morning, works like it says on the tin again :slight_smile:

for me it doesnt work still !!!

Likewise it still doesnt work for me and I get a notification saying “invalid config”
and the logs shows

Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6'].

Same here… Trying to delete and it won’t remove :frowning:

I can not connect the UpTime Kuma integration to my UpTime Kuma instance: Failed to connect
Please help.

So far I succesfully have:

  1. Installed an UpTime Kuma instance on my HA server via Settings Addons ( host: a0d7b954-uptime-kuma ). The host is running.
  2. made a user with password on the Uptime Kuma instance’s WEB UI on http:10.xxx.10.11:3001
  3. setup up a couple of monitors.
  4. Installed the HACS UpTime Kuma integration

I have restarted my HA - server.

My home assistant server has a Let’s Encrypt SLL certificate and runs on https://xxxxxxx.synology.me:34112/. I can internally and remotely access my HA server on this URL.

Problem:
From the Settings / Devices & Services / Integrations I want to add and configure the Uptime Kuma Integration:

Enter connection information for your Uptime Kuma instance

I have tried all sorts of combinations of

  • host or URL’s: a0d7b954-uptime-kuma , xxxxxxx.synology.me , 10.xxx.10.11
  • ports: 443, 3001 , 34112
  • Verify SSL: yes / no

But I only get the response : Failed to connect

What am I doing wrong?

1 Like

Can you monitor your zigbee network with Uptime Kuma if so how?
Thanks

I do that - with Zigbee2MQTT, the status of the Zigbee devices are published to MQTT so you can setup an MQTT tracker to see if devices are online or offline. I also do the same for Zigbee2mqtt itself.

Have there been any updates on this bug? I still fail to connect to my UpTime Kuma instance.

You need to add “http://” or “https://” to the URL. It’s not intuitive because “host” implies hostname, which does not have “http://”.

Looks like you can disable auth and It will work, Unexpected error, first installation · Issue #55 · meichthys/uptime_kuma · GitHub