Dilbert66 / esphome-vistaECP

This is an implementation of an ESPHOME custom component and ESP Library to interface directly to a Safewatch/Honeywell/Ademco Vista 15/20 alarm system using the ECP interface and very inexpensive ESP8266/ESP32 modules .
GNU Lesser General Public License v2.1
129 stars 21 forks source link

Using as Zone Expander #2

Closed residencekedda closed 3 years ago

residencekedda commented 4 years ago

Hi, Can you share on how this can be used as Zone Expander. I am planning to buy these WeMos D1 Mini and wire them as you shared or is there a ready to buy item that is available with your design?

D1 Mini link, https://www.amazon.com/IZOKEE-NodeMcu-Internet-Development-Compatible/dp/B076F52NQD/ref=sr_1_3?dchild=1&keywords=d1+wemos+mini&qid=1601913406&sr=8-3

Appreciate your guidance.

TCPMeta commented 3 years ago

I honestly don't know how it would work as a Zone Expander. I think it listens for a Zone Expander to read Zone statues from but not be used as a Zone Expander. I typically buy Alarm Panel parts from Alarm liquidators. I have Gerber Files for a little Adapter board I made for my setup. You can have JLCPCB or PCBWay spin up some boards.

Dilbert66 commented 3 years ago

It emulates a zone expander for the panel. A zone can be triggered by calling the set_zone_fault service in home homeassistant . Eg

"set_zone_fault",Parameters: "zone","fault" where zone is a zone from 9 - 48 and fault is 0 or 1 (0=ok, 1=open) The zone number will depend on what your expander address is set to.

Or you can hardwire one of the unused esp inputs to be a trigger and have it send the set_zone_fault command internally. Example in the yaml.

The whole reason for this is that you can use any home assistant sensor . ie motion sensors, switches, camera motion,etc to trigger the alarm system by setting one of the emulated zones. This easily expands your security system to be triggered by anything you want.