added code for note widget

This commit is contained in:
Nico Melone
2023-01-17 23:06:23 -06:00
parent 8ed2c1510c
commit e1e1314f1f
9 changed files with 600 additions and 2 deletions

Binary file not shown.

View File

@@ -339,8 +339,8 @@ class meshifyMain():
clientData = json.load(creds)
except:
clientData = {"clientId": mac, "username": "admin", "password": "columbus"}
with open("mqtt.json", "w+") as creds:
json.dump(clientData, creds)
#with open("mqtt.json", "w+") as creds:
#json.dump(clientData, creds)
self.mqtt = paho.Client(client_id=clientData["clientId"], clean_session=True)
# change to false for mqtt.meshify.com