EcoMBR1 - ModBus relay
Read smart meters and switch loads
The EcoMBR1 switches a load with its relay: based on the grid power (for example on solar surplus), based on the Tibber electricity price, permanently through a switch on the device, or by hand. For the grid power it reads a smart meter (electricity meter) via its ModBus RTU interface (RS485) and sends the values via WiFi to ecosensors.cloud. The meter is optional: without it, only switching by grid power is unavailable.
Technically it is based on ESPhome (see the general guide). Hardware and software are open, so the sensor can also be built yourself.
Explainer video
In just over two minutes the video shows the setup, the variants and the relay's three controls: by hand, by electricity meter and by Tibber price.
What you get
- Grid L1/L2/L3: voltage, current and power (with an electricity meter)
- Total power at the grid connection and grid frequency
- Total import and total export
- Relay: switch by grid power or Tibber electricity price, each with adjustable on and off switching points, permanently through a switch on the device, or by hand (Configure the relay)
- Electricity price of the Tibber contract (optional, guide)
All values appear in your dashboard on ecosensors.cloud.
Compatible meters
The following smart meters have been tested:
| Meter | Type | Firmware variant | Manufacturer's manual |
|---|---|---|---|
| Chint DTSU 666 | Three-phase meter for DIN rail, 3 × 230/400 V, up to 80 A | dtsu666 |
Chint: User Manual (PDF, English) |
| Orno WE-516 / WE-517 | Three-phase meter for DIN rail, 3 × 230/400 V, up to 80 A; the WE-517 additionally with four tariffs | we517 |
Orno: Operating and installation instructions (PDF, English) |
The links lead to the manuals on the manufacturers' websites. There you will find the wiring diagrams, how to operate the display and the meter's complete technical data.
The Orno WE-513, which looks the same, has no RS485 interface and therefore cannot be read out.
Further meters can usually be added easily. Feel free to get in touch to integrate your (exotic?) ModBus meter as well.
ModBus is not the same as ModBus. A distinction is made between RTU (serial line, RS485) and TCP (Ethernet). The EcoMBR1 only supports ModBus RTU. Meters with ModBus TCP are not supported so far.
Variants
The firmware has to match the meter, because meters differ in registers and interface parameters:
| Variant | Meter |
|---|---|
dtsu666 |
Chint DTSU 666 |
we517 |
Orno WE-516/517 |
nometer |
no meter (only the relay with Tibber control and switch) |
Home Assistant is built into every variant but switched off from the factory. If you want to use it, switch on Home Assistant API in the web interface (Pair with Home Assistant). There are no separate -ha variants any more.
Technical data
| Wireless standard | 802.11 b/g/n (2.4 GHz only) |
| Frequency range | 2.4G~2.5G (2412M~2484M) |
| Data interface | RS485 |
| Protocol | ModBus RTU, 9600 baud |
| Output | 1 relay with changeover contact (NO/COM/NC), max. 10 A at 250 V AC |
| Power supply | 90–250 V AC |
| Controller | ESP32-WROOM-32E |
| Board | 80 × 45 mm |
| Enclosure | for DIN rail TS 35, 86 × 23 × 54 mm (H × W × D), print it yourself |
| Display | Status LED |
| Supported servers | EcoSensors |
| Open hardware / open software | yes / yes |
-
EcoMBR1 - InstallationConfigure the meter and connect the sensor
-
EcoMBR1 - CommissioningWiFi, registration and firmware update
-
EcoMBR1 - Configure the relaySwitch by grid power, electricity price or switch
-
EcoMBR1 - Electricity price from TibberGet the token and read the price
-
EcoMBR1 - Build it yourselfPin assignment and 3D-printed enclosure
-
EcoMBR1 - ModBus registersFor developers: the meters' registers