Skip to content

PiFire v1.8.0 (2024-09)

Latest
Compare
Choose a tag to compare
@nebhead nebhead released this 13 Sep 18:43
· 15 commits to main since this release

Here are just some of the NEW features that were added in this update:

  • Changed the Configuration Wizard to improve platform selection. Now you can select your PCB Board type (or Custom) and configure the available settings. The wizard will automatically assign the right GPIO pins as configured for that particular version of the board. This also removes any extraneous configuration options.
  • Added transient probe configuration types so that probes can be marked as transient(not always available). This means that if probes/probe ports are not fixed (like in the case of the DS18B20 device), then the control script can return None type for the temperature. This allows the dashboard to do things like hide the card in the case where this probe isn't present.
  • Default Dashboard gets the ability to set maximum temperature to display for the primary probe and food probes. This can be configured via the gear icon settings.
  • Default and Basic dashboards will notify the user if connection to the server is lost (i.e. when the server is not responding to requests).
  • Added ST7789V (Newer V-variant of the display) display which is currently experimental because of the use of an experimental library. This will likely change in a future release if the V variant gets added to the original library.

Behind the scenes improvements including:

  • Moved all platform/board/system settings into 'platform' in the settings.json. This neatly group all of these settings in a single place so that they are not spread out across the settings configuration.
  • Combined the pifire.py and pifire_pwm.py modules into a raspberry_pi_all.py module, which supports both AC and DC Fan configurations with most flavors of the Raspberry Pi single board computer.
  • Created a board configuration utility that will make specific system configurations easier to perform on different single board computers. The installation, wizard and update utilities can use this tool to do board configuration as needed for enabling different features of the platform.
  • Refined the auto-tuning tool to use the last sampled resistance at a given reference temperature to use for calculations. This should help to improve the accuracy of the tuning data, especially with slower probes.
  • Changed the ETA function to use Linear Regression (SciKit) instead of the Interpolate module (SciPy). This will hopefully improve the reliability of the ETA function.
  • Added ProtoFlex module for testing new display output system. This will be used to test the new display system and allow for additional screen sizes to be added for existing displays like ILI9341, etc. Also refactored the FlexObject and BaseFlex system to be more modular and hopefully more performant. Updated the configuration wizard so that configuration of displays is easier. Other minor bug fixes.
  • Improved resilience of the control script, especially when loading probe devices. If a probe device fails to load, the probes that are associated with that device will be disabled.
  • Added a critical error flag to the control script. This will be used to detect when a critical error is encountered, which may prevent further control of the system (i.e. changing modes, etc.)

Here are some bug fixes in this update:

  • Fixed a bug where changing units from F to C would (during upgrade) would cause the control script to crash.
  • Fixed a bug where the hopper level was not correctly displayed on startup for the flex displays. Reduced the hopper level check to once every 60 seconds during a work cycle.
  • Fixed a bug on 240x320 and 64x128 displays where if pifire is not connected to the network, an IP QR Code will hang the display.

Full Changelog: v1.7.3...v1.8.0