I am using version 2.25.3 of DeCONZ which comes with HomeAssistant. I have two IKEA Fyrtur covers, one of which has been happily doing its job with DeCONZ for over a year now. The other one I bought last week.
I cannot seem to be able to successfully connect my new Fyrtur to Phoscon.
I am using the new “blinds” menu (i.e. wasn’t there when I connected the old Fyrtur - I used “lights” back in the day) and click “add new blind”. On the Fyrtur I push both buttons for a few seconds until the motor buzzes and the light starts flashing.
After a few seconds, I can see a new device in DeCONZ without a proper name. Instead I see a hex numbers (which varies with each attempt). Meanwhile Phoscon will time out and report “failed to connect”. Only the old Fyrtur remains in the list of blinds. The new one does not show up.
When I click Edit->Edit DDF, DeCONZ shows me ikea/fyrtur_block-out_blind.json, which tells me, the Fyrtur is correctly recognized as such. (By the way, I have not changed anything.)
Why then does it not show up on Phoscon? (Also, it does not show up on HomeAssistent.)
I tried deleting the device through “Edit->Delete node” several times to start over. The result is always the same.
When I try pushing the two buttons on the Fyrtur once quickly, the light with turn on permanently, however, nothing shows up on DeCONZ (Phoscons times out again).
I am out of ideas of what to do next.
I have to apologize for my ignorance right away. What exactly would be the “basic cluster”? A screenshot of the entire DeCONZ screen? Or anything more specific? Or do you mean this tab below?
Thank you so much for responding. As for the DDF, I am using the regular HA integration which as far as I know comes as a container. No idea, how I could gain write access to the DDFs or create a new one (I’m really a fish out of water, sorry). In DeCONZ when I choose “Edit DDF” I get this dialog where I can set the status to “Gold” as demonstrated here. Is this what you meant?
Unfortunately, even when I hit “File->Save” it will just revert back to “Draft”.
P.S. What might be the cause for my installation not using the right DDF from the repo? All I ever did was updating the integration trying never to mess with any of the DeCONZ settings. I am curious as this might give me an option to revert any undesirable changes.
Supplemental: I was able to “docker exec -it {ID} /bin/bash” into the container. To my surprise, the file in /usr/share/deCONZ/devices/ikea actually shows status “Gold”.
Elsewhere they mentioned a directory named /data/.local/share/dresden-elektronik/deCONZ/devices/ which is completely empty in my container.
However, the “status”: “Draft” persists in the Phoscon API Information as well as on DeCONZ->Edit->Edit DDF.
[A sad update, the old Fyrtur stopped working as well. It’s still in the blinds list on Phoscon and also shows up in HA, but won’t move. No idea whether this was my fault for renaming the HA entity as well as the name on Phoscon. Usually renaming DeCONZ-Entities doesn’t cause trouble.]
For me the easier thing, is creating a new DDF with the status"Gold" in the folder for HA /data/.local/share/dresden-elektronik/deCONZ/devices/ (and yes this folder can be empty, if it’s your first DDF)
After that, when you make right clic + edit DDf, you need to see this one on the editor title bar.
I noticed the same file in the v2.24.2_stable and master branches both list "status": "Draft". That is why I used the older version from the v2.23.x_stable branch.
Your instructions earlier in this thread as well as the link you referred to (How to add/edit a DDF on Home assistant using text editor? - #18 by bcutter) both mention something about a “hot reload” using a right-click when accessing “Edit DDF” in DeCONZ. Right-clicking that menu item does not seem to do anything. The dropdown menu just disappears. So I clicked “File->Hot reload Ctrl+R” in the DDF Editor window for ikea/fyrtur[…].json. Well, the status in the dialog persists at “Draft”.
Maybe interesting side fact (at least for me): Upon rebooting the Raspi last night, the file in /usr/share/deCONZ/devices/ikea listed the “Draft” status again, after it showed “Gold” last time I took a look inside the container. So, apparently I has been able to change it using the webui prior to peeking inside the container, although that change did not persist (and apparently wasn’t picked up by DeCONZ?!).
General question: Seeing the Draft status in that file in the master branch on Github makes me wonder why not everyone using these Fyrtur roll-out covers would be affected. Or are they?
P.S. Also tried to pair it. Again, it’s just a hex number and “Edit DDF” shows “Draft”.
The path need to be /data/.local/share/dresden-elektronik/deCONZ/devices/
and not /.local/share/dresden-elektronik/deCONZ/devices
(The folder is invisible, thx docker, always so easy to use)
I pasted the contents of this source into that json file:
Don’t forget to change the status too.
both mention something about a “hot reload” using a right-click when accessing “Edit DDF” in DeCONZ. Right-clicking that menu item does not seem to do anything. The dropdown menu just disappears. So I clicked “File->Hot reload Ctrl+R” in the DDF Editor window for ikea/fyrtur[…].json
Yes, this menu is in the editor, but on your side, as you edit the container, you need to restart deconz.
Turns out, what I needed to do was to enter the DDF Editor and then choose “File->Open”. The freshly added DDF was the only file listed in the selection. So, I opened it and got “Status: Gold” right away. After another attempt at pairing the Fyrtur cover, it showed up as “Window covering device 32” in DeCONZ as well as in the blind menu of Phoscon.
Thank you so much for keeping up with me (and spoon-feeding me - I know I can be a little thick at times). Merci, danke schön, gracias!
P.S. I am still concerned others using the same setup (HA+Conbee II) might hit the same roadblock as long as the fyrtur[…].json in the master branch is designated as a draft. Maybe I’m wrong, though.
Ok, so the issue is from deconz.
If you have more than 1 DDF for the same device, you can set 1 on “Gold” and other in “Draft”, deconz will take one of them randomly, even a “Draft” one.
I have the same problem for Lixee device.
Interesting to see two DDFs interfering. Seems, though, like this only happens once in a while.
Update: Just FYI, upon re-joining the IKEA open/close button, it receives a new designation in HA which confused me. If anybody else runs into that, just check Developer Tools->Events-Listen.