-
Notifications
You must be signed in to change notification settings - Fork 209
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
Additional Actions #973
Closed
Closed
Additional Actions #973
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you! Please consider the following:
|
Jasem,
I can look into what is involved and make the switch over to using the new properties if that is a requirement. It will take me some time to learn and retest. I think in that case it would be better to cancel the pull request until I have made the changes.
The other suggestion to use the universal roll off interface is more of a problem. The communication between the driver and the Arduino uses text strings, "open" "close". The existing Arduino implementations that are out there use code, possibly modified by the user, based on provided examples. I don't see how to keep them working if the driver side communication were to be changed.
Thank you
Tom
…On Tue, 2024-09-10 at 18:16 -0700, Jasem Mutlaq wrote:
Thank you! Please consider the following:
- Use new style INDI Properties. i.e. INDI::PropertySwitch, INDI::PropertyNumber and so forth.
- Use INDI::OutputInterface and INDI::InputInterface for any digital or analog IO sensors. You can checkout [INDI GPIO](https://github.com/indilib/indi-3rdparty/tree/master/indi-gpio) driver as an example reference.
—
Reply to this email directly, [view it on GitHub](#973 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AKUOKWJJURCMUWLJJY66NGTZV6KXTAVCNFSM6AAAAABN7NSWB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGQZDOMRVGA).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
There shouldn't be any change on the driver side communication wise. You don't have to use INDI ROR interface at this stage, but implementing the INDI::OutputInterface and INDI::InputInterface would be highly beneficial and would even make this driver reusable by other drivers. |
Can I just close this pull request while I working on these things?
…On Wed, 2024-09-11 at 21:28 -0700, Jasem Mutlaq wrote:
There shouldn't be any change on the driver side communication wise. You don't have to use INDI ROR interface at this stage, but implementing the INDI::OutputInterface and INDI::InputInterface would be highly beneficial and would even make this driver reusable by other drivers.
—
Reply to this email directly, [view it on GitHub](#973 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AKUOKWLR6EKJXNTKSIN52FDZWEJ6NAVCNFSM6AAAAABN7NSWB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGI2DMNBVG4).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Extending the rolloffindi driver to be able to set additional Actions via the remote controller. The additional actions are most likely non roof related relays.
The driver user interface always provides eight switches and labels for the switches whether or not they are used. Action on/off commands and requests status will only be sent to the controller if the controller indicates upon connection that it wants to receive them. This is to allow existing controller installs to continue working with an updated driver.
Updated Arduino examples that request the additional actions have been included.
New Arduino examples include.