Added MQTT sensors to config. Mostly provided by rtl_433.
This commit is contained in:
parent
267e37c9be
commit
db85540d1f
160
sensors.yaml
160
sensors.yaml
@ -82,6 +82,11 @@
|
|||||||
unit_of_measurement: '°C'
|
unit_of_measurement: '°C'
|
||||||
last_reset_topic: "home/bathroom/climate/sensor/temperature"
|
last_reset_topic: "home/bathroom/climate/sensor/temperature"
|
||||||
last_reset_value_template: '1970-01-01T00:00:00+00:00'
|
last_reset_value_template: '1970-01-01T00:00:00+00:00'
|
||||||
|
device:
|
||||||
|
identifiers: MagicMirror-DHT22-T
|
||||||
|
name: MagicMirror-DHT22-T
|
||||||
|
model: DHT22
|
||||||
|
manufacturer: mqtt-io
|
||||||
force_update: true
|
force_update: true
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
@ -93,4 +98,159 @@
|
|||||||
unit_of_measurement: '%'
|
unit_of_measurement: '%'
|
||||||
last_reset_topic: "home/bathroom/climate/sensor/humidity"
|
last_reset_topic: "home/bathroom/climate/sensor/humidity"
|
||||||
last_reset_value_template: '1970-01-01T00:00:00+00:00'
|
last_reset_value_template: '1970-01-01T00:00:00+00:00'
|
||||||
|
device:
|
||||||
|
identifiers: MagicMirror-DHT22-H
|
||||||
|
name: MagicMirror-DHT22-H
|
||||||
|
model: DHT22
|
||||||
|
manufacturer: mqtt-io
|
||||||
force_update: true
|
force_update: true
|
||||||
|
|
||||||
|
# MQTT/RTL_433 (outdoor) sensors
|
||||||
|
# Reliable sensor with good placement (good values) and good reception
|
||||||
|
- device_class: battery
|
||||||
|
name: Auriol-AHFL-1-106-B
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ float(value) * 99 + 1 }}'
|
||||||
|
state_class: measurement
|
||||||
|
entity_category: diagnostic
|
||||||
|
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/106/battery_ok
|
||||||
|
unique_id: Auriol-AHFL-1-106-B
|
||||||
|
device:
|
||||||
|
identifiers: Auriol-AHFL-1-106
|
||||||
|
name: Auriol-AHFL-1-106
|
||||||
|
model: Auriol-AHFL
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: temperature
|
||||||
|
name: Auriol-AHFL-1-106-T
|
||||||
|
unit_of_measurement: °C
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/106/temperature_C
|
||||||
|
unique_id: Auriol-AHFL-1-106-T
|
||||||
|
device:
|
||||||
|
identifiers: Auriol-AHFL-1-106
|
||||||
|
name: Auriol-AHFL-1-106
|
||||||
|
model: Auriol-AHFL
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
name: Auriol-AHFL-1-106-H
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/106/humidity
|
||||||
|
unique_id: Auriol-AHFL-1-106-H
|
||||||
|
device:
|
||||||
|
identifiers: Auriol-AHFL-1-106
|
||||||
|
name: Auriol-AHFL-1-106
|
||||||
|
model: Auriol-AHFL
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
# Only temperature
|
||||||
|
- device_class: temperature
|
||||||
|
name: AmbientWeather-TX8300-1-29-T
|
||||||
|
unit_of_measurement: °C
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/AmbientWeather-TX8300/1/29/temperature_C
|
||||||
|
unique_id: AmbientWeather-TX8300-1-29-T
|
||||||
|
device:
|
||||||
|
identifiers: AmbientWeather-TX8300-1-29
|
||||||
|
name: AmbientWeather-TX8300-1-29
|
||||||
|
model: AmbientWeather-TX8300
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
# fair T/H/Bat
|
||||||
|
- device_class: battery
|
||||||
|
name: inFactory-TH-1-129-B
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ float(value) * 99 + 1 }}'
|
||||||
|
state_class: measurement
|
||||||
|
entity_category: diagnostic
|
||||||
|
state_topic: rtl_433/sdr/devices/inFactory-TH/1/129/battery_ok
|
||||||
|
unique_id: inFactory-TH-1-129-B
|
||||||
|
device:
|
||||||
|
identifiers: inFactory-TH-1-129
|
||||||
|
name: inFactory-TH-1-129
|
||||||
|
model: inFactory-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: temperature
|
||||||
|
name: inFactory-TH-1-129-F
|
||||||
|
unit_of_measurement: °F
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/inFactory-TH/1/129/temperature_F
|
||||||
|
unique_id: inFactory-TH-1-129-F
|
||||||
|
device:
|
||||||
|
identifiers: inFactory-TH-1-129
|
||||||
|
name: inFactory-TH-1-129
|
||||||
|
model: inFactory-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
name: inFactory-TH-1-129-H
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/inFactory-TH/1/129/humidity
|
||||||
|
unique_id: inFactory-TH-1-129-H
|
||||||
|
device:
|
||||||
|
identifiers: inFactory-TH-1-129
|
||||||
|
name: inFactory-TH-1-129
|
||||||
|
model: inFactory-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
# weak, good T/H/Bat
|
||||||
|
- device_class: battery
|
||||||
|
name: Nexus-TH-1-224-B
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ float(value) * 99 + 1 }}'
|
||||||
|
state_class: measurement
|
||||||
|
entity_category: diagnostic
|
||||||
|
state_topic: rtl_433/sdr/devices/Nexus-TH/1/224/battery_ok
|
||||||
|
unique_id: Nexus-TH-1-224-B
|
||||||
|
device:
|
||||||
|
identifiers: Nexus-TH-1-224
|
||||||
|
name: Nexus-TH-1-224
|
||||||
|
model: Nexus-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: temperature
|
||||||
|
name: Nexus-TH-1-224-T
|
||||||
|
unit_of_measurement: °C
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Nexus-TH/1/224/temperature_C
|
||||||
|
unique_id: Nexus-TH-1-224-T
|
||||||
|
device:
|
||||||
|
identifiers: Nexus-TH-1-224
|
||||||
|
name: Nexus-TH-1-224
|
||||||
|
model: Nexus-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
name: Nexus-TH-1-224-H
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Nexus-TH/1/224/humidity
|
||||||
|
unique_id: Nexus-TH-1-224-H
|
||||||
|
device:
|
||||||
|
identifiers: Nexus-TH-1-224
|
||||||
|
name: Nexus-TH-1-224
|
||||||
|
model: Nexus-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
platform: mqtt
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user