Skip to content

Commit 3daca7f

Browse files
committed
shudders
1 parent eb0afce commit 3daca7f

File tree

3 files changed

+3
-133
lines changed

3 files changed

+3
-133
lines changed

log.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ loggers:
3232
handlers: [file]
3333
propogate: False
3434
steady_cam:
35-
level: INFO
35+
level: DEBUG
3636
handlers: [file]
3737
propogate: False
3838

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from time import sleep
1212
from socket import gethostname
1313
import paho.mqtt.publish as publish
14-
from mqtt_cam import MQTTCam
14+
from mqtt_shutter import MQTTShutter
1515

1616

1717
def _get_logfile_name(basepath, hostname):
@@ -62,7 +62,7 @@ def configure_logger(basepath, hostname):
6262
sleep(10)
6363
else:
6464
try:
65-
client = MQTTCam(basepath, hostname, broker=broker, topic=topic, qos=2)
65+
client = MQTTShutter(basepath, hostname, broker=broker, topic=topic, qos=2)
6666
client.run()
6767
except Exception:
6868
logger.error('exception!!')

mqtt_cam.py

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)