Open Rubens974 opened 2 months ago
Downgrading to python 3.11 solves my problem.
I think this depends on a new version of Venus to support 3.12.
In fact I think python3.12 is a bit faster and sometimes the command
"dbus -y com.victronenergy.system /Dc/Battery/Soc GetValue
doesn't do anything.
This can be solved by adding a 0.5s pause.
Hi there When I use Python3.12 this is what happen:
_# python3.12 /data/BatteryAggregator/battery_service.py Traceback (most recent call last): File "/data/BatteryAggregator/battery_service.py", line 8, in
import dbus
File "/usr/local/lib/python3.12/site-packages/dbus/init.py", line 73, in
import dbus.types as types
File "/usr/local/lib/python3.12/site-packages/dbus/types.py", line 8, in
from _dbus_bindings import (
ModuleNotFoundError: No module named '_dbus_bindings'
Regards