-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Added duration support to the Merten Roller Shutter drive #4253
Conversation
devices/schneider_electric.js
Outdated
meta: {coverInverted: true}, | ||
configure: async (device, coordinatorEndpoint, logger) => { | ||
const endpoint = device.getEndpoint(1) || device.getEndpoint(5); | ||
const endpoint = device.getEndpoint(5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why has this been changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The duration setting was missing in my original implementation.
When I added it after receiving a Hint, I also realized, that endpoint 1 is not needed for the roller shutter function.
It is only used, when the controller is attached to a light switch insert.
I removed it from my external Converter and did not notice anything missing.
Best regards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was added due to Koenkk/zigbee2mqtt#5561 so I believe it should stay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have just put it back in - will not hurt anyway.
Thanks! |
I added the function to support setting the duration of the Merten Roller Shutter driver following the request on this post
Tested it and it is working for me (function was also already implemented for the
PUCK/SHUTTER/1
device.