Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Notes:
- #Watch for indentation! The Yaml file has strict indentation rules and if you violate it, config
- #check will fail, and your HA won't be startable.
- #Relays to Switches
- #Notes:
- #Repeat for each Relay you have, or you want to control in Home Assistant. Note: You need
- #to increment the Relay numbers for the sequeled ones.
- switch:
- - platform: mqtt
- name: "AquaShield Relay 1"
- state_topic: "aquashield/relay/1"
- command_topic: "aquashield/relay/1"
- payload_on: "1"
- payload_off: "0"
- retain: false
- - platform: mqtt
- name: "AquaShield Relay 2"
- state_topic: "aquashield/relay/2"
- command_topic: "aquashield/relay/2"
- payload_on: "1"
- payload_off: "0"
- retain: false
- #Sensors
- #Notes:
- #Copy only those entites what you own. If you have multiple sensors from same domain,
- #please contact us for more detailed description!
- sensor:
- - platform: mqtt
- name: "AquaShield ORP Probe (SSM.0/0)"
- state_topic: "aquashield/sensors/ORPProbe(SSM)"
- unit_of_measurement: 'mV'
- icon: mdi:vector-polyline
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield PH Probe (SSM.0/1)"
- state_topic: "aquashield/sensors/PHProbe(SSM)"
- unit_of_measurement: 'pH'
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Conductivity Sensor K 1.0 (SSM.0/3)"
- state_topic: "aquashield/sensors/ConductivitySensorK1.0(SSM)"
- unit_of_measurement: 'µS/cm'
- icon: mdi:water-percent
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Light Intensity Sensor (HL.0/0)"
- state_topic: "aquashield/sensors/LightIntensitySensor(HL)"
- unit_of_measurement: 'lux'
- icon: mdi:weather-sunny
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Humidity Sensor (HL.0/0)"
- state_topic: "aquashield/sensors/HumiditySensor(HL)"
- unit_of_measurement: '%'
- icon: mdi:water-percent
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Temperature Sensor (SSM2)"
- state_topic: "aquashield/sensors/TemperatureSensor(SSM2)"
- unit_of_measurement: '°C'
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Temperature Sensor (HL)"
- state_topic: "aquashield/sensors/TemperatureSensor(HL)"
- unit_of_measurement: '°C'
- value_template: "{{ value_json.value }}"
- - platform: mqtt
- name: "AquaShield Dissolved Oxygen Probe (SSM.0/2)"
- state_topic: "aquashield/sensors/DissolvedOxygenProbe(SSM)"
- unit_of_measurement: 'mg/L'
- value_template: "{{ value_json.value }}"
- #Binary sensors
- #Notes:
- #Repeat for each binary sensor you have, or you want to control in Home Assistant.
- #You need to increment the state topic number for the sequeled ones.
- binary_sensor:
- - platform: mqtt
- device_class: problem
- state_topic: "aquashield/ls/1"
- name: "AquaShield Level Switch"
- payload_on: "1"
- payload_off: "0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement