From version 2.2 there is modbus inside of Wattrouter fw. We should use it insted. Their custom HTTP XML is not great. All registries can be found in documentation CZ EN
modbus:
- name: wattrouter
type: tcp
host: 192.168.0.50 # IP zařízení
port: 502
sensors:
- name: Wattrouter Voltage Phase 1
unique_id: wattrouter_voltage_phase_1
slave: 1
address: 8
data_type: int32
device_class: voltage
input_type: input
state_class: measurement
unit_of_measurement: "V"
- name: power_phase_1
unique_id: wattrouter_power_phase_1
slave: 1
address: 0
data_type: int32
count: 2
device_class: power
scale: 10
input_type: input
state_class: measurement
unit_of_measurement: "W"
- name: power_phase_2
unique_id: wattrouter_power_phase_2
slave: 1
address: 2
data_type: int32
device_class: power
scale: 10
input_type: input
state_class: measurement
unit_of_measurement: "W"
- name: power_phase_3
unique_id: wattrouter_power_phase_3
slave: 1
address: 4
data_type: int32
device_class: power
scale: 10
input_type: input
state_class: measurement
unit_of_measurement: "W"
- name: consumption_vt_daily
unique_id: wattrouter_consumption_vt_daily
slave: 1
address: 92
data_type: int32
device_class: energy
scale: 10
input_type: input
state_class: total_increasing
unit_of_measurement: "Wh"
- name: consumption_nt_daily
unique_id: wattrouter_consumption_nt_daily
slave: 1
address: 94
data_type: int32
device_class: energy
scale: 10
input_type: input
state_class: total_increasing
unit_of_measurement: "Wh"
- name: leftower_daily
unique_id: wattrouter_leftower_daily
slave: 1
address: 96
data_type: int32
device_class: energy
scale: 10
input_type: input
state_class: total_increasing
unit_of_measurement: "Wh"
- name: production_daily
unique_id: wattrouter_production_daily
slave: 1
address: 98
data_type: int32
device_class: energy
scale: 10
input_type: input
state_class: total_increasing
unit_of_measurement: "Wh"
Integration for Wattrouter MX
Download the zip and extract it. Copy the folder hass-wattrouter-mx
to your custom_components
folder.