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

Modifying scene brightness is not persistent #85

Open
Modem-Tones opened this issue Feb 11, 2025 · 1 comment
Open

Modifying scene brightness is not persistent #85

Modem-Tones opened this issue Feb 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Modem-Tones
Copy link

Modem-Tones commented Feb 11, 2025

The Hue app provides a method for editing existing scenes by tapping the pencil icon when a scene is running. You can use this menu to change a scene's default brightness.

It looks like brightness changes through this menu are not persistent after hitting SAVE. See the attached video for reference.

Bifrost Version: master-2025-01-25
OS: HAOS (Addon)
Host HW: Raspberry Pi 5

Log Snippet:

2025-02-11T19:52:49.043Z INFO  bifrost::server                           > http; method=PUT uri=/clip/v2/resource/scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f
 2025-02-11T19:52:49.045Z INFO  bifrost::routes::clip::scene              > PUT scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f
 2025-02-11T19:52:49.045Z DEBUG bifrost::routes::clip::scene              > json data
{
  "actions": [
    {
      "action": {
        "color": {
          "xy": {
            "x": 0.589,
            "y": 0.37190000000000006
          }
        },
        "dimming": {
          "brightness": 85.43307086614173
        },
        "on": {
          "on": true
        }
      },
      "target": {
        "rid": "f455c86b-9d3a-53fc-89fe-e98b7d700f80",
        "rtype": "light"
      }
    },
.
.
.
 2025-02-11T19:52:49.045Z INFO  bifrost::routes::clip::scene              > PUT scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f: updating
 2025-02-11T19:52:49.045Z INFO  bifrost::server                           > http; status=200 OK
 2025-02-11T19:52:49.131Z INFO  bifrost::server                           > http; method=PUT uri=/clip/v2/resource/scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f
 2025-02-11T19:52:49.131Z INFO  bifrost::routes::clip::scene              > PUT scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f
 2025-02-11T19:52:49.131Z DEBUG bifrost::routes::clip::scene              > json data
{
  "recall": {
    "action": "active"
  }
}
 2025-02-11T19:52:49.131Z INFO  bifrost::routes::clip::scene              > PUT scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f: updating
 2025-02-11T19:52:49.131Z DEBUG bifrost::resource                         > z2m request: SceneRecall {
    scene: scene/e0c9b121-02d4-5c4b-9172-b556ab43ba8f,
}
BifrostModifyScene.mp4
@chrivers
Copy link
Owner

Hi again @Modem-Tones

Thanks for reporting this.

It's simply a missing feature in Bifrost - it's fairly simple to implement, it's just one of the things that aren't done yet 😃

@chrivers chrivers added the enhancement New feature or request label Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants