raspberry

This commit is contained in:
Lucas Faber authored and Lucas Vivohost committed 2026-09-14 09:20:47 +02:00
1 parent 84dfdf5210
commit be436085b3
55 files changed
+2195

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
if [ "$1" == "ON" ];then
irsend SEND_ONCE SAMSUNG KEY_1;
elif [ "$1" == "OFF" ];then
irsend SEND_ONCE SAMSUNG KEY_POWER;
elif [ "$1" == "-a" ];then
irsend SEND_ONCE SAMSUNG $2;
elif [ "$1" == "-l" ]; then
irsend LIST SAMSUNG ""
else
printf "ON...Turn TV ON\nOFF...Turn TV OFF\n-a...Send Command\n-l...List Commands\n"
fi