eavanvalkenburg / pysiaalarm

A python package to connect to a SIA DC-09 based alarm system.
MIT License
34 stars 27 forks source link

Integration with Focus Alarm Systems #36

Open Eckart0 opened 1 year ago

Eckart0 commented 1 year ago

Hello,

I use a simple but reliable alarm system: FOCUS FC-7688. According to the manual, it can handle SIA2013 and CID.

It offers fields in the CMS configuration that do not match those of the SIA integration:

My configuration.yaml contains

sia:
  port: 7974
  hubs:
    name: focus7688
    account: FFAA1122
    # password: n/a

The integration detects the alarm system. It sets up entities and devices but does not fill them: "binary_sensor.7974_ffaa1122_connectivity" == off "alarm_control_panel.7974_ffaa1122_zone_1_alarm" == unavailable "binary_sensor.7974_ffaa1122_power" == unavailable "binary_sensor.7974_ffaa1122_zone_1_moisture" == unknown "binary_sensor.7974_ffaa1122_zone_1_smoke" == unknown

The log repeats fastly this line:

2022-09-05 23:47:28.266 WARNING (MainThread) [pysiaalarm.base_server] Last line could not be parsed succesfully. Error message: No matches found, event was not a SIA or ADM Spec event, line was: %s. Line: 7A28002F"ADM-CID"6616R0L0#foc7688[#foc7688|1351 01 000]

Does this mean that the system does not work at all with this integration or can I configure it somehow?

Many greetings, Eckart

220905 15_59_18-TCP_IP PANEL
eavanvalkenburg commented 1 year ago

First off, the official integration doesn't use yaml anymore so please switch to that one, because I have no clue anymore if the old one still works. If I manually compare the string to the latest regex it should work, so please use the offical and then report back!