Passer au contenu principal

wall-e v4

publish-external-temp.sh

URL="https://data.toulouse-metropole.fr/api/explore/v2.1/catalog/datasets/03-station-meteo-toulouse-busca/records?select=temperature_en_degre_c&order_by=heure_de_paris%20DESC&limit=1"


mosquitto_pub -h 10.10.10.8 -t sensors/jardin-des-plantes/temperature -m $(curl $URL | jq .results[0].temperature_en_degre_c) -r

run_sattelite.sh

cd /home/tjiho/repos/wyoming-satellite
/home/tjiho/repos/wyoming-satellite/script/run \
                                                   --name 'walle' \
                                                   --uri 'tcp://0.0.0.0:10700' \
                                                   --mic-command 'arecord -r 16000 -c 1 -f S16_LE -t raw' \
                                                   --snd-command 'mplayer - -cache 1024 -volume 70 -rawaudio channels=1:rate=22050:samplesize=2 -demuxer rawaudio -really-quiet' \
                                                   --awake-wav /home/tjiho/repos/wyoming-satellite/sounds/beer2.wav \
                                                   --done-wav /home/tjiho/repos/wyoming-satellite/sounds/done.wav \
                                                   --vad \
                                                   --wake-uri unix:///home/tjiho/sockets/porcupine.sock \
                                                   --wake-word-name 'framboise' \
                                                   --mic-no-mute-during-awake-wav \
                                                   --debug \
                                                   --mic-auto-gain 0 \
                                                   --mic-noise-suppression 0

run_vosk.sh

cd /home/tjiho/repos/wyoming-vosk
/home/tjiho/repos/wyoming-vosk/script/run --uri 'tcp://0.0.0.0:10701' --data-dir data/ --model-for-language fr vosk-model-fr-0.22 --sentences-dir sentences --correct-sentences --limit-sentences --debug

run_wake.sh

cd /home/tjiho/repos/wyoming-porcupine
#/home/tjiho/repos/wyoming-porcupine1/script/run --uri unix:///home/tjiho/sockets/porcupine.sock --system linux --sensitivity 0.5 --debug

/home/tjiho/repos/wyoming-porcupine/script/run --uri unix:///home/tjiho/sockets/porcupine.sock --system linux --sensitivity 0.5 --debug --custom-keyword-dir /home/tjiho/ --access-key 'b5c4/0xAxSS2OvhQXyF6e4cLSedpsmvvef+19HXDI9ho9G4Na0jhjA=='

#/home/tjiho/repos/wyoming-porcupine1/script/run --uri tcp://0.0.0.0:10702 --system linux --sensitivity 0.5 --debug

Firewall

firewall-cmd --permanent --add-port 10702/tcp --zone libvirt
firewall-cmd --permanent --add-port 10702/udp --zone libvirt
firewall-cmd --permanent --add-port 10701/udp --zone libvirt
firewall-cmd --permanent --add-port 10701/tcp --zone libvirt
firewall-cmd --permanent --add-port 10700/udp --zone libvirt
firewall-cmd --permanent --add-port 10700/tcp --zone libvirt