Safety: this touches a live security and access system. Have your installer or the system owner make the controller changes, tell the monitoring company if there is one, and start with read-only use.
Step 1: firewall and network first
The Automation service, as the README describes it, runs with encryption level None. So set up the network protection before you turn the service on:
- A DHCP reservation for the controller, on a security or IoT VLAN.
- A firewall rule that allows only the Home Assistant host to connect to the Automation service port. Block everything else, including other VLANs and the internet.
- No port-forwarding. Use a VPN for remote work.
The README says it is under System > Services > Automation (or similar depending on your WX/GX version). Settings it expects:
- IP port: 21000 (or whichever you choose, then use the same one in Home Assistant).
- Encryption level: None (the mode the integration currently supports).
- Checksum type: 8 Bit Sum.
- "Numbers are Big Endian": unchecked (the README calls this critical).
- "Allow Status Requests When Not Logged In" and "Ack Commands": ticked.
- "Expect Ack For Status Monitoring": left unticked, to prevent connection drops.
The integration authenticates with a Service PIN, which is a valid user PIN on the ICT system. Create a user just for Home Assistant, and grant only what you need. The README notes that without Door Control permission, Home Assistant cannot unlock doors. If you want a monitoring-only setup, do not give it control permissions at all.
Step 4: install and test the connection
Install through HACS using the repository as a custom repository, restart, then Settings > Devices & services > Add Integration > "ICT Protege Automation". Enter the controller's IP address, the port and the service PIN. Before that, confirm the port is reachable from the Home Assistant host:
Code: Select all
nc -vz 192.168.40.60 21000Per the README, the integration expects each item's Database Record ID (the Record, ID or Reporting ID column under Programming) by default, not its position in the list. Enter that number when adding each door, area, input or output.
Per the README you should see doors (lock and unlock, open or closed), areas (arm away, disarm, alarm active), inputs plus a "Trouble" sensor for each (tamper, short circuit or cut wire) and a bypass select, and outputs (PGMs and others). Walk the doors and inputs and check each entity against the controller's own status.
Step 6: automations and what to avoid
A good first automation is a notification for an input trouble or an area alarm. Keep control automations simple and local. Do not unlock doors or disarm areas from presence detection or a voice assistant, and keep control entities off shared dashboards.
Troubleshooting ideas
- IDs look wrong: re-check that Big Endian is unchecked (the README says IDs are interpreted incorrectly if it is ticked).
- Connection drops: re-check the Expect Ack option, and that nothing else is holding the service connection.
- Cannot unlock: check the Service PIN user's permissions.