Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Aslanistic 0
Hello everyone!
This is my very first post so please excuse any mistake I could make and don't hesitate to tell me.
My house features FGMS sensors + Hue bulbs in every room. I implemented an auto-lighting system that works like a charm in every room except one: the guest room which I call "the office".
The script is almost the same in every room and I see no error in the debug console. The script appears to be properly executed but sometimes it isn't.
Here is how it works (the actual script is available below):
My problem is: The light always turns on when it should but randomly at Full or Low power regardless of the DayMode.
I've tried to delete/recreate my Hue Virtual device (which is the same for every room and works perfectly) => NOK
I've tried to implement a debug message for EVERY line to check that the fibaro:call(XX, "pressButton", XX) calls for the right VD and Button ID. => NOK. The debug displays the right function and parameters but the light state does not always correspond to it.
I am quite discouraged and this is why I ask for some help. Maybe someone could help me find out what's wrong in my code?
Fell free to ask for clarification,
Thank you very much for your support,
Aslanistic
Please login or register to see this code.
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.