Hi,
I’ve got major problems since updating HA from 0.85 to 0.87.1! The new LoveLace interface doesn’t seem to work on Microsoft Edge browser, which is pretty annoying - but not as bad as the fact that my previously working Sonoff sensors have disappeared!
Specifically, I had the following:
- 1 x Sonoff TH16 with AM2301 temp/humidity sensor
- 2 x Sonoff POW devices reporting power consumption
All Sonoffs are flashed with Tasmota and everything has been working fine for months - the sensors were all visible in Developer Tools>States and my automations could use the data from them fine. I use the generic thermostat with the temperature sensor, and an automation to take action depending on power consumption.
After updating HA, none of these sensors are visible in Developer Tools>States, and the thermostat says “null” for current temperature. All the automations using these sensors have broken.
My configuration.yaml for the sensors and generic thermostat looks like this:
Sonoff TH temperature and humidity sensors
- platform: mqtt
name: “Office Temperature”
state_topic: “tele/sonoff-th/SENSOR”
unit_of_measurement: “°C”
value_template: “{{ value_json.AM2301.Temperature }}”
command_topic: “cmnd/sonoff-th/TelePeriod 60” - platform: mqtt
state_topic: “tele/sonoff-th/SENSOR”
name: “Office Humidity”
unit_of_measurement: “%”
value_template: “{{ value_json.AM2301.Humidity }}”
command_topic: “cmnd/sonoff-th/TelePeriod 60”
Sonoff POW power sensors
- platform: mqtt
name: “Washing Machine Power”
state_topic: “tele/sonoff-pow1/SENSOR”
unit_of_measurement: “W”
value_template: “{{value_json[‘ENERGY’].Power }}”
qos: 2
command_topic: “cmnd/sonoff-pow1/TelePeriod 15” - platform: mqtt
name: “Tumble Dryer Power”
state_topic: “tele/sonoff-pow2/SENSOR”
unit_of_measurement: “W”
value_template: “{{value_json[‘ENERGY’].Power }}”
qos: 2
command_topic: “cmnd/sonoff-pow2/TelePeriod 15”
Thermostat
climate:
- platform: generic_thermostat
name: “Office Thermostat”
heater: switch.sonoff_th
ac_mode: False
min_cycle_duration:
seconds: 5
target_sensor: sensor.office_temperature
target_temp: 19
cold_tolerance: 0.2
hot_tolerance: 0.2
initial_operation_mode: “auto”
away_temp: 4
Can anyone tell me why these sensors have disappeared and how I can get them back? Right now I’m sitting in a very cold office as the HA-controlled heating no longer works!
Many thanks,
Tim