Releases: Tom-Hirschberger/MMM-MQTTbridge
Releases · Tom-Hirschberger/MMM-MQTTbridge
Release 2.2.3
This is release 2.2.3 with the following changes:
- bumped version of jsonpath-plus library to 10.1.0
Release 2.2.2
This is release 2.2.2 with the following changes:
- added a postinstall script which creates a copy of the imported JSONPath library cause MagicMirror only imports files with ending
js
and notcjs
to fix JSONPath
Release 2.2.1
This is release 2.2.1 with the following changes:
- bumped jsonpath-plus library to version 10.0.1
- bumped mqtt library to version 5.10.1
- only print each event (received notification or received mqtt message) on console if debug is enabled, now
Release 2.2.0
This is release 2.2.0 with the following changes:
- fixed
incl
condition - introducing two new conditions
time
to suppress messages / notifications if they happen to quickly after each other andtdiff
to send messages / notifications only if they changed or there is enough time gap between the last one - it is possible to configure notifications / messages which should be send after the module connected and subscribed successfully now
Release 2.1.0
This is release 2.1.0 with the following changes:
- it is possible the parse the input of MQTT messages as JSON now
- the JSON content of MQTT messages now can be filtered with JSONPath-Plus
- the payload of MQTT messages or notifications now can be formatted with a format string before further processing happens
- it is possible to configure complex conditions (equal, lower than, lower equal, greater, greater equal, includes, matches) for message and notification processing now
Release 2.0.0
This is release 2.0.0
ℹ️ This is the first release after the ownership of the module changed to @Tom-Hirschberger
notiDictionary.js
and mqttDictionary.js
with this release. Make sure to save the two dict files before updating. The files will be ignored with future releases and there is no need to be careful with them after version 2.0.0! Please read the two sections in the Readme about the dictionaries.
The following things changed:
- The way of how to configure how to ignore the payload of notifications and MQTT messages changed
- The way of how to configure how to send the payload of notifications as MQTT messages and the payload of MQTT messages as payload of notifications changed
- It is now possible to configure a "last will" message and define if you like a clean MQTT session (see http://www.steves-internet-guide.com/mqtt-clean-sessions-example/ for details) or any other of MQTT.js supported connection option
- It is now possible to configure a QoS value, the retain flag and any other of MQTT.js supported option for published MQTT messages (either in general or individual for single messages)
- It is now possible to configure a QoS value and any other of MQTT.js supported option for subscribed MQTT messages (either in general or individual for single topics)
- The paths of the dictionary files can be configured now and the dictionary files in the "dict" directory will be ignored during updates.
- If one of the dictionary files is missing or has syntax errors a warning is printed but the module starts with empty configuration (and does not crash the whole mirror anymore)
- The speed of the notification and message filter has been increased
1.1. Fixed and Refactored
- Removed bug of adding callback function everytime mqttconnect function is called. Changed Mqtt to Noti and Noti to Mqtt behaviour.
- Fixed array index bug
- Changed mqttDictionary according to notiDictionary. Subscription to topic only once.
- Changed mqtt message callback function
- Added documentation
- Changed readme
- Enabled handling of boolean notifications
Base version 1.0
Initial base version