2016-11-29 18:40:14 +00:00
|
|
|
# Temp and Humidity Monitoring
|
|
|
|
- platform: mqtt
|
|
|
|
state_topic: 'tortoise/sensor1'
|
2016-12-10 18:21:19 +00:00
|
|
|
name: 'Temperature 1'
|
2016-11-29 18:40:14 +00:00
|
|
|
unit_of_measurement: '°C'
|
|
|
|
value_template: '{{ value_json.temperature }}'
|
|
|
|
- platform: mqtt
|
|
|
|
state_topic: 'tortoise/sensor1'
|
2016-12-10 18:21:19 +00:00
|
|
|
name: 'Humidity 1'
|
2016-11-29 18:40:14 +00:00
|
|
|
unit_of_measurement: '%'
|
|
|
|
value_template: '{{ value_json.humidity }}'
|
2016-12-10 18:21:19 +00:00
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
state_topic: 'tortoise/sensor2'
|
|
|
|
name: 'Temperature 2'
|
|
|
|
unit_of_measurement: '°C'
|
|
|
|
value_template: '{{ value_json.temperature }}'
|
|
|
|
- platform: mqtt
|
|
|
|
state_topic: 'tortoise/sensor2'
|
|
|
|
name: 'Humidity 2'
|
|
|
|
unit_of_measurement: '%'
|
|
|
|
value_template: '{{ value_json.humidity }}'
|
|
|
|
|