Wyze Accessories - themactep/thingino-firmware GitHub Wiki
Background
Ok, so you have a wyze accessory (spotlight, floodlight, doorbell chime, car thing) and want to use it with Thingino? Awesome. At the moment I am unsure which firmware added the various helper methods to enable these accessories but you can find the code for each:
According to the makefile for Wyze accessories (most?) of these control scripts are placed in /usr/sbin/
(eg, /usr/sbin/spotlight_ctl
).
Usage
- Plug the accessory into the Wyze cam (running Thingino) like you normally would
- Power it up
- SSH into the Wyze cam
- Run the control script you want to use (eg,
/usr/sbin/spotlight_ctl high
to turn on the light).
Special Considerations
Wyze Cam Pan v1
The Wyze Cam Pan v1 has a USB A Female port on the back that you want to use. The USB B Micro Female port in the base is for power only. To use something like the Spotlight with this camera you'll need a USB 2.0 Male to Micro USB Female Connector Adapter (like this one). Plug the adapter into the cam and the spotlight into the adapter and you should be good to go.
Debugging
Device not working? Let's see if it's recognized.
- Plug the accessory into the Wyze cam (running Thingino) like you normally would
- Power it up
- SSH into the Wyze cam
- Run
lsusb
. You should see something like:
lsusb
Bus 001 Device 002: ID 1a86:7523 UART TO USB-V3
Bus 001 Device 001: ID 1d6b:0002 Linux 3.10.14 dwc2-hcd DesignWare USB2.0 High-Speed Host Controller
Bus 001 Device 002: ID 1a86:7523 UART TO USB-V3
is (likely) your spotlight. If you don't see it then likely something isn't connected correctly.