syr_connect

Syr

SYR Connect - Home Assistant Integration

GitHub Release syr_connect installs Quality scale: Platinum

hassfest HACS ci codecov

This custom integration enables control of SYR Connect devices through Home Assistant. This integration can also be used with identical devices from other brands. Mixed installations of different brands are supported as well.

Brand Link
comfort by sanibel https://comfort-by-sanibel.de/
CONEL https://www.conel.de/
DITECH https://www.ditech-haustechnik.de/
Hansgrohe Pontos https://www.hansgrohe.de/
mein concept https://www.mein-concept.de/
mein Optima https://www.mein-optima.de/
POLYGONVATRO https://www.polygongroup.com/de-DE/
Reliance Valves https://www.rwc.com/brands/reliance-valves
SYR https://www.syr.de/
SYR Oceanic https://www.debestewaterbehandeling.be/
TAKE https://take-bad.de/

Screenshots

Examples of device interfaces:

LEXplus10S screenshot

Safe-T+ screenshot

Installation

Open the Home Assistant instance and open a repository inside the Marketplace.

  1. Go to Settings > Marketplace.
  2. Search for “SYR Connect”.
  3. Click “Install”.
  4. Restart Home Assistant.

Manual installation

  1. Copy the syr_connect folder to the custom_components directory.
  2. Restart Home Assistant.

Configuration

Open the Home Assistant instance and start setting up a new integration.

The integration supports two configuration modes:

Cloud API setup (all devices)

  1. Go to Settings > Devices & Services.
  2. Click “+ Add Integration”.
  3. Search for “SYR Connect”.
  4. Select “Cloud”.
  5. Enter the credentials of the mobile app:
    • Service: The app in which the devices are set up
    • Username: Username of the account in this app
    • Password: Password of the account in this app

Local API setup (newer devices only)

For newer devices with a local JSON API, for example the NeoSoft and Trio devices, SafeTech Lock, TRIO Lock, AC 3200 and RSA Connect and their identical devices of other brands. The model selection in the setup lists all supported models:

  1. Go to Settings > Devices & Services.
  2. Click “+ Add Integration”.
  3. Search for “SYR Connect”.
  4. Select “Local”.
  5. Enter the device information:
    • Device model: Model of the device (e.g., NeoSoft 2500 Connect)
    • Host: IP address or hostname of the device (e.g., 192.168.178.199)

Note: The IP address of the device is shown in the DHCP client list of the router or in the display menu of the device.

Important: For stable operation, the device must have a static IP address or a reserved DHCP lease (DHCP reservation). If the IP address of the device changes, the integration loses the connection. The new address is entered with “Reconfigure” in the three dots menu (⋮) of the entry. The entry stays bound to its device by the serial number: another device at the new address is rejected and must be added as a new entry. Alternatively, a hostname can be used if the network supports local DNS resolution.

Features

The integration automatically creates entities for all SYR Connect devices of the account.

Supported devices

This integration works with SYR water softeners and leakage detection devices and other that appear in the SYR Connect cloud (via the respective mobile app).

Tested and reported as working:

Other devices are also of interest, but may need to be integrated or at least tested (please report):

Note: If a device is visible in the SYR Connect account, the integration discovers it and creates the entities automatically. For an “untested device”, shared diagnostics help to find unknown values and to check whether everything works as intended. This also allows the list of tested devices to be expanded.

Unsupported devices

Supported functionality

Sensors

The integration provides comprehensive monitoring of the devices:

Water quality & capacity

Regeneration information

Salt management

System monitoring

Leak protection (LEXplus10SL / Trio DFR/LS)

Microleakage test (Trio DFR/LS, SafeTech, SafeTech+, TRIO Lock, SafeTech Lock)

Self-learning phase (Trio DFR/LS, SafeTech+, TRIO Lock, SafeTech Lock)

Floor sensor (SafeFloor)

Filter and backwash

Maintenance

Device information

Binary sensors

Buttons (Actions)

Switches

Selects (configuration)

Valve control

Firmware update

API modes

The integration supports two API modes:

