Hi Fabio
I use the following setups:
Esp home on a ESP01 with a relay Board with the following Code, This triggers a relay attached to the ESP01, but you can use any D1 Mini and relay (bit of a waste as there ore lots of pins) The relay is wire into a Zone n the System (i have a euro46, but the same can be achieved on an Enforcer), the Zone is set to keyswitch (keyswitch zone allows you to set unset with a keyswitch, you just choose the area you want the input to set
esphome:
name: keyswitch
platform: ESP8266
board: esp01_1m
wifi:
ssid: "myssid
password: “mypassword”
manual_ip:
static_ip: 192.168.2.104
gateway: 192.168.2.1
subnet: 255.255.255.0
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “keyswitch”
password: “keyswitch”
captive_portal:
Enable logging
logger:
Enable Home Assistant API
api:
encryption:
key: ggfhjhkkjjklkjlklkj
ota:
password: “mypassword”
switch:
pin: GPIO0
name: “keyswitch”
inverted: no
pin: GPIO1
name: “keyswitch1”
inverted: no
Then I have 2x Bluetooth tags, you could use mobiles, but that caused issues as the wife doesnt always have her bluetooth on and I use 2x ESP32 in ESPHome with the following Code
esphome:
name: bluetooth-tracker
esp32:
board: esp32dev
framework:
type: arduino
Enable logging
logger:
Enable Home Assistant API
api:
ota:
password: “my key”
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “Bluetooth-Tracker”
password: “r2sMbqF9issn”
captive_portal:
esp32_ble_tracker:
scan_parameters:
interval: 30ms
ble_client:
Replace with the MAC address of your device.
- mac_address: CB:4A:1D:6B:9E:A0
id: map_os_CB_4A_1D_6B_9E_A0
binary_sensor:
id: white_button_nut
name: “Not Used”
filters:
delayed_off: 10ms
mac_address: CB:3b:1D:6B:9E:A4
name: “Map-OS Yellow 2 CB:3b:1D:6B:9E:A4”
I used a 2nd one for the 2nd tag as it was easier, i was having trouble with 2 tags on 1 device for some reason
Then I created a Node Red flow to trigger the relay if both tags had left the property, it is a bit slow setting but generally now on return the pickup is quite quick most times…
I then get a notification in HomeControl2.0
If you want more detailed info then let me know, and I can help with the programming of the Pyronix panel if you want i work with them a lot
Show quoted text

Address not found
Your message wasn’t delivered to [email protected] because the address couldn’t be found, or is unable to receive mail.
The response from the remote server was:
550 5.0.1 Recipient rejected
---------- Forwarded message ----------
From: keith crooks <[email protected]>
To: Fabio via Home Assistant Community <[email protected]>
Cc:
Bcc:
Date: Wed, 20 Sep 2023 19:15:03 +0100
Subject: Re: [Home Assistant Community] [Hardware] UK alarm, wired, exposes motion sensors
----- Message truncated -----