# ESP32 + IR-HEAD TTL, nur lesen (SML). Kopf: VCC an 3V3, RX an GPIO16, TX an 3V3. uart: id: uart_bus rx_pin: GPIO16 baud_rate: 9600 data_bits: 8 parity: NONE stop_bits: 1 sml: id: mysml uart_id: uart_bus sensor: - platform: sml name: "Zählerstand Bezug" sml_id: mysml obis_code: "1-0:1.8.0" unit_of_measurement: kWh accuracy_decimals: 3 device_class: energy state_class: total_increasing filters: - multiply: 0.0001 # Rohwert in 0,1 Wh; bei Zählern mit Wh-Auflösung 0.001 - platform: sml name: "Leistung" sml_id: mysml obis_code: "1-0:16.7.0" unit_of_measurement: W accuracy_decimals: 0 device_class: power state_class: measurement