jellyfin, gitignore etc

This commit is contained in:
2025-03-01 20:46:53 +00:00
parent 433e78a534
commit 4514c5b179
17 changed files with 65 additions and 14 deletions

1
hass/hass-auth-header Submodule

Submodule hass/hass-auth-header added at f38a9cd283

1
hass/tools/env.sh Executable file
View File

@@ -0,0 +1 @@

2
hass/tools/mi-off Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo -ne '\x41\x00' | socat - udp:192.168.178.86:8899

2
hass/tools/mi-off1 Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo -ne '\x46\x00' | socat - udp:192.168.178.86:8899

3
hass/tools/mi-off2 Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
echo -ne '\x48\x00' | socat - udp:192.168.178.86:8899

2
hass/tools/mi-on Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo -ne '\x42\x00' | socat - udp:192.168.178.86:8899

2
hass/tools/mi-on1 Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo -ne '\x45\x00' | socat - udp:192.168.178.86:8899

2
hass/tools/mi-on2 Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo -ne '\x47\x00' | socat - udp:192.168.178.86:8899

12
hass/tools/mi-white Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
LD_LIBRARY_PATH=/usr/local/addons/tools && export LD_LIBRARY_PATH
MYSCRIPT='
after 100
exit 0
'
echo -ne '\x42' && \
tclsh << HERE
$MYSCRIPT
HERE && \
echo -ne '\xC2' | /usr/local/addons/tools/socat - udp:192.168.178.86:8899

1
hass/tools/new-mi-off Executable file
View File

@@ -0,0 +1 @@
curl -X PUT -H "Content-Type: application/json" -d '{"status":"OFF"}' 192.168.178.101/gateways/1/rgb_cct/0

1
hass/tools/new-mi-on Executable file
View File

@@ -0,0 +1 @@
curl -X PUT -H "Content-Type: application/json" -d '{"status":"ON"}' 192.168.178.101/gateways/1/rgb_cct/0