undefined

Energy Monitoring

This article will show you the process of setting up the Energy Monitoring.


All devices from Robonomics can be purchased on the official website.

VIDEO LOADING...

Step 1 — Flashing


All devices from Robonomics come pre-flashed out of the box. However, since all devices are development kits, the instructions will cover the option of flashing the device from scratch. If you do not wish to do this now, proceed to Step 2 - Access Point.

Take the device from the box and connect it to the computer. Then go to the website webflasher.robonomics.network. This is the web flasher.

VIDEO LOADING...


Note! Web flasher is working only with Google Chrome or Microsoft Edge browser.

In “Firmware” drop-box choose “ENERGY MONITOR” option and next in “SELECT CHIP” choose “ESP32-S3”. Press “CONNECT” button.
A popup window will appear where you should select the serial port to which the device is connected (usually it’s /ttyUSB0). Then choose “INSTALL ENERGY-MONITOR_EN”.
On next window, you can make CLEAR INSTALLATION by check ERASE DEVICE. Press Next and then Install. Wait until firmware to upload to Energy Monitoring device.

After finishing the installation process Wi-Fi configuration popup will appear. Provide Wi-Fi credentials.

After setting up Wi-Fi you can visit device via VISIT DEVICE button. Later you can visit device via it’s IP address in the network. To find it you can use Fing mobile app or
nmap CLI tool.

Skip Step 2 — Access Point and go to Step 3 — Configuration.

Step 2 — Access Point

If you take Energy monitor from the box and connect it to the power supply, it will create hotspot with name “robonomics-XXXXXXX”. Connect to it. Configuration window should open. If not, open web-browser and go to 192.168.4.1 page.

phone-wifi

Provide Wi-Fi credentials. After that, the Energy Monitoring device will connect to the Wi-Fi network. Check the device via it’s IP address in the network. To find it you can use Fing mobile app or
nmap CLI tool.

Step 3 — Configuration

VIDEO LOADING...

Go to “Configuration”->“Configure other”. In “Template” string insert next:

{"NAME":"Robonomics-Energy-Monitor","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3200,5440,1,1,576,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":1, "CMND":"SetOption21 1|WattRes 2|VoltRes 2"}

Verify that checkbox “Activate” and “MQTT Enable” is enabled. If not, enable it and press Save button.

Return to “main menu” and go to “Configuration” -> “Configure MQTT”.
Provide your MQTT credentials here:

mqtt

That’s all with ESP for now. The next step is to install the Home Assistant integration.

Step 4 — Integration setup

This article assumes, that you have Home Assistant. To connect Energy Monitoring device to Home Assistant, you need to install “Tasmota” integration.

VIDEO LOADING...

Basically, Home Assistant will discover “Tasmota” integration automatically. But if not, add it manually.

energymeter-ha

That’s all. Now you can add energy entities to the dashboard.


All devices from Robonomics can be purchased on the official website.

Couldn't complete

Thanks,
we'll keep in touch!

It was hard

Thanks,
we'll keep in touch!

It was ok

Thanks,
we'll keep in touch!

It was easy

Thanks,
we'll keep in touch!
Main contributors: @nakata5321
Make a contribution

Robonomics wiki is open source. See something that's wrong or unclear? Submit a pull request.

? Ask your question