Skip to content

Releases: yesrod/hoplite

v1.3.2: ...And there's the other half

30 Dec 20:34
Compare
Choose a tag to compare

Bug fixes:

  • Fix debug messages in REST API to actually work
  • Fix crash in config init on startup (did I even test this thing?)
  • Add missing data in root-level API request (apparently not...)

v1.3.1: Oh hey look I forgot half of the actual functionality again

25 Oct 19:43
Compare
Choose a tag to compare

Bug fixes:

  • Added missing endpoint for display config in REST API
  • Handled missing mandatory config entries in Config() by setting any missing keys to sane default values on startup

v1.3.0: Someone said I was classless, so I added more classes

25 Oct 19:26
Compare
Choose a tag to compare

Changes:

  • Split display-related code into its own class
    • Modified the display bits to add support for every display that luma.lcd currently supports
    • Should also support emulated displays from luma.emulator
    • A new config option was added to specify what display type you have.
      • I just realized I forgot to add that option to the API... expect v1.3.1 soon
  • Split config-related code into its own class
    • This should make things like tare, config, etc. easier to handle since I don't have to load all of Hoplite

Bug fixes:

  • Update the web GUI to handle newer versions of Remi
    • Hoplite now requires remi>=2019.11

v1.2.0: I am altering the runtime. Pray I don't alter it any further.

18 Oct 21:10
Compare
Choose a tag to compare

Changes:

  • Python 3 is now required.
    • Minimum version is 3.5 to handle Raspbian Stretch installations, but you should upgrade to Buster ASAP as Python 3.5 is EOL.
  • Cleaned up the logic for tare and calibration of weight platforms
  • Added a whole bunch more debug statements

Bug fixes:

  • Add missing dependency on Flask in setup.py
  • Rework backlight stuff for LCD display to handle changes in luma.lcd 2.0.0+
    • Also require luma.lcd>=2.0.0 in setup.py

v1.1.1: Artisanal, organic, free range bugs

24 Jul 14:40
Compare
Choose a tag to compare

Bug fixes:

  • Worked around a race condition causing settings to revert whenever applied via the web interface (#5).
    • This is an inherent issue with the shmem mess and will only be completely fixed when everything moves to using the API and the shmem mess is gone.
  • Fixed an issue where weight data structures were duplicated every time configuration was saved via API or web interface (#6).

v1.1.0: It's been almost 2 years and I still have no idea what I'm doing

13 May 20:18
Compare
Choose a tag to compare

Features:

  • REST API! Can (and should) be used for configuration, as well as scraping data.
    • Listener port and address can be specified with --api parameter
    • Documentation available on the wiki
  • CO2 data now just another channel
    • Set the co2 boolean on a channel to mark it as such.
    • Right now the LCD and web interface only display the first CO2 sensor they find.
  • The data update function is now in its own thread to make shutdown a little cleaner.
  • Internal rework of configuration to make the API a little easier.
  • Many many many more debug messages to make finding issues a little easier.

Bug fixes:

  • Yeah, probably.

v1.0.7: You keep using that word 'global'...

15 Aug 17:54
Compare
Choose a tag to compare

Bugfixes:

  • Remove a bunch of global variable declarations in the main class definition that were pointless at best (I don't know how to Python)
  • Fix issue where keg remaining volume mode would randomly switch to as_pct
  • Change web interface page <title>

v1.0.6: Wow this runs a lot slower in Python 3

01 Jun 20:42
f306f62
Compare
Choose a tag to compare

New Features:

  • Beginnings of Python 3 support. Requires the python3 branch of my version of hx711py No longer true as of 2019
  • Added as_pct weight display option that displays remaining keg percentage

Bugfixes:

  • More code deduplification
  • Add missing remi requirement to setup.py
  • Take 5 samples instead of 3 when reading HX711 data
  • Move data read and update operations into separate function
  • Decrease loop timer from 3.0 to 0.1 seconds, weirdly this helped with CPU usage and stability
  • Formatting cleanups

v1.0.5: TIL using functions decreases code duplication

30 May 19:38
Compare
Choose a tag to compare

New Features:

  • There is now an option to change the format of the weight information on the LCD and the web interface. Valid options are:
    • as_kg_gross: Raw weight in kg
    • as_kg_net: Raw weight in kg, compensated for empty keg weight
    • as_pint: Rough estimate of remaining pints

Bugfixes:

  • Fixed bug in web that accidentally defaulted temperature as a string instead of an int, and prevented this scenario from breaking things if it happens again
  • Cleaned up formatting for keg entries in web config, and added a label for each keg
  • Drastically reduced duplicate code in web.py by actually using functions

v1.0.4: Bug-free means all the bugs are free of charge

05 May 00:56
Compare
Choose a tag to compare

Bugfixes:

  • Fix a stupid copypasta bug making the B channel bar the wrong color
  • Fix custom settings not applying because I don't know how to use Remi
  • Increase numbers of samples for tare to 7, to hopefully make it a little more accurate and resistant to spikes
  • Fix issue where LCD fill bars could into space due to lack of upper bounds checking