Adding new codes for unknown event: OG + unknown event: CG
Hey Cheaterdev
Firstly I'd like to thank you for making this integration script available to all of us! I've implemented it using Docker and its working perfectly. So this is not an issue but rather a attempt to see if some interest can be sparked for assistance. Please excuse my ignorance and that fact that unfortunately I'm a bit of a newbie when it comes to Python and programming in general.
I've noticed that my Ajax Alarm setup is generating some unknown events that is not listed in the current class for Hub reactions when using partial alarming and when activating certain area's.
Would it be possible to add the functionality to adjust this class to be easily modified for additions?
Ideally the events for specific zones or sensors should be identifiable in Home Assistant for the automation and control of devices in that area.
Docker Setup
docker run --init -d --name="home-assistant" -v ~/homeassistant:/config -e "TZ=America/Los_Angeles" -p 192.168.0.209:8123:8123 -p 192.168.0.209:10500:10500 homeassistant/home-assistant
configuration.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
sia:
port: 10500
hubs:
- name: Home
account: 1234
Logging
2019-07-06 23:01:36 ERROR (Thread-2) [custom_components.sia] unknown event: CG 2019-07-06 23:01:39 ERROR (Thread-2) [custom_components.sia] unknown event: OG 2019-07-06 23:38:44 ERROR (Thread-2) [custom_components.sia] unknown event: CG 2019-07-06 23:56:51 ERROR (Thread-2) [custom_components.sia] unknown event: OG
Thanks
Umbru
I am having trouble with this as well. I also get the unknown codes YG and NP.
Edit: YP seems to be something about a parameter that has changed but I do not know for what.
I get NP when I disarm the night mode (for both zones).
Also, I get CG when I arm either of the two zones I have, and OG when I disarm any one of them.
Since I do not know which zone is armed and which is not, this integration is unfortunately unusable for me at the moment. For us that have more than one zone we need to be able to define these so that we can know which zone that is armed and which is not.
Thank you so far and keep up the good work!
I have a solution that works for me. Read about it here: https://community.home-assistant.io/t/ajax-alarm-system/62853/32?u=fireon