This repository contains a collection of my custom components for ESPHome.
Use latest ESPHome
with external components and add this to your .yaml
definition:
external_components:
- source: github://SzczepanLeon/esphome-components@main
wmbus
Component to receive wMBus frame (via CC1101), create HA sensor and send decoded value. You can also use this component with wmbusmeters HA addon: https://github.com/SzczepanLeon/esphome-components/blob/main/docs/wmbus.md
time:
- platform: sntp
id: time_sntp
external_components:
- source: github://SzczepanLeon/esphome-components@main
components: [ wmbus ]
wmbus:
frequency: 434.475
mosi_pin: GPIO13
miso_pin: GPIO5
clk_pin: GPIO2
cs_pin: GPIO14
gdo0_pin: GPIO15
gdo2_pin: GPIO16
led_pin: GPIO0
led_blink_time: "1s"
clients:
- name: "wmbusmeters"
ip_address: "10.0.0.1"
port: 7227
sensor:
- platform: wmbus
meter_id: 0x24202020
type: apator162
key: "00000000000000000000000000000000"
lqi:
name: "My lqi"
rssi:
name: "My RSSI"
total_water_m3:
name: "My cold water"
- platform: wmbus
meter_id: 0x12345678
type: amiplus
mode: T1C1
rssi:
name: "My RSSI"
total_energy_consumption_kwh:
name: "My consumption in kWh"
icon: "mdi:power-plug"
voltage_at_phase_1_v:
name: "My V1"
- platform: wmbus
meter_id: 0xAB125432
type: bmeters
key: "00004000000300000500001000000600"
lqi:
name: "My lqi"
total_water_m3:
id: "my_hot_water"
filters:
- offset: 325.0
NOTE: For Apator16-2 water meter please add also text sensor (for debug purposes):
text_sensor:
- platform: wmbus
name: "Text debug for Apator 16-2"
In wmbus platform:
868.950 MHz
.False
.GPIO13
.GPIO12
.GPIO14
.GPIO2
.GPIO5
.GPIO4
.300 ms
.True
.RTLWMBUS
.TCP
.Meter/sensor:
0
.amiplus
, apator08
, apator162
, apatoreitn
, bmeters
, c5isf
, compact5
, dme07
, elf
, evo868
, fhkvdataiii
, flowiq2200
, hydrocalm3
, hydrodigit
, hydrus
, iperl
, itron
, izar
, kamheat
, mkradio3
, mkradio4
, mkradio4a
, multical21
, qheat
, qwater
, sharky774
, topaseskr
, ultrimis
, unismart
, vario451
are supported. Defaults to unknown
.""
.True
.T1
.total_water_m3
Supported sensors (sensor_type) for meters:
amiplus
apatoreitn
apator08
apator162
bmeters
c5isf
compact5
dme07
elf
evo868
fhkvdataiii
flowiq2200
hydrocalm3
hydrodigit
hydrus
itron
izar
kamheat
mkradio3
mkradio4
mkradio4a
multical21
qheat
qwater
rfmtx1
sharky774
topaseskr
ultrimis
unismart
vario451
Szczepan, GPL, 2022-2024