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

Force inverter switch on/off batteries #4

Open
sanitariu opened this issue May 5, 2022 · 3 comments
Open

Force inverter switch on/off batteries #4

sanitariu opened this issue May 5, 2022 · 3 comments

Comments

@sanitariu
Copy link

Hello,
Your project is very good. Working as expected. Do you know an easy way to add a command we can send to the inverter
so it switches from batteries to AC main and then the opposite.
Lets say I am watching: Battery Voltage 27.03 V. When i see for example voltage 26.0V i want to force the inverter to switch to AC mains. Then later when i see Battery Voltage 27V i want to force the inverter to switch to batteries again.
Yes i know this can be done from victron panel but i would like this done from linux. I have Lifepo4 batteries which i monitor from other linux scripts. Victron charger is off.

Regards,
Todor

@sanitariu
Copy link
Author

This is the output from monitor


Inverter mode Bypass
Mains Voltage 235.21 V
AC output Voltage 235.21 V
Battery Voltage 18.93 V
Discharge current 0.0 A
DC Power draw 0.0 W
AC Power draw 444.5469 VA

Actually I need only to set Inverter mode. (Bypass and Inverter).
Do you have any idea how this can be achieved ?

@sanitariu
Copy link
Author

I see that there is already a function set_state but i do not know how to use it.
Seems like if i can set_state 8 will solve what i want.
Please, guide me how to do it ?

@sanitariu
Copy link
Author

sanitariu commented Nov 29, 2022

I have tried many things but seems like set_state does not work. I hope writer will look at this some day and fix it. I can supply remote testing with Victron 1200 model. Just contact me.

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