changeset 7:18c0dbfab73a

update mqtt addr
author drewp@bigasterisk.com
date Sun, 15 Oct 2023 18:48:38 -0700
parents f3786656cf4f
children caea36c8289f
files front_door_lock.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/front_door_lock.py	Sun Oct 15 18:48:19 2023 -0700
+++ b/front_door_lock.py	Sun Oct 15 18:48:38 2023 -0700
@@ -118,7 +118,7 @@
         asyncio.create_task(self._go())
 
     async def _go(self):
-        self.client = aiomqtt.Client("mosquitto-frontdoor", 10210, client_id="lock-service-%s" % time.time(), keepalive=6)
+        self.client = aiomqtt.Client("mqtt1", 1883, client_id="lock-service-%s" % time.time(), keepalive=6)
         while True:
             try:
                 async with self.client: