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

Add TRADFRI Fyrtur blinds and open/close remote drivers #74

Closed
wants to merge 12 commits into from

Conversation

@lucasvdh
Copy link

commented Aug 20, 2019

Add support for the new TRAFRI Fyrtur (404.081.96) automated blinds by IKEA.

TODO

  • Implement custom setters using closuresWindowCovering cluster
  • Find out the Kadrilj deviceId and profileId
@CLAassistant

This comment has been minimized.

Copy link

commented Aug 20, 2019

CLA assistant check
All committers have signed the CLA.

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Aug 22, 2019

The onoff capability with cluster genBasic doesn't work for the blinds. It's more likely that the blinds need to be sent commands from the closuresWindowCovering cluster.

However, there is no mapping for a Homey capability to this cluster yet in the homey-meshdriver package. So one of two things will probably need to happen:

  • a Homey capability needs to be mapped to closuresWindowCovering in the meshdriver package
  • a custom implementation needs to be made for the roller_blind device

I'll probably try and get the blinds working with an implementation in the device, maybe someone else can then refactor it to the homey-meshdriver package?

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Aug 22, 2019

Got everything working 🎉 Lets hope this makes the people who already have the new roller blinds happy.

Notes

Icons

Only thing which you might want to have a look at is the icons. The pairing icon for the blinds could've been a bit better. Also the icon I made for the blinds is not how it is originally depicted in the instruction manual, but I think this icon better represents the blinds. The icon from the manual would have been to large (or the buttons on which it's displayed too smal) for it to be recognizable.

Repeater

I don't know if it's required that you add the repeater device before you add the blinds itself. The instruction manual from IKEA says that the blinds will not function without having the repeater configured. I don't see why that would be the case but I added it as a device to my Homey just to be sure.

Homey Meshdriver update

It would be better to refactor the custom implementation of the windowcoverings_state capability to the homey-meshdriver package. Maybe the maintainer of the package from Athom can do this?

@lucasvdh lucasvdh changed the title [WIP] TRADFRI blinds Add TRADFRI Fyrtur blinds and open/close remote drivers Aug 22, 2019

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Aug 22, 2019

The new open close remote driver isn't working yet, want me to move it to a separate PR?

@TvAnton

This comment has been minimized.

Copy link

commented Aug 22, 2019

Hi i have a fyrtur at home how do i get it to work!
Sorry a homey beginner:)

Thanks for your amazing work

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Aug 23, 2019

Hi i have a fyrtur at home how do i get it to work!
Sorry a homey beginner:)

Thanks for your amazing work

You can just install the version of the app at lucasvdh/com.ikea.tradfri with the athom-cli. If you don't know how to do this I'm afraid you'll just have to wait until this pull request is accepted and the original app is updated.

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Aug 24, 2019

Having some trouble getting the open/close remote device working with the driver I wrote for it. Opened the issue referenced above.

@lordradon

This comment has been minimized.

Copy link

commented Sep 1, 2019

Hi, sorry to disturb. But any eta when the blinds are up and running on this ikea app?
Appreciate the work you're doing.

@harmstellinga

This comment has been minimized.

Copy link

commented Sep 1, 2019

Great work @lucasvdh, up and down in HOMEY already works fine, still Some ..... op de i zetten
i think.
Will the remote also be implented.

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Sep 1, 2019

@lordradon the driver for the blinds is already working, if you want you can install this version manually. As to the question of when this PR will be accepted, I cannot say.

@lordradon @harmstellinga the driver for the open/close remote is included in this PR but I haven't managed to get it working because of this issue. My guess is that the PR won't be accepted until this issue is fixed by Athom.

@lordradon

This comment has been minimized.

Copy link

commented Sep 1, 2019

Yes thanks, up, down and idle works great. Got the unknown zigbee as you have said, for the remote.

Will there be a possibility for sliding up and down incrementally, like a dimmer slider?
Right now, flow to get it 50% is down then idle after 10secs

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Sep 2, 2019

@lordradon I've concluded that the ZigBee command goToLiftValue does not work for the IKEA blinds and I'll remove the corresponding Homey capability from the driver in this PR once I have some time. So, no. You could try to figure out the timings yourself though.

@RobinBol

This comment has been minimized.

Copy link
Contributor

commented Sep 3, 2019

Hi @lucasvdh! Thanks a lot for your PR, I was so free to use parts of your code for the implementation of the Fyrtur and Kadrilj drivers (see here). Additionally I have added a system capability to homey-meshdriver.

Short question, how did you find the deviceId, productId and profileId for the Kadrilj driver? Are you certain these are correct?

Thanks!

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Sep 4, 2019

@RobinBol, great to hear!

Regarding the deviceId and pofileId of the KADRILJ blinds, I don't know these. I'm 100% about the FYRTUR blinds but I don't know of anyone who has the KADRILJ blinds, so those still need to be verified 🤷‍♂.
The productId was a guess based on the English name for the product on the IKEA website because the name (productId) of the FYRTUR blinds matched the website exactly.

I'll try to give the PR a test drive tonight!

@RobinBol

This comment has been minimized.

Copy link
Contributor

commented Sep 5, 2019

Ok, thank you for the information! I think the KADRILJ deviceId and profileId are identical to FYRTUR. The productId is indeed a good guess, but I am hesitant to release that driver specifically if we have no confirmation that it is indeed the correct productId. We have been able to get our hands on a FYRTUR but not a KADRILJ unfortunately.

@lucasvdh

This comment has been minimized.

Copy link
Author

commented Sep 5, 2019

Guess the KADRILJ driver will have to wait a bit until someone can provide the productId then.

@RobinBol

This comment has been minimized.

Copy link
Contributor

commented Sep 5, 2019

I will close this PR since it has been replaced in the meantime.

@RobinBol RobinBol closed this Sep 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.