This is a combined SmartApp and Device Type template that uses a modified SmartSense (PEQ) Open/Closed Sensor to behave a 3-way wall switch AND an on/off standard wall switch. For around $25.00, replace one or two switches in a gang box with this, and use GE link lights or equivalent.
Do at your own risk. If you are placing these switches in the existing gang box with hot wires, even if the wires are capped off, this may be very dangerous and not up to code!
SmartApp code and Device Type Template code can be found at
https://github.com/jgoldwein/X2-Switch
Photos at:
https://goo.gl/photos/eNaPMS4oRPey4ouZA
and
https://goo.gl/photos/aehFBAeL3QFVVxqJ8
The Device Type uses a single modified (hacked) SmartSense door open/close sensor wired to both an SPDT (3-way) switch and a standard SPST wall switch, each of whicn can toggle on and off a set of GE Link Lights or similar lights or switches.
The intent is to have a simple and inexpensive battery operated replacement for a standard wall switch to operate multiple, 3-way zigbee or zwave lights or switches as well as a one way light or switch using two separate standard switches in an existing gang-box.
The SmartSense (PEQ) sensor has been on sale intermittently at Best Buy for under $20, (see http://www.bestbuy.com/site/peq-3-series-contact-sensor/8229286.p?skuId=8229286) and a 3-way SPDT plus a standard wall switch costs a few dollars at any hardware store, so you can put the whole thing together for about $25.00.
The SmartSense door open/close sensor can be easily modded and wired to the 3-way wall switch and the standard wall switch as follows:
- Replace (desolder) the reed relay with 3 wires connected to a 3-way wall switch.
- Replace (desolder) the small push button switch with 2 wires connected to a standard on/off wall switch.
- Provision the “Thing” (make sure you put the standard switch into OFF mode since ON mode at battery installation causes it to reset), and replace the device type with:
“X2-Switch: Modded SmartSense Open/Closed Sensor/Switch: TWO Switch Version” - In selected gang box, have a certified electrician wire the GE link lights that will be used to remain ON by removing the existing switches and tying together the now hanging On-Off wires. Cap any “red” wires or otherwise exposed wires. **Note that placing this in a box with capped off hot wires is probably not up to code. Suggest capping off the existing box (which hopefully is okay) entirely and placing these switches in an alternate one somewhere where it is very convenient. **
- Install the new switches and Thing into the gang box or a new gang box (use standard electrical safety measures).
- Use the “X2-Switch Control: 2-Switch Control for Modded SmartSense Open/Closed Sensor/Switch for Multiple Lights” app to control the lights