-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Driver not work #864
Comments
But at least we can see it in the logs... Please install the latest |
Oh, I apologize, I overlooked this.. I installed the latest nightly dev, and now the log looks like this:
|
Did you reboot after install, right? Seems that dbus-fast is still missing. Try to install it manually and see if it throws an error. export SKIP_CYTHON=false
pip3 install dbus-fast |
Yeah, rebooted after every install and uninstall previously. root@einstein:~# export SKIP_CYTHON=false
root@einstein:~# pip3 install dbus-fast
Requirement already satisfied: dbus-fast in /usr/lib/python3.8/site-packages (2.14.0) And still same errors on log. |
export SKIP_CYTHON=false
pip3 install dbus-fast==1.91.3 |
Perfect! Now it works! Thank you very much! |
This is very strange. Sometimes it works, sometimes it does not work with the current dbus-fast version... |
Let me get back to the topic; I had to reinstall the new DBUS 2.14.0 because I found that ESS stopped functioning, not responding to commands like 'keep the battery charged' Hopefully, the RS485 - USB converters will arrive tomorrow, so I'll try connecting via cable to the new DBUS. There was also an issue where one of the two BMS froze and stopped updating via bluetooth; Cerbo restarted twice overnight, I'm not sure why. Since I paused the driver, everything has been fine. |
The cerbo most likely restarts because of overload, then the watchdog triggers a reboot. |
Yes, I think so too because during Bluetooth communication between two BMSs, even the remote console was quite sluggish. Once the converters arrive, I'll try to set it up again, hoping it'll work better than the Bluetooth connection. I'll be connecting a total of 4 BMS. |
So the converters arrived, I have it set up now in the classic way: BMS -> JK 485 adapter -> 485 to USB converter into the USB hub. After connecting and reinstalling the drivers on dbus-fast 2.14.0, nothing happened. I installed dbus-fast 1.91.3, reinstalled the driver again, and the BMS systems logged in. Then I installed dbus-fast 2.14.0, and the BMS systems are still connected. It looks like it's working. Rebooted after every install. |
dbus-fast is not needed for the serial connection. |
So I'm not sure why the BMS systems didn't log in right after installation and restart, but only after reinstalling to dbus-fast 1.91.3, but I don't have to worry about that now. The main thing is that it's working now. The rest of the cells should arrive within a month, so then I'll set up the driver to aggregate the batteries into one. Thanks for the support! |
You're welcome. |
Describe the problem
During the initial installation on the beta version of Venus OS 3.20 ~ 16, everything went fine, except that the BMSs kept connecting and disconnecting via Bluetooth, so I uninstalled the installation according to the instructions. Now, I wanted to reinstall the driver again, and since then, it hasn't been working. During the installation, it reports an error with a non-existent folder /service/gui/, and in the BT log, it throws 'ERROR:SerialBattery:Unexpected err=ModuleNotFoundError("No module named 'dbus_fast._private.constants'"), type(err)=<class 'ModuleNotFoundError'>.
Driver version
latest
Venus OS device type
Cerbo GX
Venus OS version
3.20 ~ 26
BMS type
JKBMS / Heltec BMS
Cell count
15
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: