Configuration MQTT Home-Assistant pour X-Pool

Hello,
Si ça peut servir à quelqu’un, voici la configuration MQTT pour piloter un X-POOL depuis HA:

mqtt:
  # XPOOL
  - sensor:
      name: pH
      state_topic: x-pool_000000/ana/ph
      unique_id: mqtt_xpool_sensor_ph
      device_class: ph
      <<: &mqtt_xpool_common
        device:
          identifiers: X-Pool
          name: X-Pool
          manufacturer: GCE
          model: X-Pool
          configuration_url: http://192.168.4.1
          suggested_area: Piscine
  - sensor:
      name: Redox
      state_topic: x-pool_000000/ana/redox
      unit_of_measurement: mV
      device_class: voltage
      unique_id: mqtt_xpool_sensor_redox
      <<: *mqtt_xpool_common
  - sensor:
      name: Température air
      state_topic: x-pool_000000/ana/air
      unit_of_measurement: °C
      device_class: temperature
      unique_id: mqtt_xpool_sensor_temp_air
      <<: *mqtt_xpool_common
  - sensor:
      name: Température eau
      state_topic: x-pool_000000/ana/eau
      unit_of_measurement: °C
      device_class: temperature
      icon: mdi:pool-thermometer
      unique_id: mqtt_xpool_sensor_temp_eau
      <<: *mqtt_xpool_common
  - switch:
      name: Filtration
      state_topic: x-pool_000000/outState/filtration
      command_topic: x-pool_000000/outCmd/filtration
      payload_on: 1
      payload_off: 0
      icon: mdi:air-filter
      unique_id: mqtt_xpool_switch_filtration
      <<: *mqtt_xpool_common
  - switch:
      name: Chauffage
      state_topic: x-pool_000000/outState/heater
      command_topic: x-pool_000000/outCmd/heater
      payload_on: 1
      payload_off: 0
      icon: mdi:radiator
      unique_id: mqtt_xpool_switch_heater
      <<: *mqtt_xpool_common
  - switch:
      name: Lumière
      state_topic: x-pool_000000/outState/light
      command_topic: x-pool_000000/outCmd/light
      payload_on: 1
      payload_off: 0
      icon: mdi:lightbulb
      unique_id: mqtt_xpool_switch_light
      <<: *mqtt_xpool_common
  - switch:
      name: Auxiliaire
      state_topic: x-pool_000000/outState/aux
      command_topic: x-pool_000000/outCmd/aux
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_switch_aux
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: pH trop faible
      state_topic: x-pool_000000/notif/unph
      device_class: problem
      entity_category: diagnostic
      icon: mdi:ph
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_ph_low
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: pH trop fort
      state_topic: x-pool_000000/notif/upph
      device_class: problem
      entity_category: diagnostic
      icon: mdi:ph
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_ph_high
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Redox trop faible
      state_topic: x-pool_000000/notif/unorp
      device_class: problem
      entity_category: diagnostic
      icon: mdi:sine-wave
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_redox_low
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Redox trop fort
      state_topic: x-pool_000000/notif/uporp
      device_class: problem
      entity_category: diagnostic
      icon: mdi:sine-wave
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_redox_high
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Forçage filtration
      state_topic: x-pool_000000/in/filtration
      entity_category: diagnostic
      icon: mdi:air-filter
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_in_filtration
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Forçage chauffage
      state_topic: x-pool_000000/in/heater
      entity_category: diagnostic
      icon: mdi:radiator
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_in_heater
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Forçage lumière
      state_topic: x-pool_000000/in/light
      entity_category: diagnostic
      icon: mdi:lightbulb
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_in_light
      <<: *mqtt_xpool_common
  - binary_sensor:
      name: Forçage auxiliaire
      state_topic: x-pool_000000/in/aux
      entity_category: diagnostic
      payload_on: 1
      payload_off: 0
      unique_id: mqtt_xpool_binary_sensor_in_aux
      <<: *mqtt_xpool_common

topic à adapter mais ça doit fonctionner OOB

3 « J'aime »