Using domitcz 4.11570, dzVents 2.5.2, I seem to be unable to access all devices.
Using the direct name id I get an error message:
There is no device with that name or id. <insert name/id here>
If I try the following code:
Code: Select all
domoticz.devices().forEach(function(device2)
domoticz.log('Device ' .. device2.name .. ' has id ' .. device2.id, domoticz.LOG_INFO)
end
2019-12-23 13:49:00.480 Status: dzVents: Info: Device Aqara Motion Sensor - Zolder has id 198
2019-12-23 13:49:00.481 Status: dzVents: Info: Device Kerstboom has id 204
So when I try to get the value of device 203, I get this device not found error message. Devices 199..203 are in my device list and have a recent 'last seen' datetime stamp. It is not only Xiaomi devices. I have over a hundred devices, ranging from sonoff, plugwise, xiaomi, P1, evohome, buienradar, fritzbox and sunnyboy. But the iteration only shows about 30.
Anyone some pointers?