-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature Request: Third reed sensor. #4
Comments
Hello Actually, I am a bit busy to do the needed modifications, but I will give you some ideas If I’m not wrong the door supports position control. You can request it to open just a 10% and it will stop once 10% reached. You can calculate how much percentage is the position in which you want and try using that. This will not need a 3rd reed switch. If this approach is not valid for you, I have some simple ideas (not the best, but should work):
|
I tried dragging the slider or calling the service to set position to 10%. Both result in just a full open or close. I've adjusted the timing and the percentage already matches the actual position. But the stop doesn't seem to happen. |
I reviewed the code (develop branch) and seems I'm only using position to determine action to do. |
@Wheemer I just pushed a commit that adds the position control feature. I did not test it yet, but it should work (that sounds like what a developer will say 😄). If you find any issue let me know please. While doing the changes I saw this deprecation warning; https://esphome.io/components/cover/custom |
Awesome, it's sort of working. At least it does from closed position. However from open, if I close it to 10% it thinks it can stop at 10% but my opener will only reverse direction when the signal is sent during closing. So it would be really nice if it instead fully closed and then reopened to the desired amount. Is that logic even possible? I really appreciate your work, this is already working very well. |
It also seems I am unable to open it to anything less than 10-15%. EDIT: Reduce push interval to fix this. |
Sorry to bother again. I also have another problem with closing. If I close from 5% it will always bounce back and open. If I close from 10% it closes fine. Is there any way that if I close it from 5% it can know to stop after the bounce back at 10% and then close again? |
Currently I have push interval at 500 and I can request 5% from service call no problem. So only problem remaining is that it bounces back on close from 5%. To close I issue set position to 10% and it will close and stop at 10% on the way back up. I have a delay of 3.6 seconds and issue a set position 0%. This makes it do the dance and end up closed. So it is working for my needs well. I have an automation tied to an input boolean and my vent switch works well. Thanks for this great way to control my older garage door. I now have much better control then I believe is even possible with anything else available. I was thinking of how I can control the light... I see a capacitor inline within the control switch, that might be my next task. Thanks for your help! I really appreciate your great work. |
Nice to hear that finally works for you! |
I finally updated my config to take advantage of the latest version of your code. So much neater as an external component. Thanks! |
Hello;
I would like to use a third reed sensor at a position where my door is just slightly opened. I'd call it my "vent" position.
I often need to have the door opened in this position. Would this be possible?
Thanks, I used your nice work to replace the MyQ paperweight.
The text was updated successfully, but these errors were encountered: