Mycodo

An environmental monitoring and regulation system

GPL-3.0 License

Stars
3K
Committers
59

Bot releases are hidden (Show)

Mycodo - 5.5.14

Published by kizniche over 6 years ago

5.5.14 (2018-01-25)

Bugfixes

  • Fix display of PID timestamp on LCDs
  • Fix missing pigpio.zip (breaks install/upgrade) on remote server (package pigpio.tar with Mycodo)
Mycodo - 5.5.13

Published by kizniche over 6 years ago

5.5.13 (2018-01-23)

Features

  • Add Input: GPIO State (#387)
  • Refactor Dashboard code (improve load time, reduce code size)

Bugfixes

  • Fix inability to change Input Period (#393)
  • Fix Exception while reading the GPIO pin of Edge Conditional (#387)

Miscellaneous

  • Add Input Template for the Wiki
Mycodo - 5.5.12

Published by kizniche over 6 years ago

5.5.12 (2018-01-21)

Features

  • Add two new Inputs: Server Ping and Server Port Open (#389)
Mycodo - 5.5.11

Published by kizniche over 6 years ago

5.5.11 (2018-01-21)

Bugfixes

  • Fix issues with Dashboard Gauges (#391)
  • Fix issues with Dashboard Cameras

Miscellaneous

  • Add ID numbers to Conditionals in UI for identification (#387)
Mycodo - 5.5.10

Published by kizniche over 6 years ago

5.5.10 (2018-01-20)

Features

  • Add ability to set graph y-axis minimum/maximum (#384)
  • Add ability to view Math outputs on asynchronous graphs (#335)
  • Improve Dashboard Object creation/manipulation user interaction

Bugfixes

  • Fix inability to activate Edge Conditionals (#381)
  • Fix inability to add new gauges or graphs to the dashboard (#384)
  • Fix issues with UART Atlas pH Input device (#382)
  • Fix issue with Atlas pH calibration (#382)
  • Fix issue with caching of Camera images on the Dashboard
  • Fix issue with Edge Conditionals (#387)
Mycodo - 5.5.9

Published by kizniche almost 7 years ago

5.5.9 (2018-01-14)

Bugfixes

  • Fix issue generating output usage reports (#380)
  • Fix inability to save Edge Conditionals (#381)
Mycodo - 5.5.8

Published by kizniche almost 7 years ago

5.5.8 (2018-01-11)

Features

  • Add ability to add Camera modules to the Dashboard (formerly Live Graphs page)

Bugfixes

  • Fix issue with new installations failing to start the flask frontend (#379)
  • Fix issue with services starting on Pi Zeros (#379)

Miscellaneous

  • Reduce gunicorn (web UI) workers from 2 to 1
Mycodo - 5.5.7

Published by kizniche almost 7 years ago

5.5.7 (2018-01-08)

Bugfixes

  • Fix forcing of HTTPS via user configuration
  • Fix inability to save Gauge Refresh Period option (#376)
  • Fix Atlas Scientific communication issues (#369)
Mycodo - 5.5.6

Published by kizniche almost 7 years ago

5.5.6 (2018-01-05)

Features

  • Add ability to restart the frontend from the web UI

Bugfixes

  • Attempt to fix issue where DHT22 sensor may become unresponsive
  • Fix inability to stream video from PiCamera
Mycodo - 5.5.5

Published by kizniche almost 7 years ago

5.5.5 (2018-01-04)

Bugfixes

  • Fix IP address of user login log entries
  • Fix issue reading DHT11 sensor (#370)
Mycodo - 5.5.4

Published by kizniche almost 7 years ago

5.5.4 (2018-01-03)

Features

  • Add ability to replace edge variable in edge conditional command action

Bugfixes

  • Fix issue with proper python 3 virtualenv (#362)
  • Fix starting web server during install
  • Fix issue with gunicorn worker timeouts on Raspberry Pi Zeros (#365)
  • Fix command variable replacement for Output conditionals (#367)
  • Fix pH Input causing an error with a deactivated Calibration Measurement (#369)
  • Fix issue preventing capture of still images from the web interface (#368)

Miscellaneous

  • Move mycodo root symlink from /var/www to /var
  • Create symlinks in PATH for mycodo-backup, mycodo-client, mycodo-commands, mycodo-daemon, mycodo-pip, mycodo-python, mycodo-restore, and mycodo-wrapper
Mycodo - 5.5.3

Published by kizniche almost 7 years ago

5.5.3 (2017-12-29)

Bugfixes

  • Fix issue with web UI and daemon not restarting properly after upgrade
  • Fix issue with the log not updating properly on the Upgrade page
Mycodo - 5.5.2

Published by kizniche almost 7 years ago

5.5.2 (2017-12-27)

Features

  • Add Conditional Actions: Flash LCD Off, LCD Backlight On, LCD Backlight Off (#363)

Bugfixes

  • Add more log lines to find out exactly which part makes the end of an upgrade hang
  • Fix MHZ16/19 UART communication (#359)
  • Fix missing I2C devices from System Information page (#354)
  • Fix output state determination of other outputs if a wireless output is unconfigured (#364)
  • Fix LCD controller issues with flashing and backlight management
Mycodo - 5.5.1

Published by kizniche almost 7 years ago

5.5.1 (2017-12-25)

Bugfixes

  • Fix inability to send Conditional email notification to multiple recipients
  • Fix inability to select LCDs as Conditional Actions
  • Fix BME280 sensor module (#358)
  • Fix TSL2591 sensor module
  • Fix MHZ16/MHZ19 unicode errors (still investigating other potential issues reading these sensors)
Mycodo - 5.5.0

Published by kizniche almost 7 years ago

5.5.0 (2017-12-25)

Merry Christmas!

With the release of 5.5.0, Mycodo becomes modern by migrating from Python 2.7.9 to Python 3 (3.5.3 if on Raspbian Stretch, 3.4.2 if on Raspbian Jessie). This release also brings a big switch from apache2+mod_wsgi to nginx+gunicorn as the web server.

Issues

You may experience an error during the upgrade that doesn't allow it to complete

It will no longer be possible to restore pre-5.5.0 backups

All users will be logged out of the web UI during the upgrade

All Conditionals will be deactivated and need reconfiguring

OpenCV has been removed as a camera module

If you rely on your system to work, it is highly recommended that you DO NOT UPGRADE. Wait until your system is no longer performing critical tasks to upgrade, in order to allow yourself the ability to thoroughly test your particular configuration works as expected, and to perform a fresh install if the upgrade fails. Although most parts of the system have been tested to work, there is, as always, the potential for unforeseen issues (for instance, not every sensor that Mycodo supports has physically been tested). Read the following notes carefully to determine if you want to upgrade to 5.5.0 and newer versions.

Failure during the upgrade to >= 5.5.0

I found that occasionally the upgrade will spontaneously stop without an indication of the issue. I've seen it happen during an apt-get install and during a pip upgrade. It does not seem consistent, and there were no erorrs, therefore it wasn't able to be fixed. If you experience an error during the upgrade that doesn't allow the upgrade to complete, issue the following commands to attempt to resume and complete the upgrade. If that doesn't fix it, you may have to install Mycodo from scratch.

sudo dpkg --configure -a
sudo /bin/bash ~/Mycodo/mycodo/scripts/upgrade_post.sh

No restoring of pre-5.5.0 backups

Restoring pre-5.5.0 backups will not work. This is due to the moving of the pip virtual environments during the restore, the post-5.5.0 (python3) virtualenv not being compatible with the pre-5.5.0 virtualenv (python2), and moving from the apache2 web server to nginx. If you absolutely need to restore a backup, it must be done manually. Create a new github issue to get asistance with this.

Also with this release, exporting and importing both the Mycodo settings database and InfluxDB measurement database has been added. These may be imported back into Mycodo at a later timer. Currently, the InfluxDB (measurement) database may be imported into any other version of Mycodo, and the Mycodo (settings) database may only be imported to the same version of Mycodo. Automatic upgrading or downgrading of the Mycodo database to allow cross-version compatibility will be included in a future release. For the meantime, if you need to restore Mycodo settings to a particular Mycodo version, you can do the following: download the tar.gz of the particular Mycodo Release compatible with your database backup, extract, install normally, import the Mycodo settings database, then perform an upgrade of Mycodo to the latest release.

All users will be logged out during the upgrade

Another consequence of changing from Python 2 to 3 is current browser cookies will cause an error with the web user interface. Therefore, all users will be logged out after upgrading to >= 5.5.0. This will cause some strange behavior that may be misconstrued as a failed upgrade:

  1. The upgrade log will not update during the upgrade. Give the upgrade ample time to finish, or monitor the upgrade log from the command line.

  2. After the upgrade is successful, the upgrade log box on the Upgrade page will redirect to the login page. Do not log in through the log box, but rather refresh the entire page to be redirected to the login page.

All Conditionals will be deactivated

The Conditional code has been refactored to make them more modular. Because some conditionals will need to be reconfigured before they will operate corectly, all conditionals have been deactivated. Therefore, after the upgrade, reconfigure them appropriately, then reactivate. Additionally, conditionals (for all controllers) have been moved to a new 'Function' page.

OpenCV has been disabled

A Python 3 compatible binary version of opencv, whoch doesn't require an extremely long (hours) compiling process, is unfortunately unavailable. Therefore, if you know of a library or module that can successfully acquire an image from your webcam (you have tested to work), create a new issue with the details of how you acquired the image and we can determine if the method can be integrated into Mycddo.

Features

  • Migrate from Python 2 to Python 3 (#253)
  • Migrate from apache2 (+mod_wsgi) to nginx (+gunicorn) (#352)
  • Add ability to export and import Mycodo (settings) database (#348)
  • Add ability to export and import Influxdb (measurements) database (#348)
  • Add size of each backup (in MB) on Backup Restore page
  • Add check to make sure there is enough free space before performing a backup/upgrade
  • Add dedicated, modular Conditional controller (#346)
  • Add PID and Math to input options of Conditionals

Bugfixes

  • Fix deleting Inputs (#250)
  • Fix 500 error if 1-wire support isn't enabled
  • Fix Edge Detection Input callback function missing required parameter
  • Fix LCD display of Output duty cycle
  • Fix email notification
  • Make Conditional email notification send after last Action to include all Actions in message

Miscellaneous

  • Disable the use of the opencv camera library
  • Update translations
  • Combine Input and Math pages to a new 'Data' page
  • Move Conditionals and PIDs to a new 'Function' page
  • Show tooltips by default
Mycodo - 5.4.19

Published by kizniche almost 7 years ago

5.4.19 (2017-12-15)

Features

  • Add ability to use other Math controller outputs as Math controller inputs

Bugfixes

  • Fix not deleting associated Math Conditionals when a Math controller is deleted
  • Fix displaying LCD lines for Controllers/Measurements that no longer exist
  • Fix improper WBT input-checking for humidity math controller
Mycodo - 5.4.18

Published by kizniche almost 7 years ago

5.4.18 (2017-12-15)

Bugfixes

  • Fix error on Live page if no Math controllers exist (#345)
Mycodo - 5.4.17

Published by kizniche almost 7 years ago

5.4.17 (2017-12-14)

Features

  • Add Decimal Places option to LCD lines

Bugfixes

  • Fix Input conditional refresh upon settings change
  • Fix display of Math controllers with atypical measurements on Live page (#343)
  • Fix inability to use Math controller values with PID Controllers (#343)
  • Fix display of Math data on LCDs (#343)
  • Fix LCD Max Age only working for first line
  • Fix display of Math data on LCDs
  • Fix issue displaying some Graph page configurations
  • Fix issue with PID recording negative durations
  • Fix Date Methods (#344)

Miscellaneous

  • Place PID Controllers in a subcategory of new section called Function
  • Don't disable an LCD when an Input that's using it is disabled
Mycodo - 5.4.16

Published by kizniche almost 7 years ago

5.4.16 (2017-12-13)

Features

  • Add new Math controller type: Median
  • Add the ability to use Conditionals with Math controllers
  • Add ability to use Math Controllers with LCDs and PIDs
  • Add Math Controllers to Live page
  • Add Math and PID Controllers to Gauge measurement selection (#342)
  • Add "None Found Last x Seconds" to Conditional options (trigger action if a measurement was not found within the last x seconds)
  • Add Restart Daemon option to the Config menu
  • More detailed 'incorrect database version' error message on System Information page

Bugfixes

  • Fix measurement list length on Graph page
  • Fix PWM output display on Live page
  • Fix issue changing Gauge type (#342)
  • Fix display of multiplexer options for I2C devices
  • Fix display order of I2C busses on System Information page

Miscellaneous

  • Add new multiplexer overlay option to manual (#184)
Mycodo - 5.4.15

Published by kizniche almost 7 years ago

5.4.15 (2017-12-08)

Features

  • Add Math controller types: Humidity, Maximum, Minimum, and Verification (#335)

Bugfixes

  • Fix Atlas pH sensor calibration
Package Rankings
Top 6.64% on Proxy.golang.org