We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d78fd9a commit 52303f9Copy full SHA for 52303f9
1 file changed
DeviceManager/light_mqtt.py
@@ -9,14 +9,15 @@
9
from apscheduler.triggers.interval import IntervalTrigger
10
11
from .devices import LightSensor
12
+from .config import THINGSBOARD_URL
13
14
15
class LightMqtt:
16
"""
17
Implementation of MQTT protocol to connect the device to the server.
18
19
- _ip = "thingsboard.matthieu-rochette.fr"
20
+ _ip = THINGSBOARD_URL
21
_port = 1883
22
_socketTimes = 1
23
0 commit comments