Remoth is a home automation tool to send key events to the host PC over WIFI using either a mobile device or another PC. The idea is to have a minimalistic and lightweight API to talk with.
Create a virtualenv
python -m venv venv
Active the virtual enviorment
.\venv\Scripts\activate
Install required dependencies
pip install -r requirements.txt
Build the exe file
pyinstaller -w -F --add-data "static;static" app.py --icon "icon.ico" --name "Remoth" --clean
Install latest python version supported by pyinstaller
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.7.13
Activate pyenv
pyenv shell 3.7.13
Create a virtualenv
python -m venv venv
Active the virtual enviorment
source ./venv/bin/activate
Install required dependencies
pip install -r requirements.txt
Build the app file
pyinstaller -w -F --add-data "static:static" app.py --icon "icon.ico" --name "Remoth" --clean
Make sure that all your devices you wish to control are in one private network.
-
Open Remoth application.
-
Navigate to http://localhost:5000/ to see your device name and local IP address.
-
Find your desired key from this map and then call your host:
https://github.com/boppreh/keyboard/blob/master/keyboard/_winkeyboard.py#L170-L330
Trigger volume down event
-
Call from the host machine:
-
Call host from another machine:
MIT License