Bot releases are hidden (Show)
Published by kizniche 12 months ago
This is a bugfix release that updates pylint to fix an inability of some users to build a dependency.
Published by kizniche about 1 year ago
This release fixes a bug that prevents installing some dependencies.
Published by kizniche about 1 year ago
This release is a bugfix release to fix issues related to installing Mycodo on the latest Raspberry Pi OS (Debian 12, Bookworm).
Published by kizniche about 1 year ago
Published by kizniche over 1 year ago
Published by kizniche over 1 year ago
This update fixes a few bugs and adds the new Input Equation Action, which can apply an equation to an Input measurements prior to being stored in the database. For instance, if you wanted to apply an offset of +10 to a particular measurement of an Input, you could use the equation "x+10".
In order for this new Action to be able to be created, there had to be a refactoring of the trigger_action()
API function and run_action()
Action module function.
All references your code previously made to:
trigger_action(action_id, value=None, message='', debug=False)
Will need to be changed to:
trigger_action(action_id, value=None, debug=False)
Additionally, custom Action modules previously with the Class function:
run_action(self, message, dict_vars)
Will need to be changed to:
run_action(self, dict_vars)
Since dict_vars will be a dictionary that contains the key "message". Any messages added in run_action()
will need to be appended to dict_vars['message']
. Additionally, dict_vars will need to be returned by run_action()
rather than the variable messages.
Again, if you use any custom Actions, it is imperative that you make this second update to your modules for them to be able to properly work when upgrading to or beyond v8.15.7.
Published by kizniche over 1 year ago
Published by kizniche over 1 year ago
Published by kizniche over 1 year ago
Published by kizniche almost 2 years ago
Published by kizniche almost 2 years ago
Published by kizniche almost 2 years ago
This release fixes several bugs and changes how measurement timestamps are returned from the time-series database.
Since support for InfluxDB 2.x was added, in order to make data that's returned from the time-series database more consistent, all timestamps from internal Mycodo functions will be returned as a decimal epoch value. Please update any custom modules or code to incorporate this change.
Previous behavior: InfluxDB 1.x returned data as a date/time string value (e.g. 2022-10-31T14:49:25.034447Z).
New Behavior: InfluxDB 1.x returned data as an epoch float value (e.g. 1667228575.557).
Cameras integration was initially built into the Mycodo system. This made it difficult for users to add new camera libraries or features unless they learned the codebase well enough to understand the many files needed to be modified. This release allows for camera functinality to be developed within a single Function module file. This enables users to more easily develop and implement their own Camera Functions or modify existing Camera Functions to add new features.
As this system is developed, the original camera system will be phased out, as it's a lot of work to maintain two different camera systems. As of now, there is only one Camera Function (libcamera). This should be considered EXPERIMENTAL and only used to test the development of this new feature until it is considered stable.
Published by kizniche about 2 years ago
Published by kizniche over 2 years ago
Published by kizniche over 2 years ago
Published by kizniche over 2 years ago