16.02.2022, 06:09
(14.02.2022, 18:31)Dré Wrote: maybe this is wha tyou are looking for?
This example will dim 3 lights from 0% to 100% in 10% steps with 0.2 seconds delay between each step. You can adjust the step/delay as needed and also add new group addresses to the list.
Thanks, that is already something.
But i tried and it just goes from 0-100 in a loop. (sorry noob in scripting)
Basically i calculate the set point of the fan speed based on room temp, offset to target and a minimal fanspeed. The target is adjusted when the room goes from Standby to Comfort in KNX but it can happen during a mode change the fan goes from 0-100% at once. I send this on address 2/1/9 but if i send out the setpoint at once (lets say 100%) the fans don't like the torque the electric EC motor makes. As the analogue output sends 10V at once towards the FCU
To avoid the big starting torque i need to ramp up and down the fan to make sure the motors last longer where the setting
step = 1
delay = 0.1
works perfectly but i just don't want a loop
When turning off it is the other way around. If a fan would be at 100% and go of (but this is a much rarer case) you could get a spike in the control voltage as the motor becomes a generator at once.