Added polling based on mqtt configuration
This commit is contained in:
@@ -4,12 +4,12 @@ import json
|
||||
device_1 = {}
|
||||
device_1["mac"] = "C4:7C:8D:67:2E:1C"
|
||||
device_1["name"] = "Pflanze 1"
|
||||
device_1["client"] = "Controller_id_1"
|
||||
device_1["client"] = "test_client"
|
||||
|
||||
device_2 = {}
|
||||
device_2["max"] = "C4:7C:8D:67:2E:4A"
|
||||
device_2["mac"] = "C4:7C:8D:67:2E:4A"
|
||||
device_2["name"] = "Pflanze 2"
|
||||
device_2["client"] = "Controller_id_1"
|
||||
device_2["client"] = "test_client"
|
||||
|
||||
devices = {}
|
||||
devices["devices"] = [device_1, device_2]
|
||||
|
||||
Reference in New Issue
Block a user