new doorbell IP

This commit is contained in:
2021-10-17 11:41:56 +02:00
parent aba3dac050
commit 30537be7fe
@@ -29,7 +29,7 @@ while True:
logger.error(ude) logger.error(ude)
if (data == 'RING'): if (data == 'RING'):
try: try:
response = urllib.request.urlopen('http://192.168.178.51/bell/on', timeout=5).read().decode('utf-8') response = urllib.request.urlopen('http://192.168.178.60/bell/on', timeout=5).read().decode('utf-8')
except Exception: except Exception:
logger.error("Could not ring doorbell") logger.error("Could not ring doorbell")
# logger.exception("Could not ring doorbell") # logger.exception("Could not ring doorbell")