"DIMMER" level inaccessible

Moderator: leecollings

Post Reply
progresive
Posts: 2
Joined: Friday 31 January 2020 9:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

"DIMMER" level inaccessible

Post by progresive »

DIMMER type switch in domoticz.

Version: 2023 .2
Build Hash: 19efd039c

So far, I have get the slider level in LUA with the command:

Code: Select all

volume = devicechanged[glosnosc]:gsub('%D', '')
because the command devicechanged[volume] returned:

Code: Select all

LUA: Set Level: 63 %
probably after the last Domoticz update, when changing the level using the slider, it returns only On. There is no information about the level/position:

Code: Select all

 Status: LUA: On
How to get the state of DIMMER in LUA ?
Attachments
dim.JPG
dim.JPG (15.25 KiB) Viewed 1226 times
User avatar
waltervl
Posts: 5374
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: "DIMMER" level inaccessible

Post by waltervl »

I don't know the answer as I don't use the basic Lua integration. In Dzvents it works without issues.

So if nobody will answer this you could consider to switch/convert your Lua script to dzvents (based on Lua and much better documented)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests