Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

如何將4個Sensor 做成一個公用電錶呢 ?? #29

Open
kevinjew opened this issue Dec 24, 2024 · 1 comment
Open

如何將4個Sensor 做成一個公用電錶呢 ?? #29

kevinjew opened this issue Dec 24, 2024 · 1 comment

Comments

@kevinjew
Copy link

你好
我有4個Sensor,單獨計費會與台電計費單價不同。
我想把4個Sensor整合成一個公用電錶,這樣應該會與台電單價接近。
我該如何做呢 ??

utility_meter:
bimonthly_energy:
source: sensor.n1_total_power # 這是您想用來計算電費的 kWh 來源傳感器.
n2
n3
n4
sensor:

  • platform: integration
    source: sensor.n1_W_sensor # 這是您原始的用電 "W (瓦特)" 偵測器.
    name: n1_total_power # 這是要交給 utility meter 的名稱.
    unit_prefix: k
    method: trapezoidal
    round: 3
  • platform: integration
    source: sensor.n2_W_sensor # 這是您原始的用電 "W (瓦特)" 偵測器.
    name: n2_total_power # 這是要交給 utility meter 的名稱.
    unit_prefix: k
    method: trapezoidal
    round: 3
  • platform: integration
    source: sensor.n3_W_sensor # 這是您原始的用電 "W (瓦特)" 偵測器.
    name: n3_total_power # 這是要交給 utility meter 的名稱.
    unit_prefix: k
    method: trapezoidal
    round: 3
  • platform: integration
    source: sensor.n4_W_sensor # 這是您原始的用電 "W (瓦特)" 偵測器.
    name: n4_total_power # 這是要交給 utility meter 的名稱.
    unit_prefix: k
    method: trapezoidal
    round: 3
@kevinjew
Copy link
Author

換個方式說
台電電錶進屋後,併接4個用電偵測器,我想把這4個偵測器合在一起算耗電。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant