esphome/tests/components/ebus/test.esp32.yaml

38 lines
850 B
YAML
Raw Normal View History

2024-02-19 13:06:49 +01:00
ebus:
primary_address: 0x00
history_queue_size: 32
command_queue_size: 16
poll_interval: "15s"
uart:
num: 1
tx_pin: 33
rx_pin: 32
sensor:
- platform: ebus
sensors:
- name: "Water Pressure"
id: zebus_water_pressure
telegram:
destination: 0x03
command: 0xb509
payload: [0x0d, 0x02, 0x00]
decode:
position: 0
bytes: 2
divider: 1000.0
device_class: "pressure"
unit_of_measurement: bar
state_class: "measurement"
accuracy_decimals: 3
internal: false
filters:
- clamp:
min_value: 0
max_value: 4
ignore_out_of_range: true
- median:
window_size: 5
send_every: 3
send_first_at: 3