diff service/frontDoorLock/tasks.py @ 771:3f6055cfccb2

move mqtt port Ignore-this: c073796027dbda80f17fc2ae708e4f96
author drewp@bigasterisk.com
date Fri, 05 Jun 2020 17:49:56 -0700
parents 013e2a89b345
children 437d7263b515
line wrap: on
line diff
--- a/service/frontDoorLock/tasks.py	Thu May 14 22:29:55 2020 -0700
+++ b/service/frontDoorLock/tasks.py	Fri Jun 05 17:49:56 2020 -0700
@@ -41,15 +41,15 @@
 
 @task
 def tail_mqtt(ctx):
-    ctx.run(f'mosquitto_sub -h bang -p 10010 -d -v -t \#')
+    ctx.run(f'mosquitto_sub -h bang -p 10210 -d -v -t \#')
 
 @task
 def mqtt_force_open(ctx):
-    ctx.run(f'mosquitto_pub -h bang -p 10010 -t frontdoorlock/switch/strike/command -m ON')
+    ctx.run(f'mosquitto_pub -h bang -p 10210 -t frontdoorlock/switch/strike/command -m ON')
 
 @task
 def mqtt_force_lock(ctx):
-    ctx.run(f'mosquitto_pub -h bang -p 10010 -t frontdoorlock/switch/strike/command -m OFF')
+    ctx.run(f'mosquitto_pub -h bang -p 10210 -t frontdoorlock/switch/strike/command -m OFF')
     
 
 @task(pre=[build_image])