victronenergy / venus

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

generator: rename /AutoStart path #1267

Closed philipptrenz closed 1 month ago

philipptrenz commented 4 months ago

Rename com.victronenergy.genset and com.victronenergy.dcgenset path /AutoStart to /RemoteStartModeEnabled and also change wording in gui's. The reason is to have less ambiguity compared to our own autostart/stop feature.

Here are the new definitions:

Todo list / status:

@martinbosma asked for syncing this with https://github.com/victronenergy/venus-private/issues/316

philipptrenz commented 4 months ago

@jepefe: Does the dbus_generator "Autostart mode not enabled" alert, see below screenshot, watch for the remote generator or the service to be set to "Auto start/stop"?

Ie this feature:

image

ReinvdZee commented 4 months ago

So we don't forget; we should update these as well:

https://github.com/victronenergy/venus/wiki/dbus#generator-data https://www.victronenergy.com/live/ccgx:fischer_panda#troubleshooting

mpvader commented 4 months ago

good one. I've added it to the tracker in the google sheet

mpvader commented 4 months ago

@jepefe: Does the dbus_generator "Autostart mode not enabled" alert, see below screenshot, watch for the remote generator or the service to be set to "Auto start/stop"?

the answer to that is no. I'll make a new issue now to get that added: https://github.com/victronenergy/venus/issues/1274

ReinvdZee commented 4 months ago

@philipptrenz, @mpvader,

The genset controller menu has the setting "Mode" (qml), which can currently be set to "on", "off" or "Auto start/stop":

image

We're not sure if the "Auto start/stop" option of the "mode" menu should be renamed as well.

When set to "Auto start/stop", control is handed over to the generator start/stop by:

  1. com.victronenergy.generator.startstop1/ManualStart = 0 --> Manually turning off the generator relay first and
  2. com.victronenergy.generator.startstop1/AutoStartEnabled = 1 --> Enabling generator auto start/stop

So the genset will be controller by the auto start/stop feature of dbus_generator.

I suppose this is the "Auto start/stop" feature @philipptrenz was talking about here:

"Auto Start/Stop" → our own start/stop software feature

If so, then this Mode item does not need renaming.

philipptrenz commented 4 months ago

@ReinvdZee Yes, the above is our own "Auto Start/Stop" feature, so please keep the gui string as is.

ReinvdZee commented 4 months ago

Thanks @philipptrenz for your answer. We will leave that gui string as is.

ReinvdZee commented 4 months ago

Because there was quite some confusion about the generator start stop feature, we described the implementation of the auto start/stop feature in a document.

In addition to renaming the /AutoStart path, there are two other changes:

See also discussion on slack.

ReinvdZee commented 1 month ago

Merged per Venus OS 3.50~1. Tested and verified. Closing.