victronenergy / venus

Victron Energy Unix/Linux OS
https://github.com/victronenergy/venus/wiki
545 stars 70 forks source link

Add dbus path to venus-platform for switching between percentages and units on the circular gauges #1216

Closed ReinvdZee closed 4 months ago

ReinvdZee commented 5 months ago

See victronenergy/gui-v2#551.

Some dbus setting needs to be exposed by venus-platform for gui-v2 to use.

mpvader commented 4 months ago

Hey @ReinvdZee to make this 100% clear: venus-platform doesn't need to expose this path, it just needs to make sure its created as a setting. or not?

ReinvdZee commented 4 months ago

@mpvader,

venus-platform will create a setting if it does not exist and assign it a default value. The gui can then use it as desired.

Also see my comment on https://github.com/victronenergy/gui-v2/issues/551.

mpvader commented 4 months ago

After discussing, this is already done, see here:

https://github.com/victronenergy/meta-victronenergy-private/blob/master/recipes-ve/gui-v2-webassembly/localsettings