Hello all:
I’ve been trying for a few days to figure out why the “On Time charge/discharge” parameters # 46 /53 for POW-SunSmart 10K or Time slot (segment) charging functions cannot be controlled through Home Assistant.
All other features shown below can be controlled, and respond with no issues via a switch: or a select: platform, except for both Time/segments charge and discharge change requests.
I keep getting the following log component each time I try to change the state from Home Assistant. I can always change the State on the inverter, and the changes update accordingly on Home Assistant but each time I try from the Home Assistant UI, I get the red error message with no change taking place:
I’ve tried to introduce some delay between readings and writings, according to similar issues listed online but not to avail. I’ve been looking all over for a solution, but no success. Any advice on where the error is.
Cheers,
HH.
I just added the integration and I’m trying to figure out how to interface it with the ESP 32 IP being used to communicate the inverter’s parameters over Wi-Fi to home assistant. Is there a way to connect wirelessly with the SP 32 being used?
Using ESPHome for your ESP32?
Do you have the web_server option in your yaml? Go to that address from the ‘visit’ option on your ESPHome screen and see what is being shown.
Post your yaml if you want suggestions.
I’ve been using the “Visit” option at ESPHome screen. The issue there I cannot stop the log from scrolling, but I can use Logs instead from ESPHome screen, where I can stop the log continuous update and I can scroll up and down. I got the the Modbus error function code: 0x6 exception: 11 as showing above on the log each time I try to enable or disable the “Segment Charge Enable”, first item listed under select: I also tried it using a switch option, with and without the use_write_multiple: as follow:
I I have been trying the protocol wizard integration you have suggested and I don’t have wired access to the inverter. Trying to figure out how to interface the wizard protocol with the ESP 32 IP being used to communicate the inverter’s parameters over Wi-Fi to home assistant. Is there a way to connect wirelessly with the SP 32 being used?
The MODBUS error is the controller is not responding. Go back and look at the documentation - are the values U_WORD valid? Are the addresses correct? Is the category correct?
I first doubted the addresses, but I verified that by changing their status on the inverter and subsequently their status will change on the ESPhome interface. I’m trying figuring out values U_WORD. It might be the issue for this register is boolean.
I didn’t get it, what are the three that should be the same?
I have tried to modify register E02C using both the switch option and the select option and I could not modify it through the ESPhome user interface. For some reason, the inverter is not accepting the request for this particular register. It’s no problem for the others register which are similar/boolean.
From the user manual (https://community.powmr.com/wp-content/uploads/2025/05/POW-SunSmart-10K-POW-SunSmart-10KP-User-Manual_Parallel-Version_V.1.7.0418.pdf) on page 36 I read (my emphasis in bold):
5.7 Time-slot Charging/Discharging Function
The POW-SunSmart series is equipped with a time-slot charging and discharging function, which
allows users to set different charging and discharging periods according to the local peak and
valley tariffs, so that the utility power and PV energy can be used rationally.
When mains electricity is expensive, the battery inverter is used to carry the load; when the mains
electricity is cheap, the mains electricity is used to carry the load and charge, which can help
customers to save electricity costs to the greatest extent.
The user can turn on/off the time-slot charging/discharging function in setup menu parameter 46
and 53. and set charging and discharging slot in parameter 40-45 and 47-52. You can set
corresponding periods based on the local time-of-use price. Below are examples for users to
understand the function"
These parameters seem to be documented on page 30 and 31.
I also see some more information in the following:
which tends to indicate there should be some more values that are missing with time slots, etc.
Is the correct date and time set in parameters 54 and 55?
I couldn’t reply earlier. I was prevented by the system since I’m new here. I have to wait several hours to be allowed in again.
It is a long story. I have had, for a couple of years, a much shorter yamel program for just reading registers of various currents, voltages, powers, and SOC. I recall that I extracted the register addresses from the iPower desktop .exe program that PowMr service has sent me in the past, when I first bought the inverter. The iPower app was associated with a SERNE similar inverter, but many of the addresses were the wrong ones for the inverter I have.
I didn’t know at that time that I could also write to these registers. After an exhaustive correspondence with PowMr/support, who advised me to get their Wi-Fi dongle for communication, but I wasn’t able to tie it to Home Assistant, and let go of it.
Lately, one of my New Year’s resolutions, due to the current/winter low solar energy supply, was to put together some automations triggered by solar conditions and the house energy demand to enable controlling the charging current and the timeslots for charging the batteries when the electric $rate is discounted.
I initially sought the new register addresses from a YouTube video made by the same company, “How to Integrate PowMr Inverter with Home Assistant 2,” with 2 yamel files included. Despite the claim that these files would work for the 10K inverter, many of the addresses were incorrect. I corresponded again with much frustration with the manufacturer, and finally, after at least 7 correspondences, I received on the 8th the same document (-.MODBUS.-V2.04.2.2.pdf), that you had pointed to.
I am at the point where the only options I cannot control are those two darn registers for turning on and off the timeslot charging and discharging.
I don’t care much about the discharging; I do not need it, but I’m after the remotely enabling and disabling, which would not work. I was trying for several days to figure this out online and by testing different programming options. I am more of a retired mechanical engineer in the thermal science side and not much in networking and computer programming stuff, but I’m trying.