Logic Machine Forum
dim light less than 1 % (DPT=05.001 scale) - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: dim light less than 1 % (DPT=05.001 scale) (/showthread.php?tid=5433)



dim light less than 1 % (DPT=05.001 scale) - Hadeel - 23.05.2024

Hi !

In our project we have dimmable lights and we usually set dimming value with DPT=05.001 scale.
This time we are requested to dim lights less than 1%, which means we should dim them to 0.2~0.9%.

I tried sending value 0.2~0.9 to DPT=05.001 scale but all of my command seem to be executed as 0% and the lights never turned on.
However when I tried the same thing with KNX ETS monitoring tool, writing values like 0.2~0.9 was successful and the light actually turned on (while dim status is 0 which is still weird)

Is there a way to achieve what I want to do with DPT=05.001 scale? Should I change the datatype to do so?

Thank you so much!


RE: dim light less than 1 % (DPT=05.001 scale) - admin - 23.05.2024

Change data type to 1 byte unsigned integer and then you can send any value between 0 and 255.


RE: dim light less than 1 % (DPT=05.001 scale) - Hadeel - 28.05.2024

Dear admin,

Thank you for your reply!! It is working as you said. ( :