fmartinou/teleinfo2mqtt

feat request : using uptime kuma it would be great to publish some success message on topic

ka2er opened this issue ยท 4 comments

ka2er commented

Hi,

I'm using your software. Great works thanks (merci) !

I'm also using kuma uptime (https://github.com/louislam/uptime-kuma) to track that all my homelab services are alive.
This status solution is able to track a success message under a MQTT topic to gather wether or not the client publishing here is alive.
Having just a boolean refreshed like

teleinfo/up = true

would fit the case. If the message get too old and don't get refreshed it would indicates that the client isn't publishing anymore and that we have to bother about our teleinfo stack.

At the time being kuma isn't able to do more elaborate check thant strict equality (AFAIK) so I'm trying to ask here if you mind accept this feature request.

If so, I believe I could send you a merge request as it seems like a very simple enhancement to implement + test.

Just tell me if I you are willing to accept this kind of PR.

Sorry ๐Ÿ˜…

I confused 2 projects I'm maintaining ๐Ÿ˜„.

Yes, providing a health status through mqtt is a great idea ๐Ÿ‘.

It won't be very hard to implement.
But if you can help with a PR; even better, you're welcome ๐Ÿ™‚!

Release as 8.2.0

ka2er commented

tested and it does the job thanks !!

image

Great!
Thank you very much for your contribution!