Meter All The Phases: Three Phase Energy Meter With OpenWrt

Keeping monitor your total electrical energy utilization is an efficient factor, and it’s even higher if you understand the place all of the kilowatt-hours are going. [Anurag Chugh’s] home has the three phases coming from {the electrical} distribution field tidily organized: One for the lighting and followers, one for family home equipment, and one for the new water provide. To monitor and analyze {the electrical} fingerprint of his home, [Anurag] installed a 3 phase energy meter and hooked it up to the internet.
[Anurag] acquired a Selec MFM383C 3-phase meter with Modbus interface and three present transformers, one for every section. After all the things was wired up and put in within the electrical distribution panel, he attached an Android pill to the meter utilizing a USB to RS485 bridge. He began studying out the Modbus registers from the meter utilizing the monitoring app. After verifying that the app was studying smart values, he went on to configure an OpenWrt router to attach it as much as the Internet.
While the meter additionally connects to his OpenWrt TL-MR3020 router via a USB to RS485 interface with out issues, the entire setup doesn’t come with out challenges. The newest model of OpenWrt fills up a lot of the inside flash reminiscence of the router, leaving too litte area for the extra modules wanted for the mission. [Anurag’s] workaround for that is to compile a stripped down model of OpenWrt that permits for shifting the file system to an exterior USB thumb drive over the router’s serial port, which after all required opening the router and soldering in a USB to serial bridge.
With the router up and operating, he wrote a compact OpenWrt package to learn out the information from the vitality meter via a command line interface. A cron job periodically executes a bit script which polls the meter and uploads the information factors to an Initial State account. There, the collected information may be additional processed and graphed via an interesting internet interface.
[Anurag Chugh’s] construct is actually effectively finished, however what actually stands out about this mission is the element and construction of documentation. It contains a sequence of 4 intensive posts, the place all steps are absolutely documented right down to the bottom stage, able to be replicated and realized from by fellow makers and hackers. We’re certain you’ll benefit from the learn!
Thanks to [Jamie] for the tip!
Source link


![The OpenWrt One system [LWN.net] The OpenWrt One system [LWN.net]](https://openwrtrouters.net/wp-content/uploads/2026/09/openwrt-one-sm-250x220.png)