psvanstrom / esphome-p1reader

ESPHome custom component for reading P1 data from electricity meters.
MIT License
251 stars 106 forks source link

dual tariff #77

Closed pathia closed 10 months ago

pathia commented 11 months ago

Hello,

Here in the Netherlands we can have a dual tariff subscription in which we have a peak and off peak tariff. Can this code handle that and have 2 different sensors for both import and export (meaning 4 in total)

cadwal commented 10 months ago

Not without changes since the purpose of it is to handle the specific selection of data points used in Sweden (and a few other countries).

For the Netherlands you should be able to use the default builtin support in esphome.

https://esphome.io/components/sensor/dsmr.html

pathia commented 10 months ago

Thanks. Will try that 👍