Hello everyone! and @timnis, I am facing a hard time bringing the epever sensors to Home Assistant.
Ebox-wifi-01 might be innocent as it works providing data locally to the phone app (when in AP mode) as it is supposed to be. So, there are no broken links between this lovely ebox-wifi-01 and the Epever UP5000 - HM8042(RTU)
When I place the Ebox-wifi-01 inside the network (STA mode), port 8088 is confirmed to open and I see ZERO significant errors on home assistant logs, this is the log level that I am using:
logger:
default: debug
When I search for errors I look for keywords like “modbus”, “connection”, “sol2” this is what I get:
Logger: homeassistant.components.modbus.validators
Source: components/modbus/validators.py:169
Integration: Modbus (documentation, issues)
First occurred: 4:09:22 PM (2 occurrences)
Last logged: 4:15:56 PM
Modbus Solar2EP timeout(10) is adjusted(4) due to scan_interval
and this:
Something is blocking Home Assistant from wrapping up the start up phase. We’re going to continue anyway.
Please report the following info at https://github.com/home-assistant/core/issues:
BIG LIST of everything including: sensor.modbus, sensor.broadlink… and 1000 things.
I have included the ESPHome addon, (honestly not sure if this helps )
Since I do not see connection issues I suspect the problem might be the sensor addresses code, so I made a few tests by replacing the addresses for the PV Voltage with the suggestions I found around but with no success, I wonder if I can really use HEX:
12544
13334
12288
13641
0x3549
This is what I have on my configuration.yaml, I am just following the recommendations from this community but still got a problem, please take a moment to suggest:
#EPEver eBox-Wifi-01 modbus
modbus:
# - type: tcp
- type: rtuovertcp
name: "Solar2EP"
host: 192.168.1.117
port: 8088
delay: 5
timeout: 10
close_comm_on_error: false
retry_on_empty: true
retries: 20
# Modbus sensors for EPever Charge Controller 2
sensors:
# - name: "Sol2 Battery Capacity"
# unit_of_measurement: "%"
# device_class: battery
# slave: 1
# address: 12570
# input_type: input
# scan_interval: 10
- name: "Sol2 Solar V"
unit_of_measurement: V
device_class: voltage
slave: 1
address: 12544 # original
# address: 13334 # tested
# address: 12288 # tested
# address: 13641 # tested
# address: 0x3549 # tested
input_type: input
scale: 0.01
precision: 2
scan_interval: 10
- name: "Sol2 Solar A"
unit_of_measurement: A
device_class: current
slave: 1
address: 12545
input_type: input
scale: 0.01
precision: 2
scan_interval: 10
# - name: "Sol2 Charging W"
# unit_of_measurement: W
# device_class: power
# slave: 1
# address: 12546
# input_type: input
# data_type: int32
# scale: 0.01
# count: 2
# precision: 2
# swap: word
# scan_interval: 10
# - name: "Sol2 Battery V"
# unit_of_measurement: V
# device_class: voltage
# slave: 1
# address: 13082
# input_type: input
# scale: 0.01
# precision: 2
# scan_interval: 10
- name: "Sol2 Load W"
unit_of_measurement: W
device_class: power
slave: 1
address: 12558 # low 12550 high 12551 #12558
input_type: input
scale: 0.01
precision: 2
scan_interval: 5
- name: "Sol2 Load A"
device_class: current
unit_of_measurement: A
slave: 1
address: 12549
input_type: input
scale: 0.001
precision: 2
scan_interval: 10
- name: "Sol2 Load V"
device_class: voltage
unit_of_measurement: V
slave: 1
address: 12548
input_type: input
scale: 0.01
precision: 2
scan_interval: 10
# - name: "Sol2 Battery Temp"
# unit_of_measurement: °C
# slave: 1
# address: 12560
# input_type: input
# scale: 0.01
# precision: 2
# scan_interval: 10
# - name: "Sol2 Controller Temp"
# unit_of_measurement: °C
# slave: 1
# address: 12561
# input_type: input
# scale: 0.01
# precision: 2
# scan_interval: 10
# - name: "Sol2 WH Today"
# device_class: energy
# unit_of_measurement: KWh
# slave: 1
# address: 13068
# input_type: input
# data_type: int32
# scale: 0.01
# precision: 2
# count: 2
# swap: word
# scan_interval: 10
# - name: "Sol2 WH Month"
# device_class: energy
# unit_of_measurement: KWh
# slave: 1
# address: 13070
# input_type: input
# data_type: int32
# scale: 0.01
# precision: 2
# count: 2
# swap: word
# scan_interval: 10
# - name: "Sol2 WH Year"
# device_class: energy
# unit_of_measurement: KWh
# slave: 1
# address: 13072
# input_type: input
# data_type: int32
# scale: 0.01
# precision: 2
# count: 2
# swap: word
# scan_interval: 10
# - name: "Sol2 WH Total"
# device_class: energy
# unit_of_measurement: KWh
# slave: 1
# address: 13074
# input_type: input
# data_type: int32
# scale: 0.01
# precision: 2
# count: 2
# swap: word
# scan_interval: 10
# binary_sensors:
# - name: "Sol2 load switch"
# slave: 1
# address: 2
# scan_interval: 10