rollotomasi
(Rollo Tomasi)
December 11, 2021, 11:02am
1
I use sensors throughout the house which are able to measure temperature and absolute humidity levels. I would like to plot the dewpoint for each of these sensors (rooms). I have configured a mold indicator for one room for testing:
sensor:
- platform: mold_indicator
name: mold.livingroom
indoor_temp_sensor: sensor.livingroom_temperature
indoor_humidity_sensor: sensor.livingroom_humidity
outdoor_temp_sensor: sensor.terasse_temperature
calibration_factor: 2.0
This works. However, I am struggeling to plot the attribute dewpoint. How can I access it? Thank you!
Fete
(a.nonym)
December 11, 2021, 11:06am
2
Not helping with this, I’m sorry. But I am also interested in a “mold indicator” and I guess dew point is crucial there.
Any info you could point to, where I can start to set something up?
Temp/humidity sensors I got a lot of.
tom_l
December 11, 2021, 12:02pm
4
Fete:
Not helping with this, I’m sorry. But I am also interested in a “mold indicator” and I guess dew point is crucial there.
Any info you could point to, where I can start to set something up?
Here:
It requires an outdoor temperature sensor and indoor temperature and humidity sensors.
rollotomasi
(Rollo Tomasi)
December 11, 2021, 12:12pm
5
Great, apex charts work. Will try the template sensor route next (in order to avoid 3rd party extentions as much as possible). Thank you!
I still stuck breaking out the dewpoint attribute as a sensor:
sensor:
- platform: mold_indicator
name: mold.livingroom
indoor_temp_sensor: sensor.livingroom_temperature
indoor_humidity_sensor: sensor.livingroom_humidity
outdoor_temp_sensor: sensor.terasse_temperature
calibration_factor: 2.0
- platform: template
sensor:
sensor.livingroom_dewpoint:
friendly_name: 'Dew point'
entity_id: mold.livingroom
value_template: "{{ state_attr('mold.livingroom', 'dewpoint') }}"
unit_of_measurement: '°C'
I get the following error message I am unable to properly decode/understand:
configuration is not valid: Invalid config for [sensor.template]: invalid slug sensor.livingroom_dewpoint (try sensor_livingroom_dewpoint) for dictionary value @ data['sensors']. Got OrderedDict([('sensor.livingroom_dewpoint', OrderedDict([('friendly_name', 'Dew point'), ('entity_id', 'mold.livingroom'), ('value_template', "{{ state_attr('mold.livingroom', 'dewpoint') }}"), ('unit_of_measurement', '°C')]))]). (See ?, line ?).
Any hint on what I am doing wrong? Thank you!
tom_l
December 11, 2021, 1:54pm
7
Don’t use decimal points in your sensor slug, do this instead:
- platform: template
sensor:
sensor_livingroom_dewpoint:
^
|
It actually told you that in the error if you look closely.
1 Like
Thanks @tom_l !
I fixed more mistakes. Now it works:
sensor:
- platform: mold_indicator
name: mold.livingroom
indoor_temp_sensor: sensor.livingroom_temperature
indoor_humidity_sensor: sensor.livingroom_humidity
outdoor_temp_sensor: sensor.terasse_temperature
calibration_factor: 2.0
- platform: template
sensors:
livingroom_dewpoint:
friendly_name: "Dewpoint"
value_template: "{{ state_attr('sensor.mold_livingroom', 'dewpoint') }}"
unit_of_measurement: '°C'
techdesk
(CJ Ramseyer)
April 5, 2023, 7:35pm
9
I have been trying to get this to work and all I get is Unavailable.
platform: mold_indicator
name: mold.master
indoor_temp_sensor: sensor_master_multisensor_temperature
indoor_humidity_sensor: sensor_master_multisensor_temperature
outdoor_temp_sensor: sensor_openweathermap_temperature
calibration_factor: 1.2
This would be a great sensor, but really doesn’t seem to function.