-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Draft: Add support for Doors #123
base: main
Are you sure you want to change the base?
Conversation
I still need to get it to properly report the position state (opening, closing, stopped https://developers.homebridge.io/#/characteristic/PositionState) Also need to figure out how to properly submit the open/close target. TODO, remove the console.log()s
Output I'm seeing from Alexa: Support:
|
I'm currently working on the Required Characteristics as defined here, but would like to add the Optional Characteristics if I can get that info from Alexa https://developers.homebridge.io/#/service/Door |
So in emailing with LycheeThings support team, it seems like I may be missing the 'instance' variable in the payload when setting the range value. |
af779ee
to
e7fa659
Compare
@fr3nch13, thanks for the PR! Sorry I overlooked this. I had to do a pretty major refactor of the plugin to fix some recent issues so this will need a lot of changes if you are still interested in adding door support. |
Oh ok. Adding support for v3? |
I'll wait until you have a more stable version of 2.2.0 before trying to add the door. However, I don't mind being a tester/contributor. |
@fr3nch13, v2.2.0 is stable now so go ahead with your contribution when you are ready. Thanks! |
Description
I'm trying to add support for Doors, specifically the Lychee Things SmartSlyder, but I could use some help.
Type of change
How Has This Been Tested?
Currently: testing live locally:
% npm run build && npm link && homebridge -I -D
Then watching the output when viewing/triggering via the web frontend at
http://localhost:8581/accessories
Checklist:
I'll do this once I have Proof of concept working, but it is currently passing
npm run lint && npm run format
I'll put code snippets below in the comments of what the Door looks like coming from Alexa, and the error I'm getting when I try to set the state. I could use some help.