new doorbell IP
This commit is contained in:
@@ -29,7 +29,7 @@ while True:
|
||||
logger.error(ude)
|
||||
if (data == 'RING'):
|
||||
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:
|
||||
logger.error("Could not ring doorbell")
|
||||
# logger.exception("Could not ring doorbell")
|
||||
|
||||
Reference in New Issue
Block a user