Right now I am working for a way to get a Bluetooth device to be controlled by my raspberry pi from my google home. The way I plan to do this is by connecting a usb cable to a extention cord that has a Sonoff WiFi switch attached to it: Video on Them here https://m.youtube.com/watch?v=lRCH67wfwNE
Anyway I was wondering if I could hook the striped end of the usb cable to a scondary pin so that my pi could detect secondary power and then trigger another event.
I can’t find anything in the forums about this so your support is widely helpful Thanks!!