Already done,
Jaseem did the conversion to allow TCP/IP [many thanks]
use the existing INDI driver for myFP2
Use the TCP/IP connection, enter address of controller and port 2020

However, use the latest release
github.com/brownrb/myFP2ESPFirmware/releases

and make sure you enable INDI in the Management Server of myFP2ESP
regards
Robert
 

Read More...

Yes, that I think was described in the PDF.

However, it isn't WiFi as such.

I did try to contact Jasim for some help in converting the exsisting myfocuserpro2 INDI serial based driver to use TCP/IP. I sent several messages but never got a response.

I just needed some pointers about the conversion as I am not that famaliar with INDI and the existing INDI driver was written by Alan.

Regards
Robert

Read More...

Paul
You would either need to use port 2020 in kstars or if you intend to use port 1026 then you would need to change that in the firmware and reprogram the controller?

Read More...

I will be looking forward to seeing how things turn out.

I would think you could copy the existing myFocuserPro2 files from the INDI source and use those as a start?

I have just posted firmware v112 to sourceforge and v113 to groups.io - myArduinoDIY
The latest v113 pdf is also posted at same.

Robert
sourceforge.net/projects/myfocuserpro2-esp32/

Read More...

I made a windows controller emulator for the esp controller. If you run this on the windows pc it will start an emulator (and tell you the ip address) - you then can connect to it and it behaves just like a esp controller. I use it all the time for testing, running inside its own VM

Read More...

Email me: Am happy to donate a board with components, but postage is another thing. If you were willing to contribute with postage then it is possible.

Read More...

Command set is identical [though there are a few EXTRA commands for ESP info, which one could easily ignore]

By default the esp code uses port 2020 and the ip address will vary depending on the controller mode and if dynamic ip allocation is being used.

You cant do this with a myFocuserPro2 controller - because that only supports serial.

A myFP2ESP controller [different hardware and firmware] supports tcpip/serial/bluetooth/web-server/ascom-remote

Cheers
Robert

Read More...

myFocuserPro2Linux only uses serial as it talks to a serial based focuser. One would not use it to talk to a focuser using TCP/IP.

myFocuserPro2ELinux only uses TCPIP. (E for ESP chips or WiFi). It is now renamed as myFP2ESP-Linux and is posted at sourceforge.

Read More...

myFP2ESP WiFi was not designed to work as a serial usb controller (though that is possible).
The firmware for it was designed from scratch, and now has been ported over to myFocuserPro2
myFP2ESP controllers use the same protocol commands and responses as a myFocuserPro2
So if a myFP2ESP controller is running in LOCALSERIAL mode it will talk happily over USB with the myFocuserPro2 Windows app, myFocuserPro2 ASCOM driver andpresumably the INDI driver (as I do not have a LINUX system running INDI that I cannot verify but it should).

myFocuserPro2Linux is just a Linux version of the myFocuserPro2 Windows app designed to work over a serial port connection. It does not use TCPIP

myFP2ESP Windows app uses a TCPIP connection and can talk to myFP2ESP controller via TCPIP.
It is found at (Name will change soon to myFP2ESPLinux)
sourceforge.net/projects/myfocuserpro2-e...Linux%20Application/

Actually, taking the existing INDI driver for myFocuserPro2, it should be able to be modified (clone and then rename to myFocuserPro2ESP?) to use TCPIP instead of serial to communicate with the myFP2ESP controller - most of the INDI code is already done, just change the serial code to use TCPIP instead. Happy to provide source code examples of Linkux TCPIP socket code talking to an myFP2ESP controller to anyone interested in coding a driver,

Regards
Robert

Read More...

That code is not designed to run on the esp32. Running serial on an esp32 chip does not really make sense in terms of driving a focuser.

You do understand that the myFocuserPro2 has already been updated to the next generation using an ESP8266 or ESP32 chip, giving all the features of Bluetooth (ESP32), WiFi, ASCOM REMOTE and a host of other features, options.

sourceforge.net/projects/myfocuserpro2-esp32/

Regards
Robert

Read More...

You can do a relative move + or - using :64xxx#where xxx is the steps to move, for example :64-200# would move -200 steps from where the focus position is currently.
Does that help?

Read More...

Hi Alan
I think you have done more than your fair share so far!

Best wishes for a good game, lets hope the ref lets the game flow.
I'll cheer for my team, and you for yours. Here's to a cracker of a game.

Regards
Robert

Read More...