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

setup() resets the inverter to auto mode which may be undesirable #52

Open
rbrooklyn opened this issue Jan 11, 2023 · 0 comments
Open

Comments

@rbrooklyn
Copy link

Hi,

Firstly, LOVE this project! Had a blast figuring it out, doing the soldering and generally getting this thing to work.

I am noticing that the setup() function has the line:
sendPassiveCmd(SOFAR_SLAVE_ID, SOFAR_FN_AUTO, 0, "startup_auto");

Which will put the inverter into "auto" mode.

Why is this done? Odds are, the inverter would survive any power cut better than the microcontroller which is likely to be on mains electrics. Even if it was somehow also connected to the EPS, there is a delay of several seconds, causing it to be rebooted in any case. Whatever mode the inverter was in might be the desired mode. I don't think the software should force this setting if it can be avoided.

Maybe this is required so the microcontroller can be in sync with the inverter and it's somehow not possible to read the setting from the inverter from a cold boot. But if it could be read from the inverter and set internally instead of being set from the microcontroller on start-up, then I feel that would be more desirable.

Again, loving your work. Thank you for making this.

@rbrooklyn rbrooklyn changed the title setup resets the inverter to auto mode which may be undesirable setup() resets the inverter to auto mode which may be undesirable Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant