initial checkin with access to mqtt

This commit is contained in:
2022-10-02 16:46:33 +02:00
commit 712320fb47
6 changed files with 60 additions and 0 deletions

6
__init__.py Normal file
View File

@@ -0,0 +1,6 @@
import paho.mqtt.client as mqtt
client = mqtt.Client("Web2Mqtt")
client.connect("192.168.178.76",1884)
client.publish("web2mqtt/status","Web2Mqtt starting up...")