07.03.2025, 17:11
Last question:
I have some knx address as commands and others as states... how I have to set them? Both coil and registers as in my script ? or a different way?
I have some knx address as commands and others as states... how I have to set them? Both coil and registers as in my script ? or a different way?
Code:
mb.setmapping({
[1] = {
coils = {
[1] = '2/1/11', -- state on/off
[4] = '2/1/14', -- state set %
},
registers = {
[0] = '2/1/10', -- command on/off
-- [1] = '2/1/11', -- stato on/off
[3] = '2/1/13', -- command set %
-- [4] = '2/1/14', -- stato set %
}
}
})