Cloud API (XML-based)

Local API (JSON-based)

The API mode is chosen in the setup (Cloud or Local).

How data is updated

The integration polls the device API at regular intervals (default: 60 seconds). The update process depends on the API mode:

Cloud API update process

  1. Login: Authenticates with the SYR Connect cloud API using the credentials.
  2. Device discovery: Retrieves all projects and devices associated with the account, at the start and then every 30 minutes. A device that was deleted from the account is removed from Home Assistant together with its entities.
  3. Status updates: For each device, fetches current status including all sensor values.
  4. Entity updates: Updates all Home Assistant entities with the latest values.

Local API update process

  1. Status updates: Directly fetches device status from the local endpoint.
  2. Entity updates: Updates all Home Assistant entities with the latest values.

The local API is faster and doesn’t depend on internet connectivity, making it more reliable for real-time monitoring and automations.

If an update fails temporarily (e.g., timeout, cloud maintenance or an incomplete answer), the entities keep their last values and the error is written to the log. Entities only become unavailable when the cloud reports the device as offline. They stay unavailable until the device sends a complete status again.

While no data can be fetched at all, the integration polls less often: the interval doubles after every failed update, up to 15 minutes. The first successful update restores the configured interval.

If no data can be fetched for more than 1 hour, the failure is no longer treated as temporary: the affected entities become unavailable, and a message is shown under Settings → Repairs. Both disappear as soon as data is fetched again.

SafeFloor measurement history

A SafeFloor measures temperature and humidity regularly but sends its measurements to the cloud only every few days, so its sensors show a flat line followed by a jump. The integration fetches the single measurements from the cloud every 12 hours and stores them as statistics named after the sensors (e.g. “Utility Room Temperature”). To see the real curve, add a card to a dashboard:

  1. Open the dashboard and select Edit dashboard at the top right.
  2. Select Add card, type Statistics into Search cards and pick Statistics graph.
  3. Select Show code editor, replace the text with one of the snippets below and select Save.
  4. Select Done.

Replace 123456789 with the serial number of the SafeFloor. One card is needed per measurement.

Temperature:

type: statistics-graph
title: Temperature
chart_type: line
period: hour
days_to_show: 14
stat_types:
  - mean
entities:
  - syr_connect:123456789_getcel_history

Humidity:

type: statistics-graph
title: Humidity
chart_type: line
period: hour
days_to_show: 14
stat_types:
  - mean
entities:
  - syr_connect:123456789_gethmd_history

The cloud keeps the measurements of the last 6 days only. Keep the synchronization interval of the sensor at 6 days or less, otherwise measurements are lost. The statistics are deleted together with the device.

Known limitations

Use cases & examples

Automation examples

The examples use the YAML syntax of configuration.yaml. In all examples, <serial_number> must be replaced with the serial number of the device and <device_name> with the name of the mobile app device in Home Assistant.

Low salt alert

Notification when the salt supply is running low:

automation:
  - alias: "SYR: Low salt alert"
    triggers:
      - trigger: numeric_state
        entity_id: sensor.syr_connect_<serial_number>_getss1
        below: 2  # Less than 2 weeks of salt remaining
    actions:
      - action: notify.mobile_app_<device_name>
        data:
          title: "Water softener"
          message: "Salt supply low - less than 2 weeks remaining"

Daily regeneration report

Daily summary of the regenerations, the remaining capacity and the salt supply:

automation:
  - alias: "SYR: Daily regeneration report"
    triggers:
      - trigger: time
        at: "20:00:00"
    actions:
      - action: notify.mobile_app_<device_name>
        data:
          title: "Water softener daily report"
          message: >
            Regenerations (total): 
            Remaining capacity:  L
            Salt supply:  weeks

Alarm notification

Immediate notification when the device reports an alarm:

automation:
  - alias: "SYR: Alarm notification"
    triggers:
      - trigger: template
        value_template: >
          
    actions:
      - action: notify.mobile_app_<device_name>
        data:
          title: "⚠️ SYR alarm"
          message: "Current alarm: "
          data:
            priority: high

