Elevate your vibe with seamless control over
- 💡 LED lights (HappyLighting)
- 🎧 Sync music playback (Spotify)
- 🗣️ Intuituve voice commands
All of the above, in Python!
- Clone repository
Clone this repository
git clone https://github.com/tapiaer22/Praximedes.git- Install dependencies
Go toPraximedesfolder and install the necessary packages:
cd ./Praximedes
pip install -r requirements.txt- Configure settings
If you do not know the MAC address of your device, you can copy this to scan for nearby led devices
python .\src\main.py -a "scan for led devices"
You will get a list of devices with name and ID (MAC address):
Just copy the ID and replace it with ID of Mac address, and you can put any name you like for Any name here. Then run the following command
python .\src\main.py -m "ID of Mac address" -n "Any name here"
The following is an example with ID: 00:00:00:00:00:01 and name: My Room
python .\src\main.py -m "00:00:00:00:00:01" -n "My Room"- Run the project
Runmain.py
python .\src\main.pyAfter proper setup, you can run commands with your voice! Say "turn on led lights", "turn off led lights", "change color to blue".
Note: In order to execute commands, you will need to say the wake word so that it starts listening to your commands.
You can now say commands until you terminate the program.
- Terminate program
To terminate the program, pressCtrl + Con the terminal/command line. Alternatively, you can say the wake word and then saystop listening
Once you run main.py, you could try saying these commands for the program to execute:
💡LED
turn off lights: will turn off the LED lights.turn on lights: will turn on the LED lights.change color to [color]: will change color of LED lights to the [color] you specify (list of colors here).scan for led devices: scans for LED devices that are nearby.
🎧Spotify
my spotify playlists: shows your available spotify playlists.spotify devices: shows a list of devices with spotify that are currently available to play music.play [song] by [artist]: plays a [song] that you say, and you could be more specific by mentioning the [artist].
🛠️Special commands
they not like us: will play 'they not like us' by Kendrick Lamar and sing a part of the chorus.turn on chill mode: will set LED lights to a chill environment, play a chill playlist, and make the PC speak with a chill tone 🤙🏾🤙🏾🤙🏾
You can also run commands from the terminal/command line:
python .\src\main.py -a "command here"
Examples:
python .\src\main.py -a "turn off led lights"python .\src\main.py -a "change color to red"