Power meter: Difference between revisions

From NURDspace
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
|Name=Power meter
|Name=Power meter
|Skills=Electronics,
|Skills=Electronics,
|Status=Broken
|Status=Replaced
|Niche=Electronics
|Niche=Electronics
|Purpose=Infra
|Purpose=Infra
Line 8: Line 8:
}}
}}
Power meter for the space power usage. Used to run [https://github.com/xoseperez/espurna Espurna] but it is supported by [https://esphome.io/ ESPhome] now.
Power meter for the space power usage. Used to run [https://github.com/xoseperez/espurna Espurna] but it is supported by [https://esphome.io/ ESPhome] now.
Since we needed to flash a fresh ESP8266 board anyway, we will try to use ESPHome.
Since we needed to flash a fresh ESP8266 board anyway, we will try to use ESPHome.  


== Hardware ==
== Hardware ==
* ESP8266 (Lolin NodeMCU v3)
* ESP8266 (Lolin NodeMCU v3)
* pzem-004t (aliexpress)
* pzem-004t (V2.0 printed on PCB) (aliexpress)


[[File:Selection_022.png]]
[[File:Selection_022.png]]
Line 21: Line 21:
* <s>Install graphing frontend</s> (Grafa on https://metrics.nurd.space)
* <s>Install graphing frontend</s> (Grafa on https://metrics.nurd.space)
* Print a case because of live 230V AC on terminals
* Print a case because of live 230V AC on terminals
* Config ESPhome, possibly using [https://esphome.io/components/sensor/pzemac.html this component]. Basic config with OTA done and added to [[Jarvis]].
* Config ESPhome, possibly using [https://esphome.io/components/sensor/pzemac.html this (V3)] or [https://esphome.io/components/sensor/pzemac.html this (V1)]. We have a V2 so we might be out of luck here. Basic config with OTA done and added to [[Jarvis]].
* Fix home assistant bits
* Fix home assistant bits
* Clean up old bits (MQTT and such, old topic: power/main/#)
* Clean up old bits (MQTT and such, old topic: power/main/#)

Latest revision as of 00:32, 28 December 2022

Power meter
Power meter.jpg
Participants
Skills Electronics
Status Replaced
Niche Electronics
Purpose Infra
Tool No
Location
Cost
Tool category

Power meter Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

Power meter for the space power usage. Used to run Espurna but it is supported by ESPhome now. Since we needed to flash a fresh ESP8266 board anyway, we will try to use ESPHome.

Hardware

  • ESP8266 (Lolin NodeMCU v3)
  • pzem-004t (V2.0 printed on PCB) (aliexpress)

Selection 022.png

Todo

  • Install sensor
  • Install value storage software (InfluxDB on 10.208.11.31)
  • Install graphing frontend (Grafa on https://metrics.nurd.space)
  • Print a case because of live 230V AC on terminals
  • Config ESPhome, possibly using this (V3) or this (V1). We have a V2 so we might be out of luck here. Basic config with OTA done and added to Jarvis.
  • Fix home assistant bits
  • Clean up old bits (MQTT and such, old topic: power/main/#)