xdrv_92_vid6608: Advanced zero routine for analog gauges, library update#24218
Merged
arendst merged 2 commits intoarendst:developmentfrom Dec 13, 2025
Merged
xdrv_92_vid6608: Advanced zero routine for analog gauges, library update#24218arendst merged 2 commits intoarendst:developmentfrom
arendst merged 2 commits intoarendst:developmentfrom
Conversation
echo-bravo-yahoo
pushed a commit
to echo-bravo-yahoo/Tasmota
that referenced
this pull request
Jan 9, 2026
…ate (arendst#24218) * VID6608: Add option to skip auto-zero rouitine * VID6608: Update library to version 1.0.3, add Zero control for Gauge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR now allow to optionally skip default homing operation for Analog gauge driver. Can be used, is user wants to keep track of moving gauge and save last executed position, then call homing operation from saved position. This will avoid any send-stop bouncing and significantly increase lifetime of stepper drive.
To skip default Zero the new define
VID6608_RESET_ON_INITshoud be defined asfalse. Default value istrue.If gauge was moved or drifted from real position, the zero routine will perform correct homing. In case of incorrect position only few bouncing is expected, homing operation will be performed in any case.
This PR adds options:
VID6608_RESET_ON_INIT: allows to optionally enable / disable default drives zero on startupGaugeZerofunction now gets argument: what position is assume as base while performing gauge homingFixes:
Example of Berry Script with store position in I2C FRAM chip and restore on startup. Tested with MB85RC04V chip:
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass