Hi everyone, I wanted to share my experience with the Fibaro FGS-223 switch and scene triggering. I’ve been trying to set up a scene where holding the toggle button turns on a light, and releasing it turns it off. Sounds simple enough, but I ran into an issue where the scene was firing twice—once when I held the button and again when I released it. This was frustrating because it would briefly turn the light on and then off again, making it impossible to use the intended functionality consistently.
After some research and trial and error, I figured out that the scene configuration in the Fibaro switch was sending an update too early. To fix this, I adjusted the scene number in the configuration to ensure it only triggers once. I also modified my rule to handle the state more carefully, ensuring that the light only changes state when the button is released.
Here’s the adjusted rule I ended up using:
groovy
rule “Light scene”
when
Item SCENE_LIGHT received update 1.0
then
if (LIGHT_2.state == ON) {
LIGHT_2.send(OFF)
} else {
LIGHT_2.send(ON)
}
end
This change made a world of difference! Now, the light behaves exactly as intended—turning on when I hold the button and off when I release it. I also added a small delay in the rule to ensure the state changes are registered properly without any double triggers.
If anyone else is struggling with similar scene-triggering issues, I’d recommend checking your scene configurations and ensuring your rules account for both the press and release actions. It’s all about fine-tuning those timings and states!
Happy automating everyone! Let me know if you have any questions or tips to share. ![]()