Releases: yesrod/hoplite
Releases · yesrod/hoplite
v1.3.2: ...And there's the other half
v1.3.1: Oh hey look I forgot half of the actual functionality again
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
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.
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
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
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
- Listener port and address can be specified with
- 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.
- Set the
- 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'...
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
New Features:
- Beginnings of Python 3 support.
Requires theNo longer true as of 2019python3
branch of my version ofhx711py
- 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
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 kgas_kg_net
: Raw weight in kg, compensated for empty keg weightas_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
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