Ok, good, thanks for giving it a try.
Once this ability was working I have never built an INDI client app again, I now always write web page clients. The example I gave you is just to show how setindi() and setPropertyCallback() work. But now it opens the door to all the rich html/css formatting to make really beautiful clients that are super portable, even to cell phones. And using a websocket makes them very efficient as well, even for showing blob images.
Anyway, many thanks for your work and take care,
Elwood
Read More...
The web page uses the Simbad driver so I'm thinking you are not running the indisimbad driver. In the INDi directory run it like this:
./indiserver ./indisimbad
Then on the web page type the common name of an astro object, for example M31, and the page should report the RA and Dec.
Read More...
I posted the wrong version of the indiserver. Please disregard the previous and use attached.
Read More...
Hello all,
It's the 20th anniversary since I wrote the first draft of the INDI protocol
(here)
so it was a good time to stop by and say hello. This is a wonderful site and I want to thank everyone for using INDI.
I want to share a means I developed to write INDI clients as web pages using pure javascript. This is very convenient and avoids all the hassles of deploying compiled applications for different platform. The core idea is to connect a web server to an indiserver via a websocket then send setINDI commands and receive getINDI responses using javascript. I have attached a very simple example in htdocs.tgz. At the top of indi.js is the configuration file change needed for the lighttpd web server, but I think all web servers support websockets similarly.
I have also made extensive performance improvements to indiserver, please find attached the new version in INDI.tgz. It also includes the indisimbad driver used by the web example above and a few other handy drivers.
Both of these codes have seen exhaustive field use so they should be very reliable.
Well that's all for now, maybe I will check in again in another 20 years
All the best,
Elwood
Read More...