github kizniche/Mycodo v8.16.0
8.16.0

one month ago

8.16.0 (2024.09.29)

This release updates several python packages that require Python >= 3.8. You can check your Python version prior to upgrading. If you do not have the required version, you should not upgrade, since this will likely break your system. To be able to use this and future Mycodo releases, ensure you are running an updated operating system that supports a modern Python version.

This release changes the Desktop grid width from 20 to 24, enabling the use of 3 column layouts that are evenly-spaced. You will need to resize/rearrange Dashboard Widgets after this update to correct for the new width. The update of Gridstack to 10.0.1 also now allows the ability to drag Desktop widgets on mobile devices. If you don't like this behavior, you should lock the desktop from the Dashboard Configuration menu to prevent widgets from being dragged/rearranged.

This release changes the install directory from ~/Mycodo to /opt/Mycodo. This necessitates deleting and regenerating the Python virtual environment. If you have any custom changes to the Mycodo venv, you will need to make those changes again after the upgrade. As a result of moving the install directory, following the upgrade, you will need to either run "sudo service mycodoflask restart" in a terminal or reboot your system for the web interface to become accessible again.

Bugfixes

  • Fix some Inputs potentially sending integers to influxdb when it should be float
  • Fix influxdb client install if server is already installed
  • Fix Select options of web UI not properly displaying the saved value
  • Fix note attachments not being copied during upgrade
  • Fix display of values <=0 in PID Widget (#1372)
  • Fix MCP23017 Pump Output KeyError
  • Fix displaying Tags on Highcharts Widget
  • Fix dependencies of Mijia LYWSD03MMC
  • Fix Restart Frontend returning an error
  • Fix PWM Outputs not recording values of 0 to database

Features

  • Add Action: Measurement (Single, Last, with Timestamp)
  • Add Input: DHT20
  • Add Input: MAX31855 CircuitPython
  • Add Output: GPIO On/Off using pinctrl (First Pi 5-compatible Output)
  • Add Output: PWM MQTT Publish
  • Add Output: GP8403 2-Channel DAC (0-10 VDC) (#1354)
  • Add Output: GP8XXX (8403) 2-Channel DAC (0-10 VDC) (#1354)
  • Add Output: XL9535 16-Channel On/Off IO-Expander
  • Add Widget: Measurement (2 Values)
  • Add ability to set custom layout.html
  • Add API Endpoint: /notes/create to create a Note (#1357)
  • Add ability to switch displaying hostname with custom text
  • Add Step Line Series Type to Graph (Synchronous) Widget
  • Add controller_restart as client endpoint
  • Add option for custom CSS
  • Add options for changing title and brand text
  • Add ability to edit Input and Input Measurement unique_id
  • Add "edge_input" Input option for use in Edge Trigger Functions
  • Add ability to use custom theme

Miscellaneous

  • Move install location from ~/Mycodo to /opt/Mycodo
  • Change Dashboard grid width from 20 to 24
  • Add endpoint option to RAM Input for when Mycodo is using a non-standard IP/port
  • Add self.control to the Python 3 Code Action
  • Run widget HTML regeneration in thread
  • Update InfluxDB 2.x to v2.7.8
  • Update adafruit-circuitpython-ads1x15 to 2.2.25
  • Update Gridstack to 10.0.1
  • Update alembic to 1.13.1
  • Update bcrypt to 1.4.2
  • Update distro to 1.9.0
  • Update email_validator to 2.0.0
  • Update filelock to 3.13.1
  • Update Flask to 3.0.0
  • Update Flask_Babel to 4.0.0
  • Update Flask_Compress to 1.14
  • Update Flask_Limiter to 3.5.0
  • Update Flask_Login to 0.6.3
  • Update Flask_RESTX to 1.3.0
  • Update Flask_SQLAlchemy to 3.1.1
  • Update Flask_WTF to 1.2.1
  • Update marshmallow_sqlalchemy to 0.30.0
  • Update pyro5 to 5.15
  • Update requests to 2.31.0
  • Update setuptools to 69.0.3
  • Update SQLAlchemy to 2.0.25
  • Update Werkzeug to 3.0.1
  • Update WTForms to 3.1.2

Don't miss a new Mycodo release

NewReleases is sending notifications on new releases.