Since google decided to remove Google Power Meter i’m without a serious energy monitor for my Envi-R. Current Cost give its dashboard, but it is quite poor compared with GPM (Google Power Meter). So i started thinking about a simple DIY monitor system based on Envi-R and its serial output. I also realized that i have a QNAP TS-112 which could help me. It is a 1 bay NAS, with low power consumption (about 13W in idle).
The first problem I found was the driver (module) of cable for serial connection between QNAP and Envi-R. It is a prolific USB-Serial converter. After a lots of search I was able to find the right module in a package downloaded from QNAP support forum. Here it is:
Decompress the archive on some directory (like /tmp/) you can load it with:
now, if your dmesg don’t shows errors you should be able to look something typing:
What you can see is the raw bits received from Envi. If you want to read the right string message from the serial you should use minicom, a command line serial interface. After setting the serial correctly you should get some lines with time, sensor channel, power consumption, temperature ecc.
….work in progress….