diff --git a/plugin.py b/plugin.py index f420b91..532e725 100755 --- a/plugin.py +++ b/plugin.py @@ -3,7 +3,7 @@ # Author: fjumelle # """ - +

Signal Level


Create devices to trace the signal level of other devices.
@@ -72,7 +72,7 @@ class BasePlugin: Domoticz.Heartbeat(self.pooling) #List of devices to scan - res = DomoticzAPI("type=devices&used=true") + res = DomoticzAPI("type=command¶m=getdevices&used=true") self.devices = self.getDevicesSignalLevel(res) Domoticz.Debug("Scanned devices: {}".format(self.devices)) @@ -88,7 +88,7 @@ class BasePlugin: def onHeartbeat(self): if self.pooling_current_step == self.pooling_steps: - res = DomoticzAPI("type=devices&used=true") + res = DomoticzAPI("type=command¶m=getdevices&used=true") for idx, device in enumerate(self.devices): value = self.getSignalLevel(res, device) idx = idx + 1