post https://www.wattvision.com/api/v0.2/elec
Your API Settings Page can be found here.
HTTP POST
The parameters are passed as part of the body of the POST request. We expect a JSON object with each of the following properties, some of which are optional. Note that JSON strings are enclosed by double quotes and numbers are not.
Here is some sample code.
You'll need to upload one or both of 'watts' or 'watthours'.
*for full tracking, you'll need to upload both, we don't auto-convert between types
Update Strategy
If you want to have your sensor showing as "sensor active" you must consistently upload faster than once every 5 minutes.
Response Codes
You will receive a 400 Bad Request if the request is not in the correct format, 200 on successful POST.