Describe docker compose example
This commit is contained in:
1
mqttclient/.gitignore
vendored
Normal file
1
mqttclient/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
docker-compose.yml
|
@@ -77,7 +77,7 @@ try:
|
||||
continue
|
||||
except (serial.SerialException):
|
||||
client.publish(mqtt_topic + "exception", "serial reopen") # check which port was really used
|
||||
time.sleep(1.0)
|
||||
time.sleep(3.0)
|
||||
|
||||
try:
|
||||
line = ser.readline() # read a '\n' terminated line
|
||||
@@ -149,7 +149,7 @@ try:
|
||||
else:
|
||||
client.publish(mqtt_topic + "debug", line) # line was invalid and could not be parsed
|
||||
else:
|
||||
time.sleep(0.2)
|
||||
time.sleep(0.5)
|
||||
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
print("User aborted service ...")
|
||||
|
Reference in New Issue
Block a user