SmartThings SmartApp to send energy meter data (watts) to PlotWatt. Testing with HEMv1 but will likely work with any device that supports EnergyMeter capabilities with SmartThings.
- SmartThings HUB
- Device that supports the "EnergyMeter" capability (tested with HEMv1)
- PlotWatt account - Free
- Create a PlotWatt account, create a new house and for your energy meter type select PlottWatt API
- Navigate here: https://plotwatt.com/docs/api and retrieve your API ID.
- Next you'll need to create a meter using the API. If you have more than 1 meter, you'll adjust this number. Use a UNIX or Mac system with curl:
$ curl -X POST -d "number_of_new_meters=1" http://YOURAPIID:@plotwatt.com/api/v2/new_meters
- This command, if successful, will return your new meter ID(s). Make note of this for your installation of the SmartApp.
- Now, add a SmartApp and do from Source Code and copy the RAW data from Github.
- Save and publish the app.
- Go to your phone, +, add Smart App and add the API ID and Meter ID.
- If you have multiple devices, you'll need to duplicate this again and name it something different.
Bug me on Twitter at @brianwilson or email me here.