The integration supports G90-based security systems might be distributed under different vendors - Golden Security, PST, Kerui etc. Those having G90 in the model name has a good chance to be supported - please give it a try and report back.
Actual interface with the security system is implemented via pyg90alarm Python package. Please see its documentation for more details, especially on enabling the device notifications.
Basically, for HomeAssistant to receive notifications from the device on its
state changes and sensor activity the device should have its IP address set to
10.10.10.250
. That is a specific limitation of how device's firmware works.
NOTE If you're unable to move your alarm panel to the address above, the integration will have additional limitations:
NOTE
To work around the limitation above the integration now supports simulating the
device alerts from the history it records - it is implemented by
pyg90alarm Python package, and it does
so by periodically polling the device history and sending newer entries down
the code path as if those been received from device.
The mode is enabled by selecting Simulate device alerts from history
option
in device configuration, and enabling particular device alerts types you're
interested in via mobile application.
This mode will still have limitations as not reflecting the state of motion
sensors (as those come as device notifications not alerts).
Additionally, you might want to enable door close alerts ("Alarm Alert -> Door close" in mobile application), so the integration properly reflects the state of a door sensor. Not enabling it will lead the sensor to become inactive in 3 seconds, same behavior as for other sensors types. This is another limitation of the device, as it doesn't indicate when the sensor became inactive for most of the cases. Please note enabling the door alert will have more notifications (and possible SMS messages if you enabled those in mobile application) to be sent.
Golden Security Alarm
integration in HACSGolden Security Alarm
integration in HomeAssistantIf you need to troubleshoot the integration it is recommended to first enable debug logging for it, to capture additional details.
For that you'll need to add following options to HomeAssistant's
configuration.yaml
. Please note this will also set logging level to info
for all other HomeAssistant components - please adjust default: info
to fit
your needs.
logger:
default: info
logs:
pyg90alarm: debug
homeassistant.gs_alarm: debug
custom_components.gs_alarm: debug