github kizniche/Mycodo v8.17.0
8.17.0

3 hours ago

8.17.0 (2026.08.02)

This release has several updates that allow Mycodo to be installed and run on Debian Trixie (13) and Raspberry Pi OS Trixie (13). These operating system versions use Python 3.11 by default. If you are using an older operating system, you may not be able to upgrade to this version if you don't have at least Python 3.11, or some Python packages may not be able to upgrade properly. If you are using an older operating system and older Python version, it is recommended to stay on your current version of Mycodo that is compatible with your OS.

If you are running Debian 12 or similar version operating system, you will need to install Python 3.11, regenerate your virtualenv, then install dependencies, before upgrading to this version.

See https://askubuntu.com/a/1438713 for instructions for installing Python 3.11 on version <= 12 Debian-based operating systems. Briefly:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11

Then regenerate the virtualenv and install dependencies:

sudo rm -rf /opt/Mycodo/env
virtualenv --python="/usr/bin/python3.11" /opt/Mycodo/env
/opt/Mycodo/env/bin/pip install -r /opt/Mycodo/requirements.txt
/opt/Mycodo/mycodo/scripts/upgrade_post.sh

Restart Mycodo daemon and frontend and ensure they still work:

sudo service mycodo restart
sudo service mycodoflask restart

Bugfixes

  • Fix inability to set the same output for PID raise and lower (#1369)
  • Fix OpenWeather One Call API endpoint to use v3.0 (#1429)
  • Fix apt update not being run before installing apt packages dependencies
  • Fix camera library for different OS releases (#1487)
  • Fix incorrectly configured logrotate

Features

  • Add API endpoints: /log and /dependency (#1430)
  • Add ability to update (overwrite) a custom Function module without deleting it
  • Add ability to update (overwrite) a custom Widget module without deleting it
  • Add Input: ENS160 (#1434)
  • Add Output: Waveshare 8-Channel Raspberry Pi Relay Board B (#1434)
  • Add Function: Camera: rpicam (#1487)
  • Add Input: VEML7700 Ambient Light Sensor (#1491)
  • Add Input: LTR390 UV Light Sensor (#1432)
  • Add "message_extra" to input options

Miscellaneous

  • Updates to support Python 3.11
  • Update InfluxDB to 2.7.12
  • Update pip packages

Don't miss a new Mycodo release

NewReleases is sending notifications on new releases.