Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: RazberryPI ZWay roll off roof driver

RazberryPI ZWay roll off roof driver 1 month 3 weeks ago #25702

  • FraGro
  • FraGro's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello,

my name is Frank and I'm new here. I like to write a indi driver for my observatory roof using a Raspberry PI with the Razberry Z-Wave Module which has an Restful API.
I use two Z-Wave door sensors as limit switch and a Z-Wave relay to pulse my modified garage door opener. I have already an configured test setup on my table and i can simulate all steps manually by the browser.

I plan to make the api calls with curl but i need to parse the response from json.
My current issue is to find a common license compatible c/c++ library.

Can you give me some recommendations?

Please Log in or Create an account to join the conversation.

RazberryPI ZWay roll off roof driver 1 month 3 weeks ago #25704

Hello Frank, welcome to INDI!

It should be fairly straight forward to develop an INDI roof driver for your setup:

1. Start by taking a look at the Roll Off simulator driver: github.com/indilib/indi/blob/master/libi...rs/dome/roll_off.cpp
2. Use curl to make the API requests. You can see it being used here along with JSON parsing: github.com/indilib/indi/blob/master/libi...her/wunderground.cpp
3. Customize rolloff to your needs

Let us know if it works out for you!

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

RazberryPI ZWay roll off roof driver 1 month 3 weeks ago #25732

  • FraGro
  • FraGro's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thanks for your help!

I take the roll_off driver as template and use the gson source and header directly from weather folder.

Clear Skies!
Frank

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.112 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica