u
This commit is contained in:
parent
514679a801
commit
db57939ad4
@ -19,9 +19,7 @@ logging.basicConfig(level=logging.DEBUG)
|
|||||||
Connected = False
|
Connected = False
|
||||||
|
|
||||||
|
|
||||||
|
def on_connect(client, userdata, flags, rc):
|
||||||
def connect_mqtt() -> mqtt_client:
|
|
||||||
def on_connect(client, userdata, flags, rc):
|
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
print("Connected to MQTT Broker!")
|
print("Connected to MQTT Broker!")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user