I'm running the HomeKit integration, have a HomePod Mini, running Homebridge on a NAS via Docker, and Wyze products. Specifically, I have a the Wyze Home Monitoring System and a variety of contact and motion sensors which I would like to get into my Hubitat system.
I'm running the WyzeHub App, but it does not bring in any of the sensors to Hubitat. There is a plugin for Homebridge that does this. So I can get the sensors into HomeKit, but I can't bring them from HomeKit into Hubitat directly.
So, rules...
I know many people have likely done this with IFTTT, but I figure I have HomeKit automations so why pay for IFTTT. I've created a virtual switch in Hubitiat, which I can then push into HomeKit, run automations in Homekit to change the state of the switch based on the Wyze sensor states.
Then, the plan would be to build Rules in Hubitat to change the state of a Virtual Contact Sensor (for example) based on the Virtual Switch state.
My questions are:
- Do I need to build separate rules for each sensors?
- Could I build one rule with multiple IF-THEN-ELSE-IF statements to cover all the sensors within one rule?
- Is there a better way to do this?