Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
- platform: adc
pin:
number: ${adc1_pin}
allow_other_uses: true
id: Feuchtigkeitssensor_1
name: "Feuchtigkeit_1_Prozent"
unit_of_measurement: "%"
accuracy_decimals: 1
update_interval: 60s
attenuation: 12db
filters:
# Sensor trocken ca. 2,80 Volt, Sensor nass ca. 1,57 Volt. Spannung schwankt
- calibrate_linear:
- 2.80 -> 0.0
- 1.57 -> 100.0
- lambda: |
if (x < 0) return 0;
else if (x > 100) return 100;
else return (x);
- round: 1
kann sein, das das nur bei Sensoren geht, wo auch eine Berechnung vorliegt (Energie (kWh) wird aus Leistung und Zeit berechnet)Bei Sensoren in kWh ist das Symbol vorhanden, nur nicht bei den Sensoren mit anderen Bezeichnungen wie °C, W (Watt), V (Volt), A (Ampere) oder so...
Liegt es vielleicht daran?
- platform: dallas_temp
address: 0x4e01144eee123456
name: "10_Aussentemperatur"
unit_of_measurement: "°C"
icon: "mdi:thermometer"
device_class: "temperature"
state_class: "measurement"
accuracy_decimals: 1
update_interval: 60s
- platform: dallas_temp
address: 0x4e01144eee123456
name: "10_Aussentemperatur"
unit_of_measurement: "°C"
icon: "mdi:thermometer"
device_class: "temperature"
state_class: "measurement"
accuracy_decimals: 1
update_interval: 60s
filters:
- lambda: |
if ((x > -20) and (x < 50)) return (x);
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 600s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "% Signal"
entity_category: "diagnostic"
device_class: ""