Skip to content

missing night mode for rgbw #4

@wassfila

Description

@wassfila

Hi,
first thanks for this module it saved me a lot of time.
I noticed the night mode you had was only for the white and the rgbw is missing its night mode.
I hesitated about pull requesting your repo but to be honest, the workaround was rather straight that I did not bother, as I passed to your controller custom command of the missing ids 0xC1,...0xCC
Have a look at a working (tested) implementation here using your module.

I based my finding on this, but I got it working before finishing reading the long thread.

Actually, the milight remote only sends the off command on the user taking the finger off the remote and not on press, that wait, it knows if it was a long or a short press, in case of a long press, setting the night mode is with sending off, wait 100 ms, then send night mode. Sending the night mode directly could work if the light was off, but would switch it off if it was on, that's why a first off command is necessary.
hope this helps, let me know if something is not clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions