×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Is it possible to create INDI client on ESP32 ?

  • Posts: 454
  • 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
2 years 11 months ago #70441

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

  • Posts: 39
  • Thank you received: 9
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
2 years 11 months ago #70455

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

  • Posts: 454
  • 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.
2 years 11 months ago #70463

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

  • Posts: 174
  • Thank you received: 27
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.
2 years 11 months ago #70561

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

  • Posts: 298
  • Thank you received: 46
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
2 years 10 months ago #71602

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

Time to create page: 0.879 seconds