freakent / dbus-mqtt-devices

A driver for Victron VenusOS GX devices to support use of dbus-mqtt/flashmq-mqtt
MIT License
101 stars 22 forks source link

Setup module dependecies on every reboot from /data/rc.local #96

Closed freakent closed 4 months ago

freakent commented 4 months ago

Version

0.6.4 (current)

What version of VenusOS are you running on your GX device

3.21 (currect release)

Does this issue occur during installation or at runtime ?

Installation

Is there a Discussion thread for this issue? Please paste a link.

https://github.com/freakent/dbus-mqtt-devices/discussions/95

What is the issue you are actually experiencing?

After a venusOS upgrade the driver can fail with errors indicating missing pyyaml module. If the pyyaml module is missing then pip, python3-misc and pyyaml all need to be re-installed. This check can be automated at system boot up in /data/rc.local

If this is not installation related, what does the status payload look like that you are publishing to the driver to register your device?

No response

Relevant log output

No response

gharshaw commented 4 months ago

@freakent Are you aware of @kwindrem setuphelper? It's a package manager that reinstalls packages after Venus upgrades

freakent commented 4 months ago

(moving this to discussions) Yes I am aware. It's certainly on my radar but other priorities first.