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

Group is not displayed in hue app. #33

Open
hendriksen-mark opened this issue Sep 13, 2024 · 1 comment
Open

Group is not displayed in hue app. #33

hendriksen-mark opened this issue Sep 13, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@hendriksen-mark
Copy link
Contributor

hendriksen-mark commented Sep 13, 2024

when added a new empty group in the hue app the group is not displayed.
this is because grouped_light is missing

response from bifrost:

{
    "data": [
        {
            "channel": {
                "status": "set",
                "value": "channel_25"
            },
            "extended_pan_id": "0123456789abcdef",
            "id": "199bf140-ba3c-5d3f-ac4e-a85e725f39fb",
            "id_v1": null,
            "mac_address": "11:22:33:44:55:66:77:88",
            "owner": {
                "rid": "9ae44221-393c-55ac-948f-fed9e5d38fda",
                "rtype": "device"
            },
            "status": "connectivity_issue",
            "type": "zigbee_connectivity"
        },
        {
            "children": [],
            "id": "33e8a40f-652b-44a8-a7e3-265e591fd5af",
            "id_v1": null,
            "metadata": {
                "archetype": "living_room",
                "name": "Woonkamer"
            },
            "services": [],
            "type": "room"
        },
        {
            "bridge_id": "f8ffc2fffe11be75",
            "id": "5ca31f57-8270-50f9-8cce-61f4766fef36",
            "id_v1": null,
            "owner": {
                "rid": "9ae44221-393c-55ac-948f-fed9e5d38fda",
                "rtype": "device"
            },
            "time_zone": {
                "time_zone": "Europe/Amsterdam"
            },
            "type": "bridge"
        },
        {
            "id": "740c9228-9cca-5041-a513-81204a41bf96",
            "id_v1": null,
            "owner": {
                "rid": "9ae44221-393c-55ac-948f-fed9e5d38fda",
                "rtype": "device"
            },
            "status": "ready",
            "type": "zigbee_device_discovery"
        },
        {
            "children": [
                {
                    "rid": "9ae44221-393c-55ac-948f-fed9e5d38fda",
                    "rtype": "device"
                }
            ],
            "id": "829bc994-37fe-511a-b097-cb74e93ed38d",
            "id_v1": "/groups/0",
            "services": [
                {
                    "rid": "6086785a-7710-5070-9476-1332df64dc11",
                    "rtype": "grouped_light"
                }
            ],
            "type": "bridge_home"
        },
        {
            "id": "9ae44221-393c-55ac-948f-fed9e5d38fda",
            "id_v1": null,
            "metadata": {
                "archetype": "bridge_v2",
                "name": "Bifrost"
            },
            "product_data": {
                "certified": true,
                "manufacturer_name": "Signify Netherlands B.V.",
                "model_id": "BSB002",
                "product_archetype": "bridge_v2",
                "product_name": "Hue Bridge",
                "software_version": "1.60.1960149090"
            },
            "services": [
                {
                    "rid": "5ca31f57-8270-50f9-8cce-61f4766fef36",
                    "rtype": "bridge"
                },
                {
                    "rid": "740c9228-9cca-5041-a513-81204a41bf96",
                    "rtype": "zigbee_device_discovery"
                },
                {
                    "rid": "199bf140-ba3c-5d3f-ac4e-a85e725f39fb",
                    "rtype": "zigbee_connectivity"
                }
            ],
            "type": "device"
        },
        {
            "id": "f31e20ad-3f66-5aae-a64a-b6cb6ae31ec8",
            "id_v1": null,
            "metadata": {
                "archetype": "bridge_v2",
                "name": "Bifrost Bridge Home"
            },
            "product_data": {
                "certified": true,
                "manufacturer_name": "Signify Netherlands B.V.",
                "model_id": "BSB002",
                "product_archetype": "bridge_v2",
                "product_name": "Hue Bridge",
                "software_version": "1.60.1960149090"
            },
            "services": [
                {
                    "rid": "5ca31f57-8270-50f9-8cce-61f4766fef36",
                    "rtype": "bridge"
                }
            ],
            "type": "device"
        }
    ],
    "errors": []
}

part of response original bridge:

        {
            "id": "8f1514ac-1b87-4b0a-974e-3689744866c2",
            "id_v1": "/groups/0",
            "owner": {
                "rid": "e550a4a8-1b0b-44b4-b2cb-3913dab32df1",
                "rtype": "bridge_home"
            },
            "on": {
                "on": true
            },
            "dimming": {
                "brightness": 45.45
            },
            "dimming_delta": {},
            "alert": {
                "action_values": [
                    "breathe"
                ]
            },
            "signaling": {
                "signal_values": [
                    "no_signal",
                    "on_off"
                ]
            },
            "dynamics": {},
            "type": "grouped_light"
        },
        {
            "id": "e5a135e1-894a-430f-b8fa-78b6e1a7f142",
            "id_v1": "/groups/81",
            "owner": {
                "rid": "534f39de-3e3b-49e0-898d-505bfae1295f",
                "rtype": "room"
            },
            "on": {
                "on": true
            },
            "dimming": {
                "brightness": 45.45
            },
            "dimming_delta": {},
            "alert": {
                "action_values": [
                    "breathe"
                ]
            },
            "signaling": {
                "signal_values": [
                    "no_signal",
                    "on_off"
                ]
            },
            "dynamics": {},
            "type": "grouped_light"
        },
        {
            "id": "534f39de-3e3b-49e0-898d-505bfae1295f",
            "id_v1": "/groups/81",
            "children": [],
            "services": [
                {
                    "rid": "e5a135e1-894a-430f-b8fa-78b6e1a7f142",
                    "rtype": "grouped_light"
                }
            ],
            "metadata": {
                "name": "Woonkamer",
                "archetype": "living_room"
            },
            "type": "room"
        },
@chrivers chrivers added bug Something isn't working enhancement New feature or request labels Sep 15, 2024
@chrivers
Copy link
Owner

Thanks for the detailed report!

This is actually a mix between a bug and a missing feature.

Since bifrost maps backend (zigbee2mqtt) groups to rooms, creating a room in the frontend, should cause a group to be created in the backend.

But this is currently not implemented, so creating the room just makes a half-empty stub.

Depending on how difficult it is to create new groups, it's either going to be that, or at least making the create operation fail properly, so the user is not promised something we can't deliver 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants