victronenergy / venus

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

Add network control to Venus-platform #1215

Open ReinvdZee opened 5 months ago

ReinvdZee commented 5 months ago

Initial description

Gui-v2 requires the network settings to be exposed to dbus. see victronenergy/gui-v2#618.

Gui-v1 interacts with connman directly, gui-v2 will not, so the settings need to be exposed to dbus. Venus-platform will take care of this.

ReinvdZee commented 3 months ago

Network control was added to venus-platform and gui, see https://github.com/victronenergy/gui-v2/issues/618.

jhofstee commented 1 month ago

gui-v1 changes:

venus-platform:

dbus-tool

I will include the venus-platform v1.40, so at least gui-v2 can start using it and the we can check if mentioned is can be reproduced there as well or not.

I pushed my gui-v1 branch here https://github.com/victronenergy/gui/commits/jeroen/network_control/. It now serializes the json code before sending. The bluetooth availability is now reported by venus-platform.

mpvader commented 3 weeks ago

@jhofstee am I correct in seeing that:

  1. all changes are included venus-platform
  2. for gui-v1 we didn't include the changes for this
  3. so far all works well, so can be released as is in v3.40 ?
jhofstee commented 2 weeks ago

yes, there is room for improvement, like sorting the networks etc. But that is better then not being able to configure the network at all ;)