new doorbell IP
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user