Sorry, your browser does not support JavaScript!

The "hidden" features in the firmware of the Wi-Fi energy meter

Because of the continued upgrading of the firmware, new features often appear in the latest firmware, this article is used to list all the features that have been supported by the firmware(will be updated continuously).

How to get the latest firmware

We will release the latest firmware version here.

https://imeter.club/topic/11

Select the run mode of the energy meter

There are three run mode selections.

  • Cloud: use the energy meter together with IAMMETER-cloud, this is the default mode.
  • TCP: upload data to third-party server by TCP,TLS or MQTT.
  • HTTP: upload data to third-party server by HTTP or HTTPS.

Select the run mode of the energy meter

T

Cloud

This is the default mode. It will upload data to IAMMETER-cloud. Then you can monitor the energy data by the IAMMETER cloud, the effect is like this: visit the IAMMETER-cloud by the demo account

Please note: there would be the different effects when you click the demo link in the browser of desktop mode(web system effect) or phone mode(app effect)

TCP,TLS and MQTT

TCP && TLS

Please refer to https://www.iammeter.com/docs/integrate-with-thirdparty-server

upload data to the tcp/TLS server

Video: Upload the energy monitor data to a third-party server

MQTT

Please refer to https://www.iammeter.com/docs/integrate-with-mqtt-server

configure the energy meter to upload by mqtt

HTTP or HTTPS

  • The data format of the http/https post is the same as tcp/mqtt/tls mode.
  • you can use different port to do the http post.
  • if you use the port of 443, the energy meter would do the https post (only support https in port 443)

http https post data

Local API

/api/moinitorjson: return the measurement result

Return all measurement results of the Wi-Fi energy meter in Datas field.

The Datas contains such parameters below (if it is 3 phase energy meter,it will return all three phase readings)

Voltage, current,active power,forward kWh ,reverse kWh,frequency,power factor.

API:monitorjson

Besides the measurement results, it also returns the SN, mac, and the firmware Version.

{"method":"uploadsn","mac":"B0F8933C4F94","version":"i.75.97.9","server":"em","SN":"3E0BAF87","Datas":[[220.0,9.99,2198,11.337,11.201,49.99,1.00],[222.5,9.99,1100,11.039,10.908,49.99,0.50],[263.5,9.99,1213,10.975,10.846,49.99,0.55]]}

/api/monitor: Advanced version of "monitorjson"

Add two more JOSN fields. SSID: connected AP name. Sig: signal strength of the connected AP.

API: "monitor"

{"ssid":"CMCC-laohe","sig":100,"mac":"B0F8933C4F94","version":"i.75.97.9","server":"em","SN":"3E0BAF87","Datas":[[220.0,9.99,2198,11.337,11.201,49.99,1.00],[222.5,9.99,1100,11.039,10.908,49.99,0.50],[263.5,9.99,1213,10.975,10.846,49.99,0.55]]}

/api/wifidata: return the Wi-Fi network configuration

API:wifidata

{"version":"i.75.97.9","SN":"3E0BAF87","mac":"B0F8933C4F94","type":"PM","ssid":"CMCC-laohe","ip":"192.168.11.62","netmask":"255.255.255.0","gw":"192.168.11.253","dns":"114.114.114.114","dhcp":1,"runMode":"cloud","netmeter":0,"uploadinterval":60}

/api/uploadinterval?x=value: set the upload interval value

http://ip/api/uploadinterval?x=value

Set the upload interval in seconds. Please notes ,the upload interval of the cloud mode is fixed in 1 min. This interval only work after you have set the the energy meter to upload the data to third-party server (by tcp, tls,http or mqtt).

image-20220928135459665

/api/mqtt: Set the username and password of MQTT

please refer to https://www.iammeter.com/docs/integrate-with-mqtt-server#22--set-the-username-and-password-of-mqtt

set the username and pwd of the MQTT for IAMMETER`s energy meter

/api/netmetring : the net metering mode of the energy meter

Please refer to How to use the net energy metering mode in the Wi-Fi Energy meter

11

Modbus/TCP

This is a big upgrade of the firmware ,so we list it independently here.

Support Modbus/TCP in the Wi-Fi energy meter of IAMMETER

request the energy data from the Modbus/TCP in the home assistant

What is more

Video tutorial about IAMMETER` energy meter and system

IAMMETER`s Wi-Fi energy meter in the Home assistant

Develop your own energy monitoring system with IAMMETE products

Monitor your solar pv system by a 3 phase energy meter Wi-Fi

Use the 3 phase energy meter the way you prefer

Top