- Update project to remove setup.cfg and rely on more complete pyproject.toml for build configuration.
- Only report active relays (assume non-reported relays as inactive)
- Add additional data reporting for the OpenSensor.io API monitoring users, to show liquid level and external relay board states.
- Fix addressing behavior of 4 relay board to match 8-bit addressing expectations.
- Immediate bugfix release for v1.2.2. There was a variable name collision in the recent refactoring.
- Added support for 4 and 8 channel relay boards. See new config values for usage.
- Added auto-refill water reservoir functionality; requires external relay board and ball valve or solenoid.
- Added safety checks around accessing newly added config values.
- Beta functionality to issue watering commands from the OpenSensor.io API.
- Fix memory fragmentation issue impacting the display drivers by updating the
Moisture
class to not store long history of readings.
- Fix edge case of new configurable motion sensor that caused it to get stuck on after a period of time.
- Add configurable motion sensor class and allow its use to drive the display on/off. See new config values for usage.
- Realization that
ujson
was negatively impacting memory usage when API integration enabled. Resolved by using builtinjson
.
- Increase the I2C frequency of the scd4x sensors so when paired with a display the render time remains quick.
- Release alpha support for OpenSensor.io API data reporting.
- Refactor and fix a few bugs related to BPI ESP32S3; don't double read the scd4x sensor.
- Add pH sensor reporting for users of Open Sensor API data collection.
- Display logic for scd-4x sensors.
- Add moisture sensor reporting for users of Open Sensor API data collection.
- Fix bug with the new pH meter code to work with esp32s3 MCU.
- Add initial support for Atlas Scientific digital pH meters. Plus some general refactoring.
- Add optional support for alternative MCU ESP32S3_BPI https://wiki.banana-pi.org/BPI-PicoW-S3 with config option
GROWMAX_MCU
.
- Move networking logic into
utils.wifi
and made theroutine.main
more safe for devices without networking support.
- Add support for sh1107 I2C displays -- set the config
DISPLAY = "SH1107_I2C"
to use this kind of display.
- Reduce usage of f-strings to improve memory usage.
- Add 5 second sleep in
main
routine to provide enough time to get accurate moisture readings during fast loop cycles.
- Add try/except handling around new display logic, along with additional garbage collection.
- Support for I2C displays and supporting switches to enable/disable the display.
- Initial supported display: ssd1327 (Ex: Adafruit 4741)
- Renamed
main.py
toroutine.py
to avoid issues with having two files opened namedmain.py
in Thonny IDE. - Swap default values for
WATER_SENSOR_HIGH
andWATER_SENSOR_LOW
to better match physical orientation of the board.
- Improve measuring accuracy of the Grow moisture sensor ports by increasing the cycle measurement time.
- No significant changes (testing pypi publish hook).
- Corrected import of
ujson
-- required to be installed from pypi, when using opensensor API data reporting.
- Safety enhancements and trying to resolve issue with adafruit SCD-4x sensor and long I2C cable on wall power.
- Adjusted opensensor.io API for CO2 parameter
- Initial support for adafruit SCD-4x sensors.
- Add support for data reporting on adafruit scd4x.
- Allows configuring a list of moisture sensor values as an array (different pump thresholds per sensor).
- Importing from
growmax.main
no longer invokes the main routine as a side effect. - Adding initial README.
- Corrected imports
- Initial Release