Tips & Tricks - normen/homebridge-433-arduino GitHub Wiki

Existing 433 switches in scenes

If you have an existing 433 hardware light switch that controls a light or plug in your home and want to control other lights when it is switched on or off I suggest adding a "button" each for the on and off states as well as a "switch". This way you can control the other lights with that button event even if the main light is in a different state.

Example: You have a 433 button on the wall that controls your main light in that room. If you add that as a switch to homebridge-433-arduino you will see the state of that light and be able to control it. If you make an automation in homebridge saying "if this light turns off -> turn off those other lights" then those other lights will only turn off if the main light was on in the first place. If it was off the button press won't turn off those other lights.

If however you add a "button" each for the on and off state of that wall switch as well as the "switch" you can now assign automations saying "if button 1 pressed -> turn on those lights" and "if button 2 pressed -> turn off those lights". This way, no matter if the main light is on or not, if you press that button the other lights will turn on and off accordingly.

quigg_gt9000 (ESPiLight mode)

Some cheap switches that are sold especially in the EU report the quigg_gt9000 type along with a "binary" part when using the supplied remote. These switches sometimes won't work when using the quigg_gt9000 type.

However most of these are compatible to the quigg_gt1000 type. Set up your switches with the quigg_gt1000 type, an id value from 0-15 and a unit value from 0-3 and then let the plugs learn the code by sending it out directly from homebridge.

PiLight protocol reference

This is the reference for the supported switch types in ESPiLight mode: https://manual.pilight.org/protocols/index.html