Skip to content

Commit

Permalink
MQTT client id 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
n-andflash committed Feb 5, 2024
1 parent 1710068 commit b3d0a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sds_wallpad/sds_wallpad.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
last_query = int(0).to_bytes(2, "big")
last_topic_list = {}

mqtt = paho_mqtt.Client()
mqtt = paho_mqtt.Client(client_id="sds_wallpad-{}".format(time.time()))
mqtt_connected = False

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit b3d0a1e

Please sign in to comment.