Skip to content
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

Scale configuration continued further... Support for second HX711 #421

Merged

Commits on Jan 26, 2024

  1. Added calibrationValue and knownWeight to be able to calibrate scale

    Added Option for tare and calibration through mqtt and display
    
    removed empty line
    
    added toggles for tare and calibration to web frontend
    
    Added Toggles for tare and Calibration to Web:
    Prepared data for KnownWeight and calibrationValue to be added
    
    Made scaleCalibration and scaleKnownWeight editable in Web
    
    Moved Scale Settings to own card
    
    reverted local changes in platform.ini and pinmapping to standard
    
    fixed merge conflicts and corrected naming of variables
    
    fixed bug when brewtime switches to 0 when brewing for weight
    maunsen authored and FabianSperrle committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    930183a View commit details
    Browse the repository at this point in the history
  2. Send current weight to MQTT

    Remove extra comma
    
    Improve calbration progress messges
    
    Don't tare the scale while the calibration load is very likely still on it
    
    Add tare and calibrate buttons to MQTT
    
    Fix wrong section IDs in web page
    
    Only include scale handlers in webserver if scale is enabled
    
    Remove scale related code from time-based brewing mode
    
    Exclude scale related code when scale is not enabled in userconfig
    
    Minor formatting fixes
    einarhauks authored and FabianSperrle committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    082488d View commit details
    Browse the repository at this point in the history
  3. Add support for second HX711

    e8d7458
    author Fabian Sperrle <[email protected]> 1702580259 +0100
    committer Fabian Sperrle <[email protected]> 1705696789 +0100
    
    Start configuration for second HX711
    
    WIP: start cleanup
    
    Fix startup of second HX711
    
    Brew by weight should not stop when time is reached
    
    Bugfix: Set correct calibration weights for scale 2 and clean up output
    
    Enable HX711 library feature for more consistent readings on ESP32
    
    tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable
    Starting point for further reading: olkal/HX711_ADC#35
    
    Fix compile error for single HX711
    
    Fix debug message: calibration instead of tare
    
    Config override causes issues with pin numbers for some reason? disable for now
    
    re-introduce constant for timeout and tare to avoid duplication
    
    If we show decimal seconds we can also show decimal grams
    
    Remove superfluous space
    
    Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
    FabianSperrle committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    abb8e30 View commit details
    Browse the repository at this point in the history
  4. Cleanup & Code Style fixes

    Bugfix: Actually toggle calibration on button click
    FabianSperrle committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    db5cfd2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ecb36cb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    16c601f View commit details
    Browse the repository at this point in the history