Skip to content
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

relay stops for no reasons #9

Open
Adrien5353 opened this issue Dec 30, 2021 · 2 comments
Open

relay stops for no reasons #9

Adrien5353 opened this issue Dec 30, 2021 · 2 comments

Comments

@Adrien5353
Copy link

hi !
thank you for your work ! :)

got an issue with roof movements : when i open or close the roof, the relay stops after 15 seconds (20-25 is the delay needed for a full opening/closing ) . status is aborded/unknown. i can press again the same command, the roof is full opened/closed and the status is now CLOSED or OPENED with the fullyopen/close switches. tested with long AND short wires.
have you got an idea about what could cause this ?

@dokeeffe
Copy link
Owner

dokeeffe commented Jan 1, 2022

Adrien,
Yes there are actually a hard-coded safety timeout n the code. Sorry I should have documented these better!!
Are you using the INDI driver?

See #define MAX_ROLLOFF_DURATION 19
here https://github.com/dokeeffe/indi-aldiroof/blob/master/indi-driver/indi-aldiroof/aldiroof.cpp#L31
Thats 19 seconds though.

Try making that larger and recompiling to see if it helps.

Let me know if not.
Derek

@Adrien5353
Copy link
Author

Yep, Thanx for anwsering.
I had a few help, and fixed it this way. Now everything is OK and works pretty fine.
Once again, thank you for your code. This is really helpful to build my own observatory <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants