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 ·
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.

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 ·
2 |3000

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