jellyfin, gitignore etc
This commit is contained in:
1
hass/tools/env.sh
Executable file
1
hass/tools/env.sh
Executable file
@@ -0,0 +1 @@
|
||||
|
||||
2
hass/tools/mi-off
Executable file
2
hass/tools/mi-off
Executable 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
2
hass/tools/mi-off1
Executable 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
3
hass/tools/mi-off2
Executable 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
2
hass/tools/mi-on
Executable 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
2
hass/tools/mi-on1
Executable 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
2
hass/tools/mi-on2
Executable 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
12
hass/tools/mi-white
Executable 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
1
hass/tools/new-mi-off
Executable 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
1
hass/tools/new-mi-on
Executable file
@@ -0,0 +1 @@
|
||||
curl -X PUT -H "Content-Type: application/json" -d '{"status":"ON"}' 192.168.178.101/gateways/1/rgb_cct/0
|
||||
Reference in New Issue
Block a user