-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generator start/stop: add new condition: "Stop generator if tank level is below x%" #1420
Comments
In So as soon as the tank level condition evaluates to true, all other enabled conditions are overridden and the generator is stopped. When the tank evaluates to false again, the other conditions are not overridden anymore. This will start the generator again if another condition is still active and thus no longer overridden. @philipptrenz Must the manual start also be overridden by this condition? I.e., stop the generator automatically based on the tank level condition, even if it was manually started? GUI-v2 I also added a dropdown menu to select the tank sensor to use for this condition. Currently, this does not check the liquid type of the sensor, any liquid type is accepted. |
Hey @ReinvdZee, great work! The UI looks nice and not filtering for the liquid type is just fine, no need to overcomplicate it.
Personally, I would say it should also stop the generator during a manual run, as it's purpose is to prevent the generator to run dry. Now, after reading your description, I wonder if it is a bit ambiguous having a condition, that overrules all other conditions without any feedback to the user. Maybe we can add an option to raise a warning in case the condition is triggered? |
Agreed, then lets have this condition stop the generator in all cases.
I like that; I can add an option to trigger a warning when it happens. Or should we just always raise a warning? Typically, it won't happen that often that the generator is stopped due to this condition. |
@ReinvdZee Nice!
If it does not add too much complexity and work for you, I would provide the user with an option to disable the warning, being enabled by default. |
I added the setting And the warning: Any comments on the UI / text? |
I think we can omit the "by this condition" in the "Trigger warning..." text, should be clear in the context of this menu entry and might prevent space issues on smaller screens (in case this is not already the 5" version). Regarding reporting the tank level in the warning, I think it is not necessary. The warning should be indication enough to look it up manually. |
Add new condition to stop the generator when the tank level is below a certain value Overrides all conditions, periodic runs and manual start. victronenergy/venus#1420
@ReinvdZee I like the new "Stopped by tank level" state and the UI screenshots!
Yes, I also think that's fine. Of course, it would be nice if this behaviour is communicated to the user, so that the user can plan a certain reserve for the cool-down. But not strictly necessary in my opinion. To 1.: Yes, greying out the manual start button sounds good To 2. and 3.: I see the point, but disabling autostart automatically is not the nicest from a user experience perspective. It would need to be explained very well. I might have an idea to circumvent that a bit: How about defining a second threshold "Prevent start until tank level is above"? That would To 4.: Yes, I also think that's fine. |
I agree that's a nice solution for this. I've added the setting to the GUI: The generator will stop when the stop value is reached and can only start again is the level is above the "Prevent start until" value. This based on the non-persistent state "Stopped by tank level", so if the service is restarted while the generator is prevented from starts, it will be able to run again until the stop value is reached. |
@ReinvdZee Nice! Also disabling this condition is an option to circumvent the start prevention, right? |
@philipptrenz Yes indeed. If the value is higher than |
When the generator was stopped due to the tank level condition, prevent starting it until the tank level reaches the `/PreventStartValue`. This is to handle tank sensors with fluctuating values victronenergy/venus#1420
Add a new condition to generator start/stop to stop the generator if the tank level is below a certain percentage. The user should be able to select which tank sensor to be used for evaluating the condition. Some gensets have a tank sensor built-in which will show up as dedicated tank sensor on the UI. Other gensets don't have it but users may install one and hook it up to one of the GX's dedicated tank inputs.
The text was updated successfully, but these errors were encountered: