New URL for Home Assistant (migration to Caddy reverse proxy)

This commit is contained in:
2026-04-04 06:01:53 +00:00
parent d0747aedd4
commit 48bb1b6a3c
@@ -48,7 +48,7 @@ while True:
"Content-Type": "application/json"
}
data = json.dumps({'payload': 'RING', 'topic': 'lewe/doorbell', 'retain': 'False'}).encode('utf8')
request = urllib.request.Request("https://www.nodebucket.de:8123/api/services/mqtt/publish", data, headers)
request = urllib.request.Request("https://ha.nodebucket.de/api/services/mqtt/publish", data, headers)
response = urllib.request.urlopen(request)
except Exception:
logger.error("Could not ring doorbell")