switched to new mqtt server
This commit is contained in:
@@ -4,5 +4,5 @@ app = Flask(__name__) # Create an instance of the class for our use
|
|||||||
import paho.mqtt.client as mqtt
|
import paho.mqtt.client as mqtt
|
||||||
|
|
||||||
client = mqtt.Client("Web2Mqtt")
|
client = mqtt.Client("Web2Mqtt")
|
||||||
client.connect("192.168.178.76",1884,keepalive=60)
|
client.connect("192.168.178.36",1884,keepalive=60)
|
||||||
client.publish("web2mqtt/status","Web2Mqtt starting up...")
|
client.publish("web2mqtt/status","Web2Mqtt starting up...")
|
||||||
Reference in New Issue
Block a user