Awesome idea!! I found that openweathermap driver uses JSON and it's using them via gason.h/cpp files in drivers/weather.. so you can copy these two files to drivers/focuser to get started and then later I'll make both your driver and weather use them from a single location. But any rate, at at this, just simply copy them over to drivers/focuser so you can work on it from there.
I suppose the commands are the same or similar for SestoSenso2 and Esatto 2. Look at the sestosenso2 driver source (sestosenso2.cpp, sestosenso2.h), I implemented commands in seperate class 'CommandSet' with Esatto driver in mind. You can use it and 'SestoSenso2' class as well.
If you test communication in terminal, first you have to setup some flags, disable ECHO and enable ICANON by stty command in linux (as I remember) to get the correct single line response.
Focuser move in and out , can reach desired position, abort etc...
Yes, commands are similar to sestosenso2 and few of it I keep unchanged and my driver just a modification of Sesto Senso 2 driver
I need to investigate some non critical bugs , fix it and it can be used.
Also I run in troubles with setting up QT Creators how it described in iutorial... QT cant find stddef.h so I drop it made all changes in text editor, build and install from terminal, then just run test with Kstars
I think the first version of driver will be ready in few days, with basic functions and then I'll add rest of them (like LEDs, Presets, Voltage etc).
Also still waiting for Tprobes so can test how it works.
Has this work been postponed indefinitely? I too would be interested in this driver as I have to purchase either the ESATTO or a Moonlight focuser, and the ESATTO is much less expensive. Thanks for any update.
iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG