Skip to content

Releases: Tom-Hirschberger/MMM-CommandToNotification

Release 0.0.9

30 Oct 19:35
deab5b1
Compare
Choose a tag to compare

This is release 0.0.9 with the following issues:

  • formatted the code in a standard, consistent style now (thanks to @KristjanESPERANTO)
  • fixed example in readme

Release 0.0.8

20 Aug 15:02
00cf435
Compare
Choose a tag to compare

This is release 0.0.8 with the following changes:

  • added a script called venvWrapper.py which can be used to create a virtual Python environment, install the dependencies of Python scripts to it and call the scripts with the wrapper in the virtual environment
  • the htu21 script now uses the CircuitPython libraries of Adafruit now

Release 0.0.7

04 May 06:59
5a47fb0
Compare
Choose a tag to compare

This is release 0.0.7 with the following changes:

  • scripts in the scripts directory now can be called without adding a additional ./ as prefix, now
  • the module first checks if scripts do exist and if they are executable before trying to call them. If the file is missing or permissions are not set correctly the module prints a log message and skips the command now
  • reduced the console output drastically. Use debug: true config option to re-enable the console output. Errors are printed to console without the debug flag as before

Release 0.0.6

24 Nov 17:52
7d08034
Compare
Choose a tag to compare

This is release 0.0.6 with the following changes:

  • add a debug flag to configuration which enables/disables some console messages
  • added a new dummy example script which simply outputs the content of a text file
  • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO

Release 0.0.5

25 May 14:53
5a71285
Compare
Choose a tag to compare

This is release 0.0.5 with the following changes:

  • Fixed a bug which caused the module to not return output for any command if one of the scripts closes with no output

Release 0.0.4

24 Jan 18:51
48c2a16
Compare
Choose a tag to compare

This is release 0.0.4 with the following changes:

  • added sync option to make it possible to configure if the commands should be run one after another or if they should be started as fast as possible
  • added delayNext option which makes it possible to wait a configurable amount of milliseconds before the next command is processed (i.e. if you want to make 10 API calls but the API only supports one connection each second)

Release 0.0.3

10 Oct 14:13
Compare
Choose a tag to compare

This is release 0.0.3 with the following changes:

  • fixed the additional parameters like "timeout" being ignored
  • the scripts now will be called with working directory set to "scripts" directory
  • added a new option to send the notifications with custom payloads instead of the output of the script

Release 0.0.2

09 Oct 19:34
bb81dcc
Compare
Choose a tag to compare

This is release 0.0.2 with the following changes:

  • Added new "conditions" option which causes notifications only be send if the scripts exits with a specified return code and/or the output contains a specified string
  • The flowercare-mm.bash script now returns a JSON instead of JSON5 object
  • Added a script to watch files for changes
  • Added more documentation of the scripts

Release 0.0.1

03 Oct 14:46
Compare
Choose a tag to compare

This is release 0.0.1 with the following initial features:

  • Specify a period in which the module calls all scripts
  • Configure scripts (with their arguments) to be called and the notifications which the outputs of the scripts should be send to
  • Configure a skip count per script if you do not want the script to be called each iteration
  • Configure a timeout to stop the call of a script if it does not respond within a given time
  • Scripts to query the temperature and humidity information of BME280, DHT11, DHT22, DS18B20 and HTU21 are included
  • A script to query the temperature, moisture, light, conductivity and battery level of Miflora flowercare sensors is included
  • Two scripts to generate either a single random integer or a json object which contains a integer and float value are included