Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solax inverter status enhancement #596

Closed
1 task done
Reinhard-M opened this issue Jan 12, 2025 · 3 comments
Closed
1 task done

Solax inverter status enhancement #596

Reinhard-M opened this issue Jan 12, 2025 · 3 comments
Labels
type/feature A minor change

Comments

@Reinhard-M
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Status of the inverter is not shown, just "Status".

Expected behaviour

Support additional status values.

Possible Solutions

    this.statusGroups = {
        normal: {

// states: ["normal mode"],
states: ["2", "normal", "normalmode", "normal mode"],
color: "green",
message: Et("common.normal")
},
standby: {
// states: ["waiting", "checking", "idle mode", "standby"],
states: ["0", "waiting", "waitmode", "9", "idle", "idlemode", "idle mode", "10", "standby", "standbymode"],
color: "blue",
message: Et("common.standby")
},
selftest: {
// states: ["self test"],
states: ["8", "self testing", "selftest", "self test"],
color: "yellow",
message: Et("common.selftest")
},
offgrid: {
// states: ["off-grid waiting", "off-grid", "eps mode"],
states: ["6", "off-grid waiting", "epscheckmode", "7", "off-grid", "epsmode", "eps mode"],
color: "green",
message: Et("common.offgrid")
},
fault: {
// states: ["permanent fault mode", "fault"],
states: ["4", "permanent fault", "permanentfaultmode", "permanent fault mode", "3", "fault", "faultmode"],
color: "red",
message: Et("common.fault")
},
check: {
// states: ["checking", "update mode", "eps check mode"],
states: ["1", "checking", "checkmode", "5", "update", "updatemode", "update mode", "eps check mode"],
color: "orange",
message: Et("common.check")
}
},

Mode

lite

Context / Reason

I'm using the "SolaxModbusGateway" for my Solax inverter. Unfortunately the messages of this gateway are not covered by the actual sunsync card. I've adapted the respective js file and added the changes to "Possible Solutions". All of the new values are tested and are working well on my system.
Additional Information:
I've added the states from the original Solax and the SolaxModbusGateway documentation. The first 2 states parameter are always the original Solax parameter (e.g "2", "normal"), the third one (..., "normalmode", ...) comes from the SolaxModbusGateway documentation. Everything else is as it was. Except "checking". It was mentioned twice, once assigned to "standby" and once assigned to "check". For me I've removed it from "standby".

@Reinhard-M Reinhard-M added the type/feature A minor change label Jan 12, 2025
@Reinhard-M
Copy link
Author

@slipx06: Sorry, but you have forgotten to change the "normal state" line. Everything else is working as requested, thanks a lot.

@slipx06
Copy link
Owner

slipx06 commented Jan 13, 2025

I'll push a fix now

@Reinhard-M
Copy link
Author

Just checked with v6.4.3, working well, thanks for the very fast response :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature A minor change
Projects
None yet
Development

No branches or pull requests

2 participants