New installation - pv_power value unknown #726
-
Hi, I had a KT7 + EC4300-H4 installed yesterday, with master v1.34, manager v1.28, slave v1.01, running the forked version of this integration. There are two arrays, one connected to MPPT2, and the other connected to MPPT3. I connected it up via a waveshare RS485 to POE Eth(B) adaptor. Interestingly the connector was a 16 pin thing like the H1, pinouts appeared to be the same, and it appears to be working (feedback on the wiring instructions might be to unhook the CT clamp from the line at the start, taking a photo first to ensure that it is reattached in the correct orientation and to the correct tail - reason being that it started buzzing as soon as the connector was detached). So now I'm trying to get the software side of things running. I'm very much a newbie so I'm sure I've made plenty of dumb mistakes. Currently predbat is unhappy with the sensor.pv_power value, which is unknown. However, the pv2_power, pv3_power, and also sensor.solar_energy_total, do all have data ... ? (presumably pv_power is just the sum of pv1_power, pv2_power, pv3_power and pv4_power)?
sensor.connection_status = connected pv4 all zero Many of the sensors are picking up data as expected. sensor.pv_power = unknown as already mentioned `Device info KH7 - AUX Automations No automations have been added using this device yet. You can add one by clicking the + button above. Scenes Scripts Controls Sensors Logbook So I'm not really sure how to proceed. To start with, was ocl80's forked v1.13.0-beta (which has the register changes and the HA 2025.1 fixes) the correct one to install for a KH on 1.34? Reference is #678 (comment) -Cheers --- Edit: Just tried ocl80's v1.13.0-beta2 which was published last night, but that one doesn't seem to read the KH registers. Reverted to v1.13.0-beta and it can read the registers fine with that version. Connection Status changed to Error reading registers. Type: RegisterType.HOLDING; start: 36001; count: 3; slave: 247 from tcp://192.168.68.200:502: Exception Response(131, 3, IllegalAddress) --- Edit 2: Swapping to the new beta2, and then back to the original beta, seems to have got pv_power etc working. Perhaps initialisation or something was the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
yes as you say pv-power is an internally maintained sums - They do require some time to collect but i’ve seen them hang a few times on recent installs and I suspect you may have ‘fixed’ this with the several restart of HA as it would have forced state changes through them. I’m not sure on the latest beta version status, the original fork was done as the KH register mapping changed and it needed someone with a KH system to modify and test - i’ll leave @ocl80 to comment on that. |
Beta Was this translation helpful? Give feedback.
-
I had understood that the key firmware element regarding the address locations is the "Manager" firmware, and with your Manager firmware at 1.28 @WyndStryke you might be able to run the "normal" version of the integration here (i.e. not the one I forked). I think that the reason that you found it worked with my v1.13.0-beta, but not v1.13.0-beta2 is that in v1.13.0-beta (same as in my fork of v1.12.2) I hadn't changed any of the PV register addresses. For my system it worked OK on Manager 1.35 without changing these because I have only 2 strings, and these seem to be "backwards compatible": queries to both the "old" and "new" address structures work for PV1 and PV2 (but I did have to change various other register addresses, notably grid_ct, rpower and loadpower to make it work with my KH). But this seems not to be the case with PV3 and PV4, so in v1.13.0-beta2, I moved all PV1-PV4 measures to use the "new" addresses. If (my guess) your KH with Manager 1.28 is using the "old" ones, that's why v1.13.0-beta2 didn't work for you... have you tried the regular v1.13.0? My forked v1.13.0-beta2 seems to be working OK on my KH8 with 2 strings on Manager 1.35, Master 1.39, Slave 1.01. |
Beta Was this translation helpful? Give feedback.
-
Just as an aside for anyone feeding sensor.pv_power into predbat. Predbat uses watts for this, and converts internally since sensor.pv_power is in kW. But it displays as zero in the charts & on the config page. It's just a display issue since it is displaying the pre-conversion value, behind the scenes it is working fine. If you want to see it on the chart, either modify the chart to multiply by 1000 if the sensor units is kW, or use a template sensor to multiply it earlier. |
Beta Was this translation helpful? Give feedback.
-
Suddenly everything stopped working, so just in case, I checked the firmware versions, and I now have:
I got the error:
So I'm going to swap to @ocl80's beta2 fork. Don't know why my firmware changed, guess the update was pushed out by Fox since this is a new installation. --- Edit: Yeah seems to be fixed with beta2, had to delete / reinstall the integration, for some reason the inverter rebooted when I tried to reinstall it initially? Perhaps coincidence? --- Edit2: Looks like the inverter reboot was as a result of battery firmware being updated, so unrelated to the RS485 adaptor talking to it. 60KM432xxxxxxx | ECS4300 | 1.14 |
Beta Was this translation helpful? Give feedback.
-
@WyndStryke Fox did a never-before-seen push of firmware updates across the whole fleet of inverters. I might be to blame for this because I reported that I noticed the time was going out of sync and I suspect they're done a force update for everyone to try and resolve this. |
Beta Was this translation helpful? Give feedback.
yes as you say pv-power is an internally maintained sums - They do require some time to collect but i’ve seen them hang a few times on recent installs and I suspect you may have ‘fixed’ this with the several restart of HA as it would have forced state changes through them.
I’m not sure on the latest beta version status, the original fork was done as the KH register mapping changed and it needed someone with a KH system to modify and test - i’ll leave @ocl80 to comment on that.