WEM3162 清仓促销 249元
获取方式TB
电表Feature
- 可以双向计量功率与电能
- 提供服务平台与APP,demo 账号
- 提供API接口,可以通过wifi 获取电能参数.
电表资料
WEM3162 quickstart
https://www.iammeter.com/doc/iammeter/wem3162-quickstart.html
视频教程
https://www.iammeter.com/doc/iammeter/tutorial-video.html
本地api 说明
api url: ip/monitorjson
method: http get
python example
https://github.com/lewei50/iammeter/blob/master/wem.py
~~~
import requests
url = "http://ip/monitorjson"
headers={'Authorization':'Basic YWRtaW46YWRtaW4='}
response = requests.request("get", url, headers=headers)
print(response.text)
~~~
{"status":"succeed","data":[234.00,6.235,1423,1222.67,0.00]}
voltage:234 V
current:6.25 A
active power:1433 W
import energy:1222.67 Kwh
export energy:0 Kwh