I hereby claim:
- I am ewiner on github.
- I am ericw (https://keybase.io/ericw) on keybase.
- I have a public key whose fingerprint is 6A41 A190 D9B2 CBF9 5654 CFBB 450F 6FA1 3D00 EFD8
To claim this, I am signing this object:
#!/bin/sh | |
cd "$(dirname "$0")" | |
export HOST=192.168.1.248 | |
echo "Starting webcam monitor..." | |
poetry run kasa --host=$HOST state | |
log stream --predicate 'subsystem contains "com.apple.UVCExtension" and composedMessage contains "Post PowerLog"' \ | |
| awk '$1 == "\"VDCAssistant_Power_State\"" {printf("poetry run kasa --type=plug --host=$HOST %s\n", substr(tolower($3),0,length($3)-1)) | "sh" }' |
I hereby claim:
To claim this, I am signing this object: