Skip to content

Commit

Permalink
add second article
Browse files Browse the repository at this point in the history
  • Loading branch information
nakata5321 committed Dec 1, 2023
1 parent 41aafb4 commit 4a83db6
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/sidebar_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
items:
- title_en: IR Remote
link: /docs/ir-controller
# - title_en: Energy Meter
# link: /docs/energy-meter
- title_en: Energy Meter
link: /docs/energy-meter
- title_en: Learn
items:
# - title_en: Introduction
Expand Down
Binary file added docs/docsCovers/energy-meter-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions docs/energy-meter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
title: Energy Monitoring
contributors: [nakata5321]
---

Congratulations on acquiring the innovative energy monitoring! We are pleased that you have chosen our device to
enhance the comfort in your home. This device boasts a range of unique features, such as:

Features:
1. Monitor energy consumption, whether that's an individual estate or an entire building
2. The included software provides vital insight that can help to control and save energy in the future
3. Monitoring works on the local network and does not require access to the cloud
4. Support of Home Assistant via the MQTT protocol

## Hardware specification

- Input Voltage: AC 100-240V 50/60Hz
- Measuring Range: 0.1-80A
- Wireless Protocol: IEEE 802.11b/g/n (2.4 GHz Wi-Fi)
- CPU: ESP32-S3 MCU-based system on a chip (SoC) dual-core microprocessor (Xtensa 32-bit LX7), up to 240 MHz
- Memory: 448 KB ROM, 520 KB SRAM, 8 MB FLASH
- USB-C for development and updates

## How to setup

1) Take the device from the box and connect it to the computer. Then go the website [webflasher.robonomics.network](https://webflasher.robonomics.network/). You will see next:

<robo-wiki-picture src="ir-controller/web-interface.jpg" />

<robo-wiki-note type="warning"> Note! web flasher is working only with Google Chrome or Microsoft Edge browser.</robo-wiki-note>

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. Then choose "INSTALL ENERGY-MONITOR_EN".
On next window you can make "clear installation" by check "erase device". Next and install. Wait until firmware will be uploaded to the Energy Monitor.

## Configuration

After finishing the installation process Wi-Fi configuration popup will appear. Provide your wi-fi credentials, for connect the device to your wi-fi network.

After setting up wi-fi you can visit device via "visit device" button. Later you can visit device via it's IP address in network. To find it you can use [Fing mobile app](https://www.fing.com/products) or
[nmap CLI tool](https://vitux.com/find-devices-connected-to-your-network-with-nmap/).

<robo-wiki-picture src="energymeter/energymeter.jpg" />

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

<code-helper copy>

```shell
{"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"}
```
</code-helper>


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:

<robo-wiki-picture src="ir-controller/mqtt.jpg" />

That's all with ESP for now. Next step is install Home Assistant integration.

## Integration setup

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

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

<robo-wiki-picture src="energymeter/HA.jpg" />

That's all. Now you can add energy entities to dashboard.
Binary file added docs/images/energymeter/HA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/energymeter/energymeter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions docs/ir-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ but also boasts a range of unique features, such as:

Get ready for a new level of air conditioner management with our remote, and may your home always be set to maximum comfort!

## Hardware specification:
## Hardware specification

- Viewing angle 360°
- CPU: ESP32 series of SoCs, Xtensa 32-­bit LX6 microprocessor, up to 240 MHz
Expand Down Expand Up @@ -48,10 +48,15 @@ After setting up wi-fi you can visit device via "visit device" button. Later you
<robo-wiki-picture src="ir-controller/tasmota.jpg" />

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

<code-helper copy>

```shell
{"NAME":"Robonomics IR remote","GPIO":[1,1,1,1,1056,1088,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
```
If box "Activate" is disabled, enable it and press Save button.
</code-helper>

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:
Expand All @@ -75,6 +80,9 @@ Point your IR remote control to the Robonomics IR remote and press buttons on yo
You need information from "IRHVAC" topic.

Open `configuration.yaml` file of our Home Assistant instance and insert next:

<code-helper copy>

```shell
tasmota_irhvac:

Expand Down Expand Up @@ -159,6 +167,8 @@ climate:
#- SwingV
#- Turbo
```
</code-helper>


Change all necessary statements in inserted part with values from console message.

Expand Down

0 comments on commit 4a83db6

Please sign in to comment.