Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple GUI to control roomba with web app #5

Open
AtsushiSakai opened this issue Feb 20, 2021 · 9 comments
Open

Add simple GUI to control roomba with web app #5

AtsushiSakai opened this issue Feb 20, 2021 · 9 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@AtsushiSakai
Copy link
Owner

No description provided.

@AtsushiSakai AtsushiSakai added the help wanted Extra attention is needed label Feb 20, 2021
@AtsushiSakai AtsushiSakai added this to the v0.2.0 milestone Mar 22, 2021
@mrkeuz
Copy link
Contributor

mrkeuz commented Jul 20, 2021

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:

  • websocket support
  • touchpad and keyboard support
  • css and html prepared for touchscreen (not moving/resizing on touch taps, etc) (tested on iOS)
  • no extra dependencies for JS

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
Copy link
Owner Author

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

@AtsushiSakai AtsushiSakai changed the title Add simple GUI to control roomba with tkinter Add simple GUI to control roomba with web app Jul 9, 2022
@AtsushiSakai AtsushiSakai modified the milestones: v0.2.0, v0.3.0 Jul 10, 2022
@mrkeuz
Copy link
Contributor

mrkeuz commented Sep 5, 2022

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

  • PyPi links will not break
  • git+https is for brave users ))) so think ok

@AtsushiSakai
Copy link
Owner Author

AtsushiSakai commented Sep 5, 2022

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
Copy link
Contributor

mrkeuz commented Sep 6, 2022 via email

@AtsushiSakai
Copy link
Owner Author

AtsushiSakai commented Sep 7, 2022

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
Copy link
Contributor

mrkeuz commented Oct 16, 2022

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:

  • Tcp→Wi-Fi→esp32→UART→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
Copy link
Contributor

mrkeuz commented Oct 20, 2022

@AtsushiSakai,

Proposal

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

@mrkeuz
Copy link
Contributor

mrkeuz commented Jun 23, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants