11 lines
254 B
Bash
11 lines
254 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Set the working directory
|
||
|
cd /home/pi/mash-sensor-tof-pc
|
||
|
|
||
|
# Activate the Python virtual environment
|
||
|
source /home/pi/mash-sensor-tof-pc/.env/bin/activate
|
||
|
|
||
|
# Run the Python script
|
||
|
python /home/pi/mash-sensor-tof-pc/src/simple_hue_counter.py
|