add tp-link tapo c310 v1 with binary sensor driver for tests

This commit is contained in:
cronyx
2024-04-02 13:16:29 +03:00
parent 00434868e9
commit e5aeeacc74
9 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
if [ "$1" = "rtl8192eu-ssc325-tapo-c310v1" ]; then
modprobe 8192eu
exit 0
fi
exit 1