question

shaneyake avatar image
shaneyake asked

Dbus Service Example

Hello,

Does anyone have a simple example or documentation on how to create your own Dbus service?
I would to get data from temperature data MQTT and push it to VRM.

@mvader (Victron Energy) Any official docs? Thanks

Thanks,

Shane

Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
Mike Dorsett avatar image
Mike Dorsett answered ·

for examples of the Dbus service, how to use it, see Louis Van der Walt's serial battery project.

com_victronenergy_battery_dbus spec.txt

is the only reference document that I've found. This one may be slightly out of date.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

dmq avatar image
dmq answered ·

Maybe this can help:

https://github.com/victronenergy/velib_python/blob/master/dbusdummyservice.py

https://github.com/trixing/venus.dbus-twc3

https://github.com/RalfZim/venus.dbus-fronius-smartmeter

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

shaneyake avatar image shaneyake commented ·

Thank you, This was perfect. dbusdummyservice.py was exactly what I was looking for.
I have my service running.

0 Likes 0 ·
shaneyake avatar image
shaneyake answered ·

This is a good guide
https://github.com/victronenergy/venus/wiki/howto-add-a-driver-to-Venus

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources