In this video I do humidistat replacement with a Tasmotized Sonoff SV using Home Assistant for command and control.
I video myself doing these things real time, so you see most of my mistakes as well as my successes. I feel that both are important as maybe I can prevent you from making the same mistakes. I suggest watching the whole thing to see what worked and what didn’t before you start.
Included is the wiring, mounting, assembly, and set-up of the Tasmota software and the Home Assistant software to make this work in my system to replace my broken Honeywell H6062A1000 HumidiPro humidifier control that failed after less than a year of use.
NOTE: Updated November, 2020……
If you want to skip ahead to programming, here are some time syncs:
03:24 –
Start of Tasmota configuration of the Sonoff SV using Tasmotizer on Ubuntu
16:35 –
Start of Home Assistant programming
NOTE: Updated February, 2023. New Blueprint added to greatly improve function and control:https://github.com/SirGoodenough/HA_Blueprints/blob/master/Automations/HumidifierWaterThrottleControl.md
Episode 8:
Video related links:
Tasmotizer:
https://github.com/tasmota/tasmotizer
WIKI for Sonoff SV:
https://github.com/arendst/Tasmota/wiki/sonoff-SV
Amazon Link to buy Sonoff SV:
https://www.amazon.com/Wireless-Control-Support-Secondary-Developmentp/B0/d7MNH9XS6
Community Link Post from 123 Taras:
https://community.home-assistant.io/t/generic-thermostat-for-humidity/113869/16
Home Assistant Manual for input_number:
https://www.home-assistant.io/integrations/input_number/
Home Assistant Manual for min_max:
https://www.home-assistant.io/integrations/min_max/
My Blueprint to enhance control and function:
https://github.com/SirGoodenough/HA_Blueprints/blob/master/Automations/HumidifierWaterThrottleControl.md
Link to the model Humidistat that i replaced:
http://bit.ly/HumidiPRO
What are we Fixing Today Homepage / Website:
https://www.WhatAreWeFixing.Today/
Channel Link URL: (WhatAreWeFixingToday)
https://bit.ly/WhatAreWeFixingTodaysYT
What are we Fixing Today Facebook page (Sir GoodEnough):
https://bit.ly/WhatAreWeFixingTodaybFB
What are we Fixing Today Twitter Account (Sir GoodEnough):
https://bit.ly/WhatAreWeFixingTodayTW
Discord Account: (Sir_Goodenough#9683)
https://discord.gg/Uhmhu3B
Please help support the channel:
Patreon: https://www.patreon.com/WhatAreWeFixingToday
Buy me Coffee: https://www.buymeacoffee.com/SirGoodenough
PayPal one-off donation link: https://www.paypal.me/SirGoodenough
Cash App $CASHTAG: https://cash.me/$SirGoodenough
Venmo cash link: https://venmo.com/SirGoodenough
If you would like to donate anything to this channel, please use this address:
C/O: Sirius GoodEnough
322 Buena Vista Ave.
Department: DYT
Waukesha, Wisconsin, 53188-3602
Home Assistant YAML Code:
sensors:
- platform: min_max name: "House Humidity Main" type: mean round_digits: 0 entity_ids: - sensor.furnace_oil_top_humidity - sensor.living_room_humidity - sensor.kitchen_humidity - platform: mqtt name: Furnace Oil Top Humidity device_class: humidity unit_of_measurement: '%' state_topic: 'furnacepi/humidity1' availability_topic: "furnacepi/lwt" payload_available: "Online" payload_not_available: "Offline" - platform: mqtt name: "Living Room Humidity" state_topic: "RFBridge2/tele/SENSOR" device_class: humidity unit_of_measurement: '%' value_template: "{{value_json['SI7021'].Humidity }}" availability_topic: "RFBridge2/tele/LWT" payload_available: "Online" payload_not_available: "Offline" - platform: mqtt name: Kitchen Humidity device_class: humidity unit_of_measurement: '%' state_topic: 'HUDU/humidity1'
customize:
sensor.house_humidity_main: friendly_name: "Main Level Humidity" icon: mdi:water-percent device_class: humidity unit_of_measurement: '%' switch.humidifier: friendly_name: "Main Level Humidifier" icon: mdi:air-humidifier input_number.target_humidity: unit_of_measurement: percent icon: mdi:water-percent
input_number: NOTE, this is now done by the GUI (Configuration, then Helpers)
switch:
- platform: mqtt name: "Humidifier" state_topic: "humidifier/stat/POWER" command_topic: "humidifier/cmnd/POWER" availability_topic: "humidifier/tele/LWT" state_on: "ON" state_off: "OFF" payload_on: "ON" payload_off: "OFF" payload_available: "Online" payload_not_available: "Offline"
automations:
- id: 810e348d-ebda-428f-861d-90b288b01713 alias: 'Humidity Control' initial_state: on trigger: platform: state entity_id: - input_number.target_humidity - sensor.house_humidity_main action: service: >- {% set hi = (states('input_number.target_humidity') | float) + 4 %} {% set lo = hi - 6 %} {% set humidity = states('sensor.house_humidity_main') | float %} {% if humidity > hi %} switch.turn_off {% elif humidity < lo %} switch.turn_on {% else %} switch.turn_{{states('switch.humidifier') | lower}} {% endif %} entity_id: switch.humidifier
YouTube Video Link: https://youtu.be/2bRu4H6qo84