meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

Change connection information for polling #56

Closed csmashe closed 1 year ago

csmashe commented 1 year ago

I moved my docker to another machine so the ip address changed. The kuma instance is the same just has a different ip addresst so I would like to change where the integration polls. I have automatons set up and would like the services and entities to keep the same ids so i dont have to change them.

Please let me know where to update the endpoint so it looks at the new ip address.

meichthys commented 1 year ago

Ideally you would have used a reverse proxy instead of an IP Address - that way you can change ip addresses as often as possible and the endpoint will always be the same url. Your request is beyond the scope of this integration.

csmashe commented 1 year ago

@meichthys Can you just let me know where it is stored so i can manually update it?

meichthys commented 1 year ago

I'm not sure. HA handles that. Its probably in the database somewhere.

csmashe commented 1 year ago

@meichthys instructions on how to change it (so you can add to the readme if you want) ssh into your home assistant instance cd /config/.storage nano core.config_entries

you will find the values in there. update to the new url, save and then reboot home assistant.