Apple HomeKit Integration

For those of you who are pretty technical, it is now possible to bring Wyze Cams into HomeKit as motion sensors with the stock firmware. Here is how I did it:

  1. Installed homebridge
  2. Installed homebridge-sqs plugin
  3. Created an FIFO SQS queue in Amazon Web Services
  4. Created an extremely simple AWS Lambda function that is exposed as a HTTP-based webhook using the AWS API Gateway (I use the Zappa framework for this).
  5. Configured each Wyze Cam in my house as a motion sensor in my homebridge configuration file, and also configured the SQS plugin with the appropriate credentials
  6. Created IFTTT automations which ping my webhook when motion is detected on each camera, passing the proper data.

The webhook receives events from IFTTT, pushes messages to the SQS queue, which in turn triggers homebridge via the plugin, and sets the appropriate motion detected state. It works well, but not as quickly as I’d like.

I would love to see Wyze actually make this happen for me! If I can do it in an hour or so with hacks like this, I have faith that your team can do a first-class HomeKit integration!

11 Likes