homebridge-plugins / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
387 stars 126 forks source link

King q1 - garage door #288

Closed carlosptf closed 3 years ago

carlosptf commented 3 years ago

any predictions for king-q1? today it is misrecognized as a window curtain.

King-Q1 - garage door

bwp91 commented 3 years ago

Hi @carlosptf

Can you share a webpage link to the device you have? I have never heard of this device.

If it is like the KingArt King-Q4 then this device is a blind/curtain type. https://www.globalsources.com/Smart-curtain/WiFi-roller-shutter-switch-curtain-blinds-switch-1174334804p.htm#1174334804

carlosptf commented 3 years ago

Hi, here on EWeLink it is listed as model king-Q1

https://a.aliexpress.com/_mLM6Dar Em 23 de ago. de 2021 04:27 -0300, Ben @.***> escreveu:

Hi @carlosptf Can you share a webpage link to the device you have? I have never heard of this device. If it is like the KingArt King-Q4 then this device is a blind/curtain type. https://www.globalsources.com/Smart-curtain/WiFi-roller-shutter-switch-curtain-blinds-switch-1174334804p.htm#1174334804 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

bwp91 commented 3 years ago

And can you set the position anywhere between 0 and 100% or is just OPEN or CLOSED?

carlosptf commented 3 years ago

both, in EWeLink it lets you choose between 0% and 100%, but I only use the closed and open option. when I put, for example, 10%, every garage door is open Em 23 de ago. de 2021 11:08 -0300, Ben @.***> escreveu:

And can you set the position anywhere between 0 and 100% or is just OPEN or CLOSED? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

bwp91 commented 3 years ago

This should be possible. With these garage door devices for security reasons, I consider 0% to be closed and 1-100% to be open, this is how the state would be relayed in homekit.

I will get back to you…

bwp91 commented 3 years ago

HomeKit does not allow for %-based positioning for garages, it is simply OPEN or CLOSED.

bwp91 commented 3 years ago

Or, with the latest beta of the plugin you can change the accessory type from a window blind to a door (separate homekit accessory type from garage door), which allows for %-based positioning. I will still work on a garage door implementation and let you know when ready to test

carlosptf commented 3 years ago

I installed the beta version, but it doesn't work. I believe it should be an open and closed implementation only, (in Ewelink the % does not work). The difference of the KING - Q1 is that it has an open and closed sensor. Thank you for your support ;) Em 23 de ago. de 2021 12:32 -0300, Ben @.***>, escreveu:

Or, with the latest beta of the plugin you can change the accessory type from a window blind to a door (separate homekit accessory type from garage door), which allows for %-based positioning. I will still work on a garage door implementation and let you know when ready to test — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

bwp91 commented 3 years ago

I am unsure how ewelink would report the status of the sensor to the plugin.

I would need you to share the device to my ewelink account... at a time when you're home obviously since it's a garage door... and for you to let me open/close the door a few times so I can see how the sensor state is reported to the plugin.

Would you be happy to do this? Happy to message on discord if it's easier.

https://discord.gg/cMGhNtZ3tW

bwp91 commented 3 years ago

I installed the beta version, but it doesn't work.

You would need to configure the device to show as a different accessory type...

Screenshot 2021-08-24 at 09 04 15
github-actions[bot] commented 3 years ago

This issue has been marked as complete as I believe the original query has been fixed/answered or will not be actioned. The issue will be closed in three days. If you feel the issue requires further attention then please let me know. Thanks!

no-response[bot] commented 3 years ago

This issue has been automatically closed as it was marked as complete and has had no further responses within three days. If you are still experiencing problems related to the original issue then please reply to this message and the issue will be reopened if necessary. Thank you.