-
Notifications
You must be signed in to change notification settings - Fork 77
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
wind-mppt-bornay: add to serial-starter #199
Comments
Hi Matthijs, we have develop the command line argument to accept a serial port and we remove the port scan.We ran the script to test the new code and works fine.Also the script stops if any error happend. We also check the d-bus paths as Jesus told us and also the script checks if the process is te correcto to starts de Dbus. We think that with this changes all is done by our side until now. Here you have the link: |
@jepefe pls review |
I deleted my previous comment because I changed my mind on how to do it. Here are some things I propose you change:
For deployment, I will then:
Then finally we just need to add it into the serial-starter loop. |
I see code that attempts to change the port permissions on Raspbian, when running non-root. The correct solution is to add the
I'm going to kill the |
@CarlosBornay I made a significant amount of changes. Please see the list here. Please test that it still works for you. On your development platform, which I deduce from the code is Raspbian, add the user to the dialout group, then log out and back in, and make sure it still works. That is a cleaner solution than calling sudo and chmod from inside the code. Also, on Raspbian, you should be able to install the required modules using Finally, I added recipes so this can be pulled into Venus. To add this into serial_starter, edit svc_bornay=dbus-bornay-windplus Then in
Test if that works to auto-detect it. |
Dear @izak, |
@izak pls add those changes you made (meta-victronenergy) to the todo list for inclusion in master. @CarlosBornay that will take care of the missing package for you. |
I just created a pull request so that this driver can live in your github account. Once merged, please tag the release ( |
seems this is done, https://github.com/CarlosBornay/Bornay-venus-driver/releases |
The driver code is now hosted here: https://github.com/victronenergy/dbus-bornay-windplus. The latest release, v1.5.4, is in Venus since v2.20~11. Next step is for Bornay to test if it now works properly with a Victron RS485 cable. And if it does we can add it to the serial-starter. |
Bornay was put in touch with Ivo to help them further as a "venus-consultant". Closing this. |
Basics:
Changes required before adding the script to the serial-starter:
The text was updated successfully, but these errors were encountered: