Hello all, semi retired tinkering with home electric use. Installed a couple Vue2 meters on split 400a service. Like many was dismayed to find the software side didn’t support totalization, this is a VERY common setup in the USA.
Worked up a small javascript file that gets the meter data via the Emporia Connect API https://emporia-connect.xyt.co.za (yes, I know basic auth and it isn’t good), but its pretty easy to consume data from it. Read as use a unique password you don’t use anywhere else as man in the middle (the emporia connect api) will see it. Didn’t have will to document the native emporia rest calls from there server, so I could use it. Still looking for other api options.
Example output.https://drurydjd.synology.me/~ddrury/exampleOutput.pdf
Only been working on it a week or so at night on and off. Relearning javascript at the same time.
File is here if you want to try with your emporia account. Username and password is stored in a cookie on your browser, so it never comes to my home server. It is passed via https in basic auth from your browser to emporia connect server. So most of risk is there (I think). If you download the file and load it local some browsers don’t support cookies from local filesystem files (maybe have to turn dev mode on).
Let me know if its useful for anyone..
Link to file: https://drurydjd.synology.me/~ddrury/
Link to file in dashboard mode: https://drurydjd.synology.me/~ddrury/?dashboard
Still adding more charts for my personal use. Learning about my electrical use and chasing down waste. Need to go kick my kid for leaving 200 watts of lights on in one of the bathrooms. 🙂
Cheers.