I need alarm code written This alarm must be built in esphome and will work back with home assistant. The alarm should be able to work stand alone in the even that home assistant server crashes.
There will be 18 zone in total if possible (based on the capabilities of the gpio)
These entities are as follows:
2 ports assigned for siren
Always armed zone ( 1 gas leak sensor, 1 smoke sensor, 1 door sensor )
Motion Sensor ( 3 motion sensor)
Wired or wireless contacts (4 external doors, 13 windows contacts ) Note if there are more doors the window contacts will reduce)
The home assistant alarm panel name will be puleeye
For now the alarm panel will only be in home assistant but after this job is done successfully the panel will be designed fully stand alone
The alarm panel will consist of Arm Home, Arm Away and will have the option to disable the specific 24 hour zones or reset a sensor like a some sensor which has been triggered .
Arm Home will be for arming the system while your are at home or sleeping so that internal motion sensors or internal rooms which have contacts do not trigger the alarm.
Arm Away will arm all internal and external zone that have been added to that group.
For each one of these conditions grouping should be available. Example
Zones can be moved to any one of the condition groups like moving a door to or the groups so that if it is part of that group it will abide by those conditions
I should be able to more a zone to or from arm home or away or any other condition that is available by just typing the zone Id in the group.
When the alarm is triggered for 24 hour zones it will immediately trigger the siren but if it is not part of the 24 hour zone then it will only trigger after the specified countdown period. Grouping should be available here as well where users can move or add zone to there groups easily.
Grouping will be available for arm away, arm home, door contact, window contact, 24 hour zone , motion sensors and so on. For some items they will be able to be added to multiple groups like. A door contact can be added to arm away and arm home and in some cases it cannot be added to certain groups like a door contact cannot be added to a window contact group because you are eighter a door contact or a window contact and cant be both.
A copy of an excel excel spreadsheet will be provided which will outline the intended amount of zones and the specified gpio port. (note that some may not be compatible with input pullup and my have to be rearranged accordingly. Below are detail on the board and connection setting that should be used. The connection settings and password will be pulling from the secret file so the below expression names sure as !secret api_password and so on. The ip address is manually assigned as will as shown below.
If a windows or a door is opened that should be displayed and the alarm will not allow you to arm if that zone is open.
The only case when a location will automatically arm is when specific doors are added to a group called arm on close. Example you hit arm away on the panel, then leave and close the door. The alarm will automatically arm the system when you close that door. All other areas will prompt to be closed.
The system should also remember the last state in the event there was a system reboot .
I am using an esp32 espressiveesp32:
# Enable Home Assistant API
password: "!secret api_password"
ssid: !secret wifi_ssid
password: !secret wifi_password
# Optional manual IP
static_ip: !secret alarm_ip
gateway: !secret wifi_gateway
subnet: !secret wifi_subnet
dns1: !secret wifi_dns
ssid: "Pulseeye Fallback Hotspot"
password: "!secret wifi_password"
2 фрилансеров(-а) готовы выполнить эту работу в среднем за $65
hello dear sir i read your all include details i can complete your project. i completed multiple projects with ESP32, ESP8266 like IOT base home automation etc. send message and start your project thanks