Add Tapo C310 v2.2

This commit is contained in:
2025-01-08 17:09:38 +00:00
parent 27c53b5373
commit 16011bab4a
5 changed files with 154 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
# SSC335 Tapo C310
if [ "$1" = "rtl8192eu-ssc335-tapo-c310" ]; then
set_gpio 16 1
modprobe 8192eu
exit 0
fi
exit 1