# Cheap Zwave codepanel with optional RFID tags (howto)

**URL:** <https://community.homey.app/t/cheap-zwave-codepanel-with-optional-rfid-tags-howto/17106>\
**Category:** Ideas & Suggestions\
**Created:** [August 20, 2019, 10:04am UTC](https://community.homey.app/t/cheap-zwave-codepanel-with-optional-rfid-tags-howto/17106 "2019-08-20T10:04:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![neluz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/neluz/32/8853_2.png) [@neluz](https://community.homey.app/u/neluz)\
**Post date:** [August 20, 2019, 10:04am UTC](https://community.homey.app/t/cheap-zwave-codepanel-with-optional-rfid-tags-howto/17106/1 "2019-08-20T10:04:24Z")

</div>

Hi,

Thought I might share a little project I’ve been working on. I stumbled across some codepanels you could buy ready to install, but you can buy exactly the same parts on Aliexpress and make it yourself. Which is of course much more fun, and will save you some money.  
The idea is that you enable surveillance mode with the bell button on the panel, and you disable it with a code and/or a RFID tag.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/9517ed155aab2a48f7f253726dce31f0752ba228.jpeg) IMG\_20190820\_090829.jpg

**Parts I used:**

- Codepanel  
[https://nl.aliexpress.com/item/32720652590.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ](https://nl.aliexpress.com/item/32720652590.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ)
- RFID tags  
[https://nl.aliexpress.com/item/32877176430.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ](https://nl.aliexpress.com/item/32877176430.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ)
- 12v power supply  
[https://nl.aliexpress.com/item/32677602188.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ](https://nl.aliexpress.com/item/32677602188.html?spm=a2g0s.9042311.0.0.f66b4c4dc4zhEJ)  
(but you can use any 12v power supply you might have laying around)
- Fibaro Universal Binary Sensor  
Google it for the best available price atm, some stores are offering them cheap because of the new introduced Fibaro Smart implant.

**Tools:**

- Screwdriver
- Soldering iron and tin
- Heat shrink tubing or isolation tape
- Depending on your installation, a power drill, wall plugs and some screws

**Installation howto:**

1. Open the codepanel with the single screw on the bottom.
2. Solder the wires according to the schematic below.  
(With the power supply I use the wires can be disconnected with screws, but if you are planning to solder the wires make sure you stick the cable trough the wall first before soldering them)
3. When you’re done soldering connect the power supply.
4. Open the Homey app and add the Fibaro sensor according to the instructions there
5. Find a place in your home were you want the codepanel and install the backplate. You’ll need to check if you can wire it properly. In my case I installed it near the fusebox/cabinet so I drilled a small hole for the cable and installed the power supply in the cabinet.
6. Then just put all the wires and the Fibaro sensor in the codepanel and attach it to the backplate.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/473c4d779cc1b38b1c903ff60aef389ea1323e1c.png) schema.png

**Homey/Flow part:**

1. Make sure that in device settings of the sensor you set both inputs as ‘maakcontact/make contact’  
I’m using Heimdall for the alarm part so I made the following flows:

**Enable surveillance mode:**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/3e2cd46f2f381faebe88e94222271a135c6f0af1.png) Screenshot 2019-08-20 at 11.57.25

**Disable surveillance mode:**  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/de1c51e7dc39143ac8438d234a374dd41f6cb03a.png) Screenshot 2019-08-20 at 11.57.41

There are just simple flow examples, just configure them as you wish.

---

<div class="post-metadata">

**Author:** ![Tibor070](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@Tibor070](https://community.homey.app/u/Tibor070)\
**Post date:** [December 23, 2019, 7:56pm UTC](https://community.homey.app/t/cheap-zwave-codepanel-with-optional-rfid-tags-howto/17106/2 "2019-12-23T19:56:13Z")

</div>

![IMG_20191223_205135](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b663177ec7278fabe1d4660fb356a1367c3ade41.jpeg)

Thanks for the wiring diagram, works great with Heimdall!
