meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

[Feature Request] Show Maintenance Status #40

Open brandoningli opened 1 year ago

brandoningli commented 1 year ago

It doesn't appear that the sensors take Maintenance into account at all. Binary Sensors show Disconnected, and the regular sensors show a state of "up". My proposal is to:

meichthys commented 1 year ago

I'll leave this issue open for now, but I don't plan to implement this anytime soon. Please see here for why: https://github.com/meichthys/uptime_kuma/issues/30#issuecomment-1370115121

pixelrazor commented 1 year ago

This will at least be blocked on https://github.com/louislam/uptime-kuma/issues/2627

EDIT: There's also a socket api we could leverage: https://github.com/lucasheld/uptime-kuma-api

pixelrazor commented 1 year ago

As an update, as i have time, i'm trying to sort out how to best derive the current data using the socket.io api lib mentioned.

EDIT: we could use both libs together? i don't really like the feel of that, but i think it'll be a touch off anyways until we get a proper REST api or sorts

meichthys commented 9 months ago

We should wait for API functionality to be implemented: https://github.com/louislam/uptime-kuma/issues/118