mampfes / esphome_obis_d0

esphome external component to support meters with OBIS D0 interface
MIT License
43 stars 7 forks source link

Support for sensor filters? #6

Closed freakyjoe8 closed 1 year ago

freakyjoe8 commented 1 year ago

Hi,

thanks a lot for this add-on to ESPHome! It really helped me to finally read my EBZ DD3 which doesn't support SML. Does this add-on support sensor filtering? I'd like to reduce the amount of data it sends to HA. Especially the kWh I don't need more than every 60s.

I've used ` filters:

from https://esphome.io/components/sensor/index.html#throttle

But it still seems to send the data every second though.

Thanks!

mampfes commented 1 year ago

No, I didn't implement any kind of filtering. According to the docu, throttleshould do the job.

But I don't think that it is worth the spend the effort. I would assume that the overhead for a WLAN message (with all the values in it) is much bigger than the few bytes that are necessary to add an extra value.