3 ms·
Cheap Electric Power Measurement: Repurposing a WiFi power plug
- madjam002 6y agoIt'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/issues/483 https://github.com/ct-Open-Source/tuya-convert/wiki/Collaboration-document-for-PSK-Identity-02 https://github.com/ct-Open-Source/tuya-convert/wiki/Collabor...
- nextaccountic 6y ago> 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.
- monoideism 6y agoI'm confused. How was it repurposed? He changed the firmware, but unless I misunderstand, the purpose remained the same: power measurement.
- edogg 6y agoI 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.
- edogg 6y agoThe 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.
- rdtwo 6y agoMan this could be a game changer for cheap aquarium power monitoring.
- Havoc 6y agoWorth pointing out that many power plugs can be read by home assistant etc as is