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

High transition time is ignored in my setup #571

Open
emmettprexus opened this issue Jan 7, 2022 · 3 comments
Open

High transition time is ignored in my setup #571

emmettprexus opened this issue Jan 7, 2022 · 3 comments

Comments

@emmettprexus
Copy link

emmettprexus commented Jan 7, 2022

Hello,

I have playing around with long transition times (eg 1,5 hour = 5.400 seconds) to make whatever lamp is still on in the group, slowly dim over the next few hours. It does not seem to work though:

const options = {
    transitionTime: 5400,
    dimmer: 0
}

await client.operateGroup(group, options, true);

My bulbs stay at 100% even after a looong time. Is there a limit to the transition time?

@AlCalzone
Copy link
Owner

AlCalzone commented Jan 8, 2022

Is there a limit to the transition time?

I think there is, but I'm not sure how long. AFAIK some users who need long transitions use multiple commands for that combined with shorter transition durations, e.g. 1 minute for 1% or so.

@bitwranglr
Copy link

bitwranglr commented Feb 6, 2023

I've got a similar problem and have discovered that it seems to work perfectly for transition times up to 6553 seconds. Presumably, the transition time is being multiplied by 10 somewhere and encoded with a data type that can't handle numbers larger than 16 bits, i.e. max value of 65535. I hope this can get fixed! Thanks.

@AlCalzone
Copy link
Owner

I'm afraid this is nothing I can fix. The communication with the gateway is JSON based. If 16 bits are limiting, it's in the zigbee part between the gateway and the devices.

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

3 participants