Water flow monitoring

Alert on unusually high water flow over several minutes (possible leak):

automation:
  - alias: "SYR: High flow alert"
    triggers:
      - trigger: numeric_state
        entity_id: sensor.syr_connect_<serial_number>_getflo
        above: 1200  # Flow rate above 1200 l/h (20 l/min)
        for:
          minutes: 5
    actions:
      - action: notify.mobile_app_<device_name>
        data:
          title: "High water flow detected"
          message: "Unusual water flow - possible leak"

Leak sensor: close water valve

Closes the SYR water shut-off valve with the standard action valve.close when a leak sensor detects water. The entity IDs must be replaced with the IDs used in the installation. This automation can become a critical safety action, so it must be tested very carefully.

automation:
  - alias: "SYR: Close valve on leak"
    triggers:
      - trigger: state
        entity_id: binary_sensor.house_leak_sensor
        to: "on"
    actions:
      - action: valve.close
        target:
          entity_id: valve.syr_connect_<serial_number>_getab
      - action: notify.mobile_app_<device_name>
        data:
          title: "SYR: Leak detected - valve closed"
          message: "Water leak detected - the SYR water shut-off valve has been closed automatically."

Weekend regeneration

Starts a regeneration on Saturdays and Sundays at 03:00:

automation:
  - alias: "SYR: Weekend regeneration"
    triggers:
      - trigger: time
        at: "03:00:00"
    conditions:
      - condition: time
        weekday:
          - sat
          - sun
    actions:
      - action: button.press
        target:
          entity_id: button.syr_connect_<serial_number>_setsir

Configuration options

Update interval

Data is updated every 60 seconds by default. The interval is set in the integration options: at least 60 seconds for the cloud, at least 10 seconds for local devices and at most 600 seconds in both cases.

  1. Open Settings > Devices & services.
  2. Open the SYR Connect integration.
  3. Select “Configure”.
  4. Adjust the update interval (in seconds).

Removal

To remove the integration from Home Assistant:

  1. Go to Settings > Devices & Services.
  2. Find the SYR Connect integration.
  3. Click the three dots (⋮) menu.
  4. Select “Delete”.
  5. Confirm the deletion.

All associated devices and entities will be automatically removed.

Troubleshooting

Download diagnostics

For problems, the diagnostics of the integration entry help. They contain the data of all devices of the entry:

  1. Open Settings > Devices & services.
  2. Open the SYR Connect integration.
  3. Open the three dots menu (⋮) of the entry (account or local device).
  4. Select “Download diagnostics”.

Passwords, usernames, session data, the code number of the device, IP addresses, gateways and the Wi-Fi name are removed from the file, and the serial number is masked.

Debug logs

Enabling and disabling debug logging is described in docs/howto-debugging.md.

Connection fails

Authentication errors

For “Authentication failed” errors:

  1. Verify the credentials.
  2. The integration will prompt for reauthentication.
  3. Go to Settings > Devices & Services.
  4. Click “Authenticate” on the SYR Connect integration.
  5. Enter the credentials again.

Reauthentication and “Reconfigure” only change the password of the account. Another username is another account: it is rejected there and must be added as a new entry.

No devices found

Entities show as unavailable

Temporary problems with the connection or the cloud service do not make entities unavailable. The entities keep their last values, and the error is written to the log.

High CPU/Memory usage

Dependencies

The integration requires the following Python packages:

Note: The integration uses defusedxml for secure XML parsing and pycryptodomex (not pycryptodome) to avoid conflicts with Home Assistant’s built-in crypto libraries.

Home Assistant installs the packages automatically when:

  1. The integration is added through the UI.
  2. Home Assistant is restarted after the installation.

For detailed system requirements and troubleshooting, see REQUIREMENTS.md.

Disclaimer

IMPORTANT: Read this before using the integration

This integration controls water treatment and water shut-off systems. Improper configuration or malfunctioning automations could result in water damage, system failures, or property damage.

Installing and using this integration means acknowledging these risks and agreeing to use it responsibly.

License

Apache License 2.0, see LICENSE

Credits