dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.89k stars 498 forks source link

Ikea blinds Fyrtur and Kadrilj cannot be added #6486

Closed Siggi0904 closed 1 year ago

Siggi0904 commented 1 year ago

Describe the bug

Try to add the Ikea blinds Fyrtur and Kadrilj at phoscan app. The blinds won't be found. In 2019 at release of the blinds, all works fine.

See forum as well. https://forum.phoscon.de/t/tradfri-blind-s-not-visible-in-web-app/2552

or https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1121

Steps to reproduce the behavior

Click searching for lights at phoscon app, press the two buttons at the blind for reset. Nothing will be found at phoscon app, blind won't be connected to deconz.

Expected behavior

Adding and controlling of ikea blinds Fyrtur and Kadrilj as it worked in latest versions around 2019.

Screenshots

48c039c101bfc01a37660acfa83a9848a31ec56d_2_688x500

Environment

deCONZ Logs

have no, because of running headless.

Additional context

It was working in older versions, around 2.16. Looks like DDF was missed.

Smanar commented 1 year ago

But they are not supported by the API or not supported by phoscon ? According the name that have the node in deconz, it probably mean the device is supported in the API ?

Mimiix commented 1 year ago

Looks like this is an issue in phoscon, not deconz.

If there was a issue in the ddf, the device wouldn't show its name.

Can you check if it's showing in the rest api? You can find that out in phoscon unser help - api informatie

Siggi0904 commented 1 year ago

Where I can find the ddf?

I cannot (re-)adding the blinds to deconz / phoscon like the link in the forum.

Siggi0904 commented 1 year ago

They was supported and worked long time but now it won't. See: https://forum.phoscon.de/t/ikea-fyrtur-blinds/1858/5 https://dresden-elektronik.github.io/deconz-rest-doc/devices/ikea/kadrilj_roller_blind/

and

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1121

Smanar commented 1 year ago

You don't have other third app than phoscon ? Can you take a look in the API if the device is here, using for exemple Phoscon/help/API Information/light

Siggi0904 commented 1 year ago

No, only deconz and phoscon.

In the API page of phoscon I cannot see it, because device won't be added. The the screenshot from forum. It's the same like me, but I have no gui.

Other people have the same problem. See iobroker Forum for example or look at FHEM forum: https://forum.iobroker.net/topic/59432/conbee-ii-ikea-rollo

Mimiix commented 1 year ago

No, only deconz and phoscon.

In the API page of phoscon I cannot see it, because device won't be added. The the screenshot from forum. It's the same like me, but I have no gui.

Other people have the same problem. See iobroker Forum for example or look at FHEM forum: https://forum.iobroker.net/topic/59432/conbee-ii-ikea-rollo

Please show us your deconz gui.

Siggi0904 commented 1 year ago

As I wrote, I have no deconz gui. I'm headless. Only phoscon app.

And in deconz source file I found only ddf for KADRILJ not for Fyrtur See: https://github.com/dresden-elektronik/deconz-rest-plugin/tree/master/devices/ikea

Smanar commented 1 year ago

The the screenshot from forum. It's the same like me, but I have no gui.

On this capture the device is added else the node will have as name something like 0xXXXX

And the DDF have bronze status so never used, can try this DDF, enabled for both model

    "manufacturername": ["$MF_IKEA", "$MF_IKEA"],
    "modelid": ["KADRILJ roller blind", "FYRTUR block-out roller blind"],
{
    "schema": "devcap1.schema.json",
    "manufacturername": ["$MF_IKEA", "$MF_IKEA"],
    "modelid": ["KADRILJ roller blind", "FYRTUR block-out roller blind"],
    "product": "KADRILJ and FYRTUR",
    "status": "Gold",
    "supportsMgmtBind": true,
    "sleeper": false,
    "subdevices": [
        {
            "type": "$TYPE_WINDOW_COVERING_DEVICE",
            "restapi": "/lights",
            "uuid": ["$address.ext", "0x01"],
            "items": [
                {
                    "name": "attr/manufacturername"
                },
                {
                    "name": "attr/modelid"
                },
                {
                    "name": "attr/name"
                },
                {
                    "name": "attr/swversion"
                },
                {
                    "name": "attr/type"
                },
                {
                    "name": "attr/uniqueid"
                },
                {
                    "name": "attr/lastannounced"
                },
                {
                    "name": "attr/lastseen"
                },
                {
                    "name": "config/checkin",
                    "default": 480
                },
                {
                    "name": "state/lift",
                    "parse": {"cl": "0x0102", "at": "0x0008", "eval": "Item.val = Attr.val"},
                    "read": {"cl": "0x0102", "at": "0x0008"},
                    "refresh.interval": 700
                },
                {
                    "name": "state/open",
                    "parse": {"cl": "0x0102", "at": "0x0008", "eval": "Item.val = Attr.val < 100"}
                },
                {
                    "name": "state/reachable"
                },
                {
                    "name": "state/bri",
                    "description": "The lift state in earlier versions, use <code class=\"api-attribute\">lift</code> instead.",
                    "parse": {"cl": "0x0102", "at": "0x0008", "eval": "Item.val = Attr.val * 254 / 100"},
                    "read": {},
                    "deprecated": "2020-04-08"
                },
                {
                    "name": "state/on",
                    "description": "The open state in earlier versions, use <code class=\"api-attribute\">open</code> instead.",
                    "parse": {"cl": "0x0102", "at": "0x0008", "eval": "Item.val = (Attr.val * 254 / 100) > 0"},
                    "read": {},
                    "deprecated": "2020-04-08"
                }
            ]
        },
        {
            "type": "$TYPE_BATTERY_SENSOR",
            "restapi": "/sensors",
            "uuid": [ "$address.ext", "0x01", "0x0001"],
            "fingerprint": { "profile": "0x0104", "device": "0x0402", "endpoint": "0x01", "in": ["0x0001", "0x0020", "0x0102"] },
            "items": [
                {
                    "name": "attr/manufacturername"
                },
                {
                    "name": "attr/modelid"
                },
                {
                    "name": "attr/name"
                },
                {
                    "name": "attr/swversion"
                },
                {
                    "name": "attr/type"
                },
                {
                    "name": "attr/uniqueid"
                },
                {
                    "name": "attr/lastseen"
                },
                {
                    "name": "config/on"
                },
                {
                    "name": "config/reachable"
                },
                {
                    "name": "state/battery",
                    "parse": {"cl": "0x0001", "at": "0x0021", "eval": "Item.val = Attr.val"},
                    "read": {"cl": "0x0001", "at": "0x0021"},
                    "refresh.interval": 1800
                },
                {
                    "name": "state/lastupdated"
                }
            ]
        }
    ],
    "bindings": [
        {
            "bind": "unicast",
            "src.ep": 1,
            "cl": "0x0001",
            "report": [
                {"at": "0x0021", "dt": "0x20", "min": 300, "max": 600, "change": "0x01" }
            ]
        },
        {
            "bind": "unicast", "src.ep": 1, "cl": "0x0020"
        },
        {
            "bind": "unicast",
            "src.ep": 1,
            "cl": "0x0102",
            "report": [
                {"at": "0x0008", "dt": "0x20", "min": 1, "max": 600, "change": "0x01" }
            ]
        }
    ]
}

Edit: And BTW there is a PR for the Fyrtur here https://github.com/dresden-elektronik/deconz-rest-plugin/pull/6110/files But still in waiting list with all others PR.

Siggi0904 commented 1 year ago

@Smanar sounds great, where should I store these DDF? What's the installation prezess for the new DDF? I don't have deconz-gui. Is it possible to install it without the dconz-gui?

PR in waiting list? Sounds not good for devs.

Mimiix commented 1 year ago

Hi guys,

I am not sure if this is a bug in deconz. It sure does not comply with #5113.

Closing this issue. I suggest moving to the forums for support.

Kind regards, Dennis