Well, after getting halfway down the path of installing InfluxDB and Grafana with the goal of getting some data from the Iotawatt, I despaired. Not only was this a remarkable level of complication, it really wasn’t going to do what I wanted.
So, I spent a little bit of time, learned Python along the way, and put together a small Python library to access at least some of the functions of the Iotawatt - query?series, query?select, status, files, some commands (like reset). So grabbing power or energy data from the Iotawatt is now just one line (well, maybe a few lines) of Python away.
If anyone’s interested, I’ll post it up on Github. Regardless, I’ve got some good uses for it. One thing I notice when reading around here is that a lot of people have solved the problem of communicating directly with an Iotawatt, but none of them have shared their work. It turns out to be a small module of code, but it still takes a lot of spelunking and detective work to figure out what it needs to be. So I thought I’d help.