-
Notifications
You must be signed in to change notification settings - Fork 394
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
Add indi-ipx800v4 Driver #2083
Comments
Thank you. I think this driver needs to be broken down to two drivers:
The relay driver would be based on INDI::RelayInterface that I just introduced a few days. I can do this and migrate this part of the driver to use IPX800. Then I plan to implement a universal ROR driver that uses the relay driver. How do you get the limit switch status? via digital input from the same IPX800? I think I need to create another INDI::InputInterface as well. |
Hi, Can I help the migration ? |
My current plan is this:
In the ROR driver you specify the numbers for each. For example, assuming IPX800, we would put this driver as both input and output driver. Then in ROR we say this:
Would this work for your case? Btw, the ROR driver is not written yet, it will be next on my TODO after I finish the new indi-gpio driver. |
@aknotwot The INDI::InputInterface and INDI::OutputInterface are now ready to be used. I added Waveshare modbus driver that uses the Output interface, and INDI GPIO driver that uses both Input and Output interfaces. Do you think you can modify your driver to use these interfaces? |
|
@aknotwot Let me know if you require any additional help to integrate this driver. |
@aknotwot Any updates on this driver? We're getting close to INDI 2.1.0 release. |
Hi, didn't work on it yet. Will try this weekend. I give you updates sunday evening. |
Hi Jasem, starting to work on it. Not sure too understand the full new architecture . |
Did you take a look at the INDI GPIO driver? This is a good example on how to implement both Input and Output interfaces. Please let me know if you have any questions. We could do a quick meeting as well if anything is not clear yet. |
Should be ok with the two examples (GPIO and waveshare). Thx. |
Hi Jasem, i won't be able to finish update of my driver in the next 2 weeks. I you were, perhaps you shouldn't wait for them to publish the new indi release. I will be ready for next. Best Regards, |
Hi @knro . Back on track. Work in progress. Trying first to implement new Input/Output Interfaces, then will see how to use ROR. Regards, |
@aknotwot Great! A couple of users are waiting for this driver! Let me know if you need any help. |
Hi @knro . Some news. Hard to fully understand the architecture. Mostly don't understand how to use universal_ror driver... |
What do you mean an IP to universal ROR? Please clarify. You can also join us on Discord if you want faster response other than here. |
@knro, i'm struggling to add an IP adress to the IPX driver , tried many things ...connection is failing... Thanks for you help. ` IPPortTP.update(texts, names, n);
|
Do not define your own property, use the tcpCOnnection. Let me see if I can make the driver migration easy for you. |
Hi, i will join Discord.
Ip is linked to the ipx800 (or any other controler), why we have to choose IP in ROR driver ?
Recreate text fields in IPX800 was the only way i found to display fields to choose an IP and port.
As you can see i'm not fluent at all in INDI architecture...
I have a draft driver, but can't test without operationnal connection.
Best regards.
Envoyé depuis Proton Mail pour Android
…-------- Message d'origine --------
Le 11/10/2024 08:45, Jasem Mutlaq a écrit :
Do not define your own property, use the tcpCOnnection. Let me see if I can make the driver migration easy for you.
—
Reply to this email directly, [view it on GitHub](#2083 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AXW4X7DTOTOGIIDLGWNH2LTZ25X2HAVCNFSM6AAAAABLHBBDQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBWGY3DANRUGQ).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Ok I took a look at the driver and it needs substantial changes. I already started on a skeleton driver for IPX800 but need to know the following:
|
Hi, wait a minute, last minutes were efficient. I removed my mess in the code about ip field adress, just left the new TcP...so now ip connection is working. I'll give more news in the weekend ! I hope to send you a working draft in the weekend.
Envoyé depuis Proton Mail pour Android
…-------- Message d'origine --------
Le 11/10/2024 21:47, Jasem Mutlaq a écrit :
Ok I took a look at the driver and it needs substantial changes. I already started on a skeleton driver for IPX800 but need to know the following:
- It appears from documentation an API key is used, not username and password?
- We need Digital Inputs, Analog Inputs, and Digital Outputs.
- Which commands used for DI, AI, and DO exactly? GetR to get all digital output status? I looked up the documentation but it was in French.
—
Reply to this email directly, [view it on GitHub](#2083 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AXW4X7CWJYKYYTDH3O6TYITZ3ATLZAVCNFSM6AAAAABLHBBDQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGAZTANJQG4).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi Jasem,
the IPX part looks fonctionnal, at least enough to test integration with Input/Output Interface and universal_ROR...
In IPX driver Input/Output Interface are updated correctly.
But clearly, integration with universe_ROR is not working, as with the Dome module. Reading codes i don't see what is missing...I don't understand how universal_ROR can activate IPX800 Relay through OutputInterface.
Here you can find the last version : https://github.com/aknotwot/indi-ipx800v4/tree/dev
Thanks for your help.
Best Regards,
Arnaud D.
Envoyé avec la messagerie sécurisée [Proton Mail.](https://proton.me/mail/home)
Le vendredi 11 octobre 2024 à 21:50, Aknotwot ***@***.***> a écrit :
… Hi, wait a minute, last minutes were efficient. I removed my mess in the code about ip field adress, just left the new TcP...so now ip connection is working. I'll give more news in the weekend ! I hope to send you a working draft in the weekend.
Envoyé depuis Proton Mail pour Android
-------- Message d'origine --------
Le 11/10/2024 21:47, Jasem Mutlaq a écrit :
> Ok I took a look at the driver and it needs substantial changes. I already started on a skeleton driver for IPX800 but need to know the following:
>
> - It appears from documentation an API key is used, not username and password?
> - We need Digital Inputs, Analog Inputs, and Digital Outputs.
> - Which commands used for DI, AI, and DO exactly? GetR to get all digital output status? I looked up the documentation but it was in French.
>
> —
> Reply to this email directly, [view it on GitHub](#2083 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AXW4X7CWJYKYYTDH3O6TYITZ3ATLZAVCNFSM6AAAAABLHBBDQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGAZTANJQG4).
> You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @knro still working on the topic. I modify the name of the driver : indi-ipx800, allowing it to be more generic cf here : https://github.com/aknotwot/indi-ipx800 . Later i will implement V3, V5 commands. Integration with Input/Outpout Interface work well. But still more difficulties to make universal ror behave correctly. I can't test my roof in real condition because of bad weather ... :-/ |
@aknotwot Can you please submit the driver to INDI core (not 3rd party)? |
Hi jasem, yes sorry, busy days. Will look at it tomorrow 👍 |
No other driver were found.
Driver is stored in GitHub
It's a drive made first to manage the roof. It's a part of Dome device family
The driver communication with IPX800v4 comands through TCP.
IPX800 API
The text was updated successfully, but these errors were encountered: