Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stateful switch is not switched on, only switched off #106

Open
magune opened this issue Jul 27, 2024 · 10 comments
Open

stateful switch is not switched on, only switched off #106

magune opened this issue Jul 27, 2024 · 10 comments

Comments

@magune
Copy link

magune commented Jul 27, 2024

I love the concept of this integration, but i can't make it work.

I have 3 buttons to activate 3 scenes. They all activate the stateful switch, rather than activating the scene itself. clicking any of the buttons do turn on/off the lights correctly. But clicking a button to activate the scene never turns the state to ON. But clicking any of the other buttons do turn it OFF.

I have Philips Hue and one Ikea light.

It may be due to the default tolerance setting set to default = 1. I feel quite stupid at this point, but I find no place to change the tolerance. That settings just isnt visible anywhere I can reasonably look for it:
image

@pgale
Copy link

pgale commented Jul 27, 2024

I'm super keen to have this working but the Hue functions just aren't working. Unfortunately the developer hasn't been on here for months so I've given up on it for now. Shame as it would be amazing if it worked.

@magune
Copy link
Author

magune commented Jul 27, 2024

#pgale, agreed. Unfortunately I am not a developer so I can't fix code myself, also I assume the maintainer must accept code contributions anyway.

@magune
Copy link
Author

magune commented Jul 27, 2024

@pgale , do you know where to change the tolerance setting? i cant find it anywhere.

@pgale
Copy link

pgale commented Jul 27, 2024

Yeah me too. Could be forked though?

@pgale
Copy link

pgale commented Jul 27, 2024

Not off the top of my head and I've uninstalled it. Isn't it a setting in the integration's UI?

@magune
Copy link
Author

magune commented Jul 27, 2024

I saw the setting at installation time but not after

@magune
Copy link
Author

magune commented Jul 27, 2024

i have now managed to find the tolerance setting. if i try to add the integration again, i get the config dialog and it says it is saving the increased tolerance. Increasing to 2-3 made my 3 buttons with 3 scenes (off, cosy, normal) for room 1 to work. but for room 2, 3 similar buttons for 3 similar scenes still do not work, e.g. other scenes turn off correct when another scene is triggered, but the stateful scene do not turn on correctly when activated. but in all cases, the scenes are activated correctly.

@hugobloem
Copy link
Owner

Hi, thank you for your interest in this integration and for taking the time to open this issue. This integration is something I try to work on in my spare time and this has been limited lately.

I am trying to understand your issue, but am I correct in thinking that most issues seem resolved when increasing the tolerance to ~3 rather than the default 1?

@SkywiperSolutions
Copy link

Same issue here:

Scenes activate and turns off, but entity state of the Stateful Scene entity never changes to on - only off.
I tried different configuration options with up to 10 sec debound, tolerance 5 etc. No difference.

@magune
Copy link
Author

magune commented Aug 30, 2024

Hi, thank you for your interest in this integration and for taking the time to open this issue. This integration is something I try to work on in my spare time and this has been limited lately.

I am trying to understand your issue, but am I correct in thinking that most issues seem resolved when increasing the tolerance to ~3 rather than the default 1?

i have tried tolerance 2-3 and also the maximum tolerance (I think it was 9 or something like that), it didnt help. but I don't know if the changed tolerance settings actually are saved and used, or if the gui accepts the change and it doesnt affect the logic thereafter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants