-
Notifications
You must be signed in to change notification settings - Fork 17
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
Calibration during the runtime #27
Comments
Hi, |
My problem is the following I have an awning which has a wind sensor integrated. When he detects wind above the threshold he closes automatically. I want to put one magnetic sensor, which will detect when the awning closed in that particular situation. So, when the sensor closes, the shutter should be inicialized to 0 again. What I need to do to achieve this? I want to avoid setLevel (0) to avoid waiting for the closing time. |
What kind of signal gives this sensor?
For the 2-nd and 3-rd option I would simply invoke shutters.setLevel(0) and maybe I would block manual steering of the awning for closing time.
|
@klaudiusz223 thanks a lot for your help! My situation is the first option. I know that the awning is closed and is at position 0. Your code is very welcome, and I believe it works for my use case. But there is any way to do it without messing with the source code? I was thinking in inicialize the shutter again but passing the position as 0. |
How can we force one full calibration during the runtime?
As an example, I have one contact sensor and I want to perform one reset/calibration of the shutter when this sensor is triggered. Is there a good way to do it?
I tried calling shutters.reset() but nothing happens... Whats the purpose of this method?
The text was updated successfully, but these errors were encountered: