Skip to content

v0.0.9

Compare
Choose a tag to compare
@ZodiusInfuser ZodiusInfuser released this 25 Nov 16:29
· 72 commits to main since this release

This alpha release aims to fix many of the issues experienced with v0.0.8 over the past months, particularly with the Enviro Weather board.

To do this we went back to v0.0.2, as this was reported to be more stable, slowly re-applied all the changes that brought it up to v0.0.8, then began addressing the myriad of issues reported.

One of the big causes of instability of past versions came from the introduction of battery monitoring. The pin to do this is shared with the Pico W's WiFi chip, and it seems there is no 100% safe way to read this without causing connection or other communication issues. Unfortunately the only way to get around this, for now, was to disable the battery monitoring on Enviro 😢

Use pimoroni-picow_enviro-v1.19.10-micropython-v0.0.9.uf2 to install this version. This will delete any readings stored on the board and your config.py so make backups first if you need to!

Please give this firmware a test if you can and report any issues that you find.

What's Changed

  • Major patch to fix a lot of the issues with Enviro by @ZodiusInfuser in #113. This includes:
    • ⚠️ Disabled battery monitoring ⚠️ . This fixed many issues, including #78
    • Added detection for woken by USB, and fixed detection of button and RTC alarm wake reasons #71
    • Added handling and logging of unknown exceptions that would cause boards to hang
    • Added more logging messages for various conditions, as well as option to change the amount of logging #68
    • Fixed upload files using Windows incompatible characters meaning they could not be downloaded off a board #103
    • Improved logic for when rate limited by Adafruit.io. Now the board will go to deep sleep for 1 minute, rather than wait for 30 seconds.
    • Fixed rain sensor triggers preventing the board from waking up again #70
    • Fixed rain sensor triggers not being handled when on USB power #96
    • Changed how rain is calculated. It is now the number of mm since the last reading, rather than an average over an hour #81
    • Added a rain_per_second reading that works out the average rainfall between the current and previous reading. This is done by storing a last_time.txt file.
    • Re-added Adafruit.io specific logging #94
    • Added new provisioning page for Enviro Grow, to let moisture targets and auto watering be set without needing to subsequently connect to Thonny #100
    • Renamed Grow moisture_targets from 1, 2, 3 to A, B, C to match board labelling.
    • Fixed Enviro Urban sound calculation #98
    • Renamed light output on Enviro Weather to luminance to match the rest of the boards
    • Re-added keepalive parameter to MQTT uploader #84
    • and other things I've probably forgotten about...
  • take average of 10 voltage readings to produce smoother output by @lowfatcode in #74
    • Currently disabled until a better battery reading solution can be found
  • add timestamp value to line protocol message by @lowfatcode in #75
  • correct particulate names by @helgibbons in #76
  • Fixes API usage and possible division by 0 for wind speed by @PascalKern in #108
  • Anemometer parameters by @ctrl-i in #85
  • Update micropython firmware to latest version 1.19.8 by @hannenijhuis in #106

New Contributors

Full Changelog: v0.0.8...v0.0.9