This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tamiwiki:other:power [2023/07/10 20:46] – [mqtt] yair | tamiwiki:other:power [2024/06/27 01:19] (current) – yair | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Electrical current sensor | ====== Electrical current sensor | ||
- | <del>https:// | + | **TLDR** [[https:// |
+ | |||
+ | example\\ | ||
+ | {{: | ||
==== TODO: ==== | ==== TODO: ==== | ||
- | * finish mqtt integration | + | * <del>finish mqtt integration</ |
- | * sum the three current sensors to one [[https:// | + | * < |
- | * kill all our consumers and calculate the base (we share power with upstairs) | + | * < |
- | * remove (or integrate to ) the default energy tab | + | * < |
- | * integrate '' | + | * <del>integrate '' |
+ | * tami energy price node-red bot | ||
+ | * monitor upstairs meter | ||
==== what we haz ==== | ==== what we haz ==== | ||
our current sensor is clamped onto our three main arteries | our current sensor is clamped onto our three main arteries | ||
and is streamed using [[https:// | and is streamed using [[https:// | ||
- | running on the devdesk pc (on electric bench) to the [[https:// | + | running on the [[https:// |
Line 18: | Line 24: | ||
push it to over mqtt, using | push it to over mqtt, using | ||
- | |||
- | <WRAP center round important 60%> | ||
- | <WRAP center round important 30%>if need remote access, send your tailscale</ | ||
< | < | ||
- | devdesk@10.81.2.121: | + | |
+ | </ | ||
+ | using service | ||
+ | < | ||
+ | yair@telavivmakers: | ||
</ | </ | ||
- | |||
==== hass ==== | ==== hass ==== | ||
- | <WRAP center round important 60%> | ||
and from there to the homeassistant | and from there to the homeassistant | ||
Line 37: | Line 41: | ||
**tl;dr** | **tl;dr** | ||
- | add the following to the '' | + | add the following to the '' |
and reload the yaml ('' | and reload the yaml ('' | ||
+ | test new yaml in ('' | ||
<code yaml> | <code yaml> | ||
mqtt: | mqtt: | ||
Line 62: | Line 67: | ||
state_class: | state_class: | ||
value_template: | value_template: | ||
+ | </ | ||
+ | to sum the three meters and convert to Kw. add | ||
+ | <code yaml> | ||
+ | sensor: | ||
+ | - platform: template | ||
+ | sensors: | ||
+ | cc_power_total: | ||
+ | friendly_name: | ||
+ | unit_of_measurement: | ||
+ | device_class: | ||
+ | value_template: | ||
+ | | ||
+ | - platform: integration | ||
+ | source: sensor.cc_power_total | ||
+ | name: energy_spent | ||
+ | unit_prefix: | ||
+ | round: 2 | ||
</ | </ | ||
+ | |||
+ | reload yaml \\ | ||
+ | then add '' | ||
+ | |||
+ | ===== aircon ===== | ||
+ | [[tamiwiki: |