AtsushiSakai / PyRoombaAdapter

A Python library for Roomba Open Interface
https://atsushisakai.github.io/PyRoombaAdapter/
MIT License
77 stars 22 forks source link

Add simple GUI to control roomba with web app #5

Open AtsushiSakai opened 3 years ago

mrkeuz commented 3 years ago

Hi, @AtsushiSakai I've recently created similar app. But I decided to control Roomba via web app. It is very simple yet and can just move Roomba. But I think this is very good to start. You can review it here https://github.com/mrkeuz/roomba-rc.

What is done:

I don't know if there will be time to develop it. But you can use code as you want if needed.
You can run it for review without connected Roomba with --dummy option - ./main.py --dummy in this case app just start web server with an empty PyRoombaAdapter. Hope this help you.

AtsushiSakai commented 3 years ago

Oh. cool. If you would like to add the UI as a part of this Pyroomba Adapter, feel free to create a PR : ).

mrkeuz commented 2 years ago

Maybe we just create organization and move roomba-rc to it? What you think?

AtsushiSakai commented 2 years ago

Thank you for your comment. Why do you want to split the package? Installing this package in a small computer on a roomba, and launch a web server with this package, and an user can connect it from a browser and can control it. I think this structure is simple and easy to use. Any better use case to split the package?

mrkeuz commented 2 years ago

Just want to hear you opinion (don't remember license type of the project) I have enough time to support project right now.05.09.2022, 15:31, "Atsushi Sakai" @.***>: Thank you for your comment. Why do you want to split the package? Installing this package in a small computer on a roomba, and launch a web server with this package, and an user can connect it from a browser and can control it. I think it is useful. Any better use case to split the package?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

AtsushiSakai commented 2 years ago

I have enough time to support project right now.

That's great!!. This package is still used by many users, so your PR is very welcome!!

If possible, it will be great that the GUI code only depends on some python packages and a user just can run a command like:

PyRoombaAdapter.start_controller_server(PORT)

Then, the user can access the controller from a web browser.

mrkeuz commented 2 years ago

Roomba-RC PR

Got your idea. Make sense. Agree this will be simple and easy - install single package for all. And just run.

Unfortunately, currently, I don't have enough time for this - my thoughts and time are busy with another project (vlcsync). See my profile if interesting.

When there is courage and time I will try to make a PR for PyRoombaAdapter.

Idea

I have an idea in my head. Instead of a single-board computer, just put esp32 (as proxy) and send TTL commands to roomba:

The application and driver can be running on server. Take power supply from the Roomba itself. In this case we get a very cheap solution. And ready i.e. for Smart House. There is already a firmware for esp32 - somewhere I saw such Tcp→Wi-Fi→Esp32→UART feature implementation. This just as an idea and option.

What you think about this feature?

Thanks again for You work and interesting project! 🚀

mrkeuz commented 2 years ago

@AtsushiSakai,

Proposal

Temporary, until PR will not be merged, you can just add link to my project.

mrkeuz commented 1 year ago

image