batteryLevel not getting fetched .
Posted: Monday 13 April 2026 15:41
Hi,
I am using MotionBlinds and I am using a dzvents script to manage them: open - close by weather updates.
I am also logging batterylevels in separate virtual sensors.
Since the last reboot these batteryLevels are not read anymore.
Devices:
5967 VIRTUALSENSORS 00087967 1 DuoBatL General Percentage 85% - - 2026-04-13 03:01:00
5968 VIRTUALSENSORS 00087968 1 DuoBatM General Percentage 75% - - 2026-04-13 03:01:00
5969 VIRTUALSENSORS 00087969 1 DuoBatR General Percentage 84% - - 2026-04-13 03:01:00
dzscript:
local linksbat = domoticz.devices('Duo Links').batteryLevel
local middenbat = domoticz.devices('Duo Midden').batteryLevel
local rechtsbat = domoticz.devices('Duo Rechts').batteryLevel
Log:
BlindsOpenToe +++: ...icz/scripts/dzVents/generated_scripts/BlindsOpenToe2.lua:143: attempt to concatenate a nil value (field 'batteryLevel')
It seems that this field is not accepted anymore? Is this correct? Other name used?
I am using MotionBlinds and I am using a dzvents script to manage them: open - close by weather updates.
I am also logging batterylevels in separate virtual sensors.
Since the last reboot these batteryLevels are not read anymore.
Devices:
5967 VIRTUALSENSORS 00087967 1 DuoBatL General Percentage 85% - - 2026-04-13 03:01:00
5968 VIRTUALSENSORS 00087968 1 DuoBatM General Percentage 75% - - 2026-04-13 03:01:00
5969 VIRTUALSENSORS 00087969 1 DuoBatR General Percentage 84% - - 2026-04-13 03:01:00
dzscript:
local linksbat = domoticz.devices('Duo Links').batteryLevel
local middenbat = domoticz.devices('Duo Midden').batteryLevel
local rechtsbat = domoticz.devices('Duo Rechts').batteryLevel
Log:
BlindsOpenToe +++: ...icz/scripts/dzVents/generated_scripts/BlindsOpenToe2.lua:143: attempt to concatenate a nil value (field 'batteryLevel')
It seems that this field is not accepted anymore? Is this correct? Other name used?