-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to ignore particular services
Add option to ignore services when they start with some string. Useful when "com.victronenergy.product" is monitored but "com.victronenergy.product.someinstance" must be ignored
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
838c12a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, i'm scratching my head at the moment.
I used this ignoreServices until this noon on my cerbo. Now it starts to report "unknown parameter".
and yes, the file under
/opt/victronenergy/dbus-systemcalc-py/ext/velib_python
I used suddenly misses this.has this been removed again?
Edit:
Apparently 4 days ago, but had to clean pycache today :(
838c12a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @realdognose,
This has not been removed from
velib_python
. However,dbus-systemcalc-py
checks out an older version ofvelib_python
so its not included in/opt/victronenergy/dbus-systemcalc-py/ext/velib_python
.You can update the submodule within
dbus-systemcalc-py
. Another option is to usevelib_python
from another service, likedbus-parallel-bms
(note, only on Venus OS beta) which checks out the most recent version ofvelib_python
, i.e./opt/victronenergy/dbus-parallel-bms/ext/velib_python
.838c12a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ReinvdZee
Thanks for your reply. Will see if there is a more recent version somewhere on my system. Pretty strange thing is, that the exact file under
/opt/victronenergy/dbus-systemcalc-py/ext/velib_python
apparently had it earlier - I used that include since 6 weeks, with theignoreServices
-Option present...I manually included the most recent build for 1 day, until I noted it ships with the system. Then I removed it from my project. Hard to imagine that py-cache somehow kept the old reference to the no longer existing file around for several weeks? But most likely the only explanation, if
/opt/victronenergy/dbus-systemcalc-py
never used a more recent version.