nathanmarlor / foxess_modbus

FoxESS inverter integration. Connect directly to your FoxESS inverter (no cloud!) for real-time status and control.
MIT License
115 stars 18 forks source link

Unknown model connecting to H3 #197

Closed canton7 closed 1 year ago

canton7 commented 1 year ago

Thank you for the first beta integration, when adding it to HA i'm receiving the following Info:

image

H3 Inverter - USR-610

_Originally posted by @benbeton in https://github.com/nathanmarlor/foxess_modbus/issues/167#issuecomment-1523852010_

canton7 commented 1 year ago

@benbeton can you look in your log (Settings - System - Logs) for warning messages from foxess_modbus? There should be one saying what model the inverter reported itself as.

benbeton commented 1 year ago

Log:

image
canton7 commented 1 year ago

Oh the bugger, it's started it with a space. Right, I'll try and get a fix in later tonight

canton7 commented 1 year ago

Thanks!

canton7 commented 1 year ago

Actually, I assume that's a space. Can you just use modpoll to read holding register 30000 for me? (with -t 4)

benbeton commented 1 year ago

is the something wrong with my cmd?

image
canton7 commented 1 year ago

I think you're reading too many registers (and some of the later ones are invalid) -- just -c 5 or so.

canton7 commented 1 year ago

Try v1.4.1b4. Please re-open with the new log message if it still doesn't work!

benbeton commented 1 year ago

that did the trick, works fine: I can see all the values incoming

image

thank you, that's great!

canton7 commented 1 year ago

Awesome, thanks for confirming! Let me know if any of the values don't look quite right