github kizniche/Mycodo v8.7.0
8.7.0

latest releases: v8.15.13, v8.15.12, v8.15.11...
3 years ago

8.7.0 (2020-08-10)

This update includes the final refactoring of the output system to accommodate output modules that can operate multiple different types of output types. For instance, a peristaltic pump can be instructed to turn on for a duration or instructed to pump a volume. As a result of the output framework being modified to accommodate this, the duty_cycle parameter was removed from output_on_off() and output_on() functions of the DaemonControl class of mycodo_client.py. As a result, if you were previously using either of these function, you will need to add the parameter output_type='pwm' and change the duty_cycle parameter to amount. For example, output_on(output_id, duty_cycle=50) would need to be changed to output_on(output_id, output_type='pwm', amount=50), and output_on_off(output_id, 'on', duty_cycle=50) to output_on_off(output_id, 'on', output_type='pwm', amount=50).

This update also adds the ability to import custom Widget modules. Much like custom Inputs, Outputs, and Functions, you can now create and import your own single-file Widget module that allow new widgets to be added to a dashboard.

Bugfixes

  • Fix issue installing Python modules (#804)
  • Fix inability to save PID options when On/Off output selected (#805)
  • Fix graph shift issues
  • Fix PID Input/Math Setpoint Tracking unit and integer issue (#811)
  • Fix PID Controller debug logging (#811)
  • Fix bug in password reset function that would allow an attacker to discover if a user name doesn't exist

Features

  • Add Output: On/Off MQTT Publish
  • Add Output information links
  • Add ability to download Mycodo Backups (#803)
  • Add ability to import custom Widget modules
  • Add Widget Controller for background widget processes
  • Add Widget: Python Code (#803)
  • Add an option to the password reset function to save the reset code to a file

Miscellaneous

  • Deprecate duty_cycle parameter of output functions
  • Remove graph Shift X-Axis option
  • Move Autotune from PID Controller to Separate PID Autotune Controller (#811)

Don't miss a new Mycodo release

NewReleases is sending notifications on new releases.