×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Is it possible to create INDI client on ESP32 ?

  • Posts: 410
  • Thank you received: 51
Hello to all,
This is a some time now that I play with ESP32. This little device has a lot of flexibility and allow lot of developments.
I wonder if it is possible to create a generic headless client of INDI on this device. The fact is, as I can understand, developing a client need to use the lib base of INDI. But there is no version to be used on ESP32.
The underlying idea is to make a Wifi network for high latencies devices as focusers, domes, mounts, etc...
So the question is, do I make a mistake when I want to create such client ?
In fact do I make an architecture mistake considering the INDI lib ecosystem ?
Thanks for your answer
1 year 2 months ago #70441

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

  • Posts: 20
  • Thank you received: 4
Hi,

for me it's not clear what you're trying to do: do you want ESP32 to drive physical devices (i.e. a stepper motor for a focuser, another stepper motor for a dome, meteo sensors, ...), and manage all this from Ekos?
If your answer is yes, than you don't need to implement an indi client on ESP32: you need a firmware to drive the devices and communicate (via WiFi if I understand) through a comm protocol, and an Indi DRIVER (focuser, dome, meteo...) that understands the same protocol sitting in-between Ekos and your ESP32(s).

Hope this helps
Matteo
The following user(s) said Thank You: Jasem Mutlaq
1 year 2 months ago #70455

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

  • Posts: 410
  • Thank you received: 51
I will try to be a bit clearer.
For the moment I implemented a firmware on ESP32 to handle a focuser. On Ekos side the focuser driver connect the to the ESP32 via wifi. There is 2 servers running on ESP32. One that handle the focuser commands coming from EKOS and another that handle commands coming from a mobile device. I am not sure this is the best solution. This is why I wondered if it couldn't be better that the ESP32 could connect directly to the INDI server and act as a client.
Maybe it is a silly idea.
1 year 2 months ago #70463

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

  • Posts: 156
  • Thank you received: 22
Technically it is possible to do what you want - INDI is using xml for communicating between clients and servers, so you could implement a client on ESP32, but I think you need to rethink your approach.
1 year 1 month ago #70561

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

  • Posts: 280
  • Thank you received: 43
Hi,

I just came across this link : www.himax.com.tw/products/electrically-tunable-focusing-lenses/
Maybe you can use the ESP32 for a new kind of focusing ??
Just a thought.

Br, Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi4, Ubuntu Server 20.04.3 LTS x64, and many Arduinos..
1 year 1 month ago #71602

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

Time to create page: 0.540 seconds