dokeeffe / indi-aldiroof

Arduino powered motor controller and an INDI driver for an astronomical observatory roof powered by an Aldi special 550w electric hoist
12 stars 4 forks source link

Connection via TCP? #7

Open minhlead opened 3 years ago

minhlead commented 3 years ago

Hi there, Thank you so much for the driver. It helped me build my ROR observatory . I just wonder if there is any plan to make this driver/firmware work with ESP8266 device (NodeMCU) and connecting via TCP (Wifi). The serial connection does not seems to be very stable. And TCP connection opens the ROR to a posibility of automation with a smarthome hub (like Home Assistant).

dokeeffe commented 2 years ago

Hi, sorry!! I didn't notice this until recently. This is a good idea. I actually did have some USB problems recently and it did affect my roof. I overcame it by adding a raspberry pi into the roof controller box. This connects using a very very short usb cable and runs a small web-api that I call now to open and close the roof. I think your idea of using an ESP8266 (or even newer arduino with built in wifi) is a better idea.

minhlead commented 2 years ago

ESP8266

Hi, Thanks for the reply. Do you have any intend to make this a reality? If you do I am happy to be a tester.

dokeeffe commented 2 years ago

I did push the raspberry pi based solution here https://github.com/dokeeffe/aldiroof-ext Regarding an ESP8266. I don't think I'll do it soon as the raspberry-pi solution is working quite well now. I used a pi-zero which I just leave powered on all the time. Seems to be much more reliable than USB and I can open the roof by sending an HTTP request to the pi