From f617aed0762cadb7d892107c1d9da5f7f22ade8c Mon Sep 17 00:00:00 2001 From: Fletcher Date: Sun, 3 Dec 2023 18:54:34 +0800 Subject: [PATCH] Move information on CT clamps to a template (#30107) --- source/_docs/energy/battery.markdown | 10 +--------- source/_docs/energy/electricity-grid.markdown | 8 +------- source/_docs/energy/solar-panels.markdown | 10 +--------- source/_includes/energy/ct_clamp.md | 8 ++++++++ 4 files changed, 11 insertions(+), 25 deletions(-) create mode 100644 source/_includes/energy/ct_clamp.md diff --git a/source/_docs/energy/battery.markdown b/source/_docs/energy/battery.markdown index 986a041dc17..06a03199132 100644 --- a/source/_docs/energy/battery.markdown +++ b/source/_docs/energy/battery.markdown @@ -17,12 +17,4 @@ Some battery vendors have an API to integrate the data into your Home Assistant ### Using a CT clamp sensor -CT clamp sensors measure your energy usage by looking at the current passing through an electrical wire. This makes it possible to calculate the energy usage. In Home Assistant we have support for off-the-shelf CT clamp sensors and you can build your own. - -The off-the-shelf solution that we advise is the [Shelly EM](https://www.shelly.com/en/products/shop/shelly-em-120a/shelly-em-50a?tracking=A7FsiPIfUWsFpnfKHa8SRyUYLXjr2hPq). The device has a local API, updates are pushed to Home Assistant and it has a high quality [integration](/integrations/shelly/). - -You can build your own using ESPHome's [CT Clamp Current sensor](https://esphome.io/components/sensor/ct_clamp.html) or energy meter sensors like the [ATM90E32](https://esphome.io/components/sensor/atm90e32.html). For the DIY route, check out [this video by digiblur](https://www.youtube.com/watch?v=n2XZzciz0s4) to get started. - -_Attention! Installing CT clamp sensor devices requires opening your electrical cabinet. This work should be done by someone familiar with electrical wiring. Your qualified installer will know how to do this._ - -_Disclaimer: Some links on this page are affiliate links._ +{% include energy/ct_clamp.md %} diff --git a/source/_docs/energy/electricity-grid.markdown b/source/_docs/energy/electricity-grid.markdown index c82d03a3e69..22639959080 100644 --- a/source/_docs/energy/electricity-grid.markdown +++ b/source/_docs/energy/electricity-grid.markdown @@ -63,13 +63,7 @@ In countries like Germany, SML (Smart Message Language) is used typically. ESPHo ### Using a CT clamp sensor -CT clamp sensors measure your energy usage by looking at the current passing through an electrical wire. This makes it possible to calculate the energy usage. In Home Assistant we have support for off-the-shelf CT clamp sensors and you can build your own. - -The off-the-shelf solution that we advise is the [Shelly EM](https://www.shelly.com/en/products/shop/shelly-em-120a/shelly-em-50a?tracking=A7FsiPIfUWsFpnfKHa8SRyUYLXjr2hPq). The device has a local API, updates are pushed to Home Assistant and it has a high quality [integration](/integrations/shelly/). - -You can build your own using ESPHome's [CT Clamp Current sensor](https://esphome.io/components/sensor/ct_clamp.html) or energy meter sensors like the [ATM90E32](https://esphome.io/components/sensor/atm90e32.html) or [PZEM-004T V3](https://esphome.io/components/sensor/pzemac.html). For the DIY route, check out [this video by digiblur](https://www.youtube.com/watch?v=n2XZzciz0s4) to get started. - -_Attention! Installing CT clamp sensor devices requires opening your electrical cabinet. This work should be done by someone familiar with electrical wiring. Your qualified installer will know how to do this._ +{% include energy/ct_clamp.md %} ### Data provided by your energy provider diff --git a/source/_docs/energy/solar-panels.markdown b/source/_docs/energy/solar-panels.markdown index c5c39112eaf..0c9d1545a26 100644 --- a/source/_docs/energy/solar-panels.markdown +++ b/source/_docs/energy/solar-panels.markdown @@ -15,15 +15,7 @@ Home Assistant will need to know the amount of energy that is being produced. Th ### Using a CT clamp sensor -CT clamp sensors measure the instantaneous current passing through an electrical wire. To translate this into electrical power (W) you also need a voltage measurement, because Power = Current x Voltage. - -In Home Assistant we have support for off-the-shelf CT clamp sensors and you can build your own with ESPHome's [CT Clamp Current sensor](https://esphome.io/components/sensor/ct_clamp.html). - -The off-the-shelf solution that we advise is the [Shelly EM](https://www.shelly.com/en/products/shop/shelly-em-120a/shelly-em-50a?tracking=A7FsiPIfUWsFpnfKHa8SRyUYLXjr2hPq). The device has a local API, updates are pushed to Home Assistant and it has a high quality [integration](/integrations/shelly/). - -_Attention! Installing CT clamp sensor devices requires opening your electrical cabinet. This work should be done by someone familiar with electrical wiring. Your qualified installer will know how to do this._ - -_Disclaimer: Some links on this page are affiliate links._ +{% include energy/ct_clamp.md %} ### Connecting to your inverter diff --git a/source/_includes/energy/ct_clamp.md b/source/_includes/energy/ct_clamp.md new file mode 100644 index 00000000000..5eb0f2919f4 --- /dev/null +++ b/source/_includes/energy/ct_clamp.md @@ -0,0 +1,8 @@ +Current transformer (CT) clamp sensors measure your energy usage by looking at the current passing through an electrical wire. This makes it possible to calculate the energy usage. In Home Assistant we have support for off-the-shelf CT clamp sensors or you can build your own. + +- The off-the-shelf solution that we advise is the [Shelly EM](https://www.shelly.com/en/products/shop/shelly-em-120a/shelly-em-50a?tracking=A7FsiPIfUWsFpnfKHa8SRyUYLXjr2hPq). The device has a local API, updates are pushed to Home Assistant and it has a high quality [integration](/integrations/shelly/). +- You can build your own using ESPHome's [CT Clamp Current sensor](https://esphome.io/components/sensor/ct_clamp.html) or energy meter sensors like the [ATM90E32](https://esphome.io/components/sensor/atm90e32.html). For the DIY route, check out [this video by digiblur](https://www.youtube.com/watch?v=n2XZzciz0s4) to get started. + +_Attention! Installing CT clamp sensor devices requires opening your electrical cabinet. This work should be done by someone familiar with electrical wiring and may require a licensed professional in some regions. Your qualified installer will know how to do this._ + +_Disclaimer: Some links in this section are affiliate links._ \ No newline at end of file