Hacker News new | past | comments | ask | show | jobs | submit login
Cheap Electric Power Measurement: Repurposing a WiFi power plug (volkerkrause.eu)
26 points by pabs3 4 days ago | hide | past | favorite | 7 comments

The author of the article uses KST from KDE to generate the plot from the CSV stream. KDE is amazing. It is used by airbus for analyzing sensor data test results, others in astronomy, and myself in commissioning power plants. KST is so good for zooming and scrolling around plots generated from live and historical datasets really quickly. It outshines all the analysis software on big SCADA systems like osi pi, factory talk, wonderware, etc.

It's worth noting that at the moment, tuya-convert is broken and doesn't work, so you have to resort to soldering pins to flash custom firmware onto these devices.

https://github.com/ct-Open-Source/tuya-convert/issues/483 https://github.com/ct-Open-Source/tuya-convert/wiki/Collabor...

> How good this is, ie. how close the reported values get to reality, and to what extend the noise is inherent to the sensor I have no idea though, lacking a calibrated reference to compare this to. Based on suggestions found online on how to reduce the noise by hardware modifications I have to assume most of that is coming from the sensor.

One idea is to put a load of known impedance and check if the reported values matches the theoretical power consumption.

I'm confused. How was it repurposed? He changed the firmware, but unless I misunderstand, the purpose remained the same: power measurement.

I think the repurposing is as an alternative to powertop as he is looking at what makes his laptop use more or less power. He wants to use the power measurement feature of the WiFi receptacle to analyze the power efficiency and consumption of code running on the computer.

Worth pointing out that many power plugs can be read by home assistant etc as is

Man this could be a game changer for cheap aquarium power monitoring.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact