New Integration: Grünbeck softliQ

Fantastic!
So here is my final solution for a SD water-softener:

  • Install ioBroker as HASS-Addon
  • Enable Gruenbeck-Adapter within ioBroker
  • Enable MQTT-client-Adapter within ioBroker
  • for now I publish the following four values through MQTT (I checked the “retain” checkbox to have the last value always available)
    – Stream/mcountwater1
    – Stream/msaltusage
    – Stream/mmaint
    – hasError
  • Next, I created a script within homeassistant to use the “MQTT Discovery” feature of homeassistant (sorry for the german)
mqtt_gruenbeck:
  sequence:
  - service: mqtt.publish
    data:
      topic: homeassistant/binary_sensor/gruenbeck-fehler/config
      payload: '{"name":"Grünbeck Fehler","device_class":"problem","state_topic":"gruenbeck/0/softliQ/D/BSxxxxxxxx/hasError","payload_off":"false","payload_on":"true","unique_id":"gruenbeck-fehler","device":{"manufacturer":"Grünbeck","model":"softliQ:SD18","name":"Enthärter","identifiers":["BSxxxxxxxx"]}}'
  - service: mqtt.publish
    data:
      topic: homeassistant/sensor/gruenbeck-wartung/config
      payload: '{"name":"Grünbeck Wartung","state_topic":"gruenbeck/0/softliQ/D/BSxxxxxxxx/Stream/mmaint","unit_of_measurement":"Tage","unique_id":"gruenbeck-wartung","icon":"mdi:wrench-clock","device":{"manufacturer":"Grünbeck","model":"softliQ:SD18","name":"Enthärter","identifiers":["BSxxxxxxxx"]}}'
  - service: mqtt.publish
    data:
      topic: homeassistant/sensor/gruenbeck-salzverbrauch/config
      payload: '{"name":"Grünbeck Salzverbrauch","state_topic":"gruenbeck/0/softliQ/D/BSxxxxxxxx/Stream/msaltusage","unit_of_measurement":"kg","unique_id":"gruenbeck-salzverbrauch","icon":"mdi:shaker-outline","state_class":"total_increasing","device":{"manufacturer":"Grünbeck","model":"softliQ:SD18","name":"Enthärter","identifiers":["BSxxxxxxxx"]}}'
  - service: mqtt.publish
    data:
      topic: homeassistant/sensor/gruenbeck-wasserverbrauch/config
      payload: '{"name":"Grünbeck Wasserverbrauch","state_topic":"gruenbeck/0/softliQ/D/BSxxxxxxxx/Stream/mcountwater1","unit_of_measurement":"l","unique_id":"gruenbeck-wasserverbrauch","icon":"mdi:water-pump","state_class":"total_increasing","device":{"manufacturer":"Grünbeck","model":"softliQ:SD18","name":"Enthärter","identifiers":["BSxxxxxxxx"]}}'
  mode: single
  alias: MQTT-Gruenbeck
  • And an automation, which fires when homeassistant starts
- id: 'gruenbeck'
  alias: Gruenbeck
  description: ''
  trigger:
  - platform: homeassistant
    event: start
  condition: []
  action:
  - service: script.mqtt_gruenbeck
    data: {}
  mode: single
  • Finally, six Utility-Meters to see the daily, weekly and monthly water- and salt-usage
utility_meter:
  salt_day:
    source: sensor.grunbeck_salzverbrauch
    cycle: daily
  salt_week:
    source: sensor.grunbeck_salzverbrauch
    cycle: weekly
  salt_month:
    source: sensor.grunbeck_salzverbrauch
    cycle: monthly
  water_day:
    source: sensor.grunbeck_wasserverbrauch
    cycle: daily
  water_week:
    source: sensor.grunbeck_wasserverbrauch
    cycle: weekly
  water_month:
    source: sensor.grunbeck_wasserverbrauch
    cycle: monthly

With this I have all entities within one device and it just looks neat :smiley:

Once again, thanks for the hint with the ioBroker-Addon and yes, hopefully this will be - sometimes in the future - replaced by a native HASS-Addon

Joerg

4 Likes