Skip to content

Commit

Permalink
Version 1.1.4 - fix excessive mqtt logging
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnetech committed Apr 5, 2020
1 parent 5085cc3 commit ae712c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,9 @@ Window covering position state can be **DECREASING**, **INCREASING** or **STOPPE

# Release notes

Version 1.1.4
+ Fixed excessive MQTT logging (introduced in 1.1.2). Thanks, @nzbullet.

Version 1.1.3
+ Added lightbulb sub-types to configuration schema, allowing easier configuration of different lightbulb types.
+ Added missing otherValueOff to configuration schema.
Expand Down
4 changes: 1 addition & 3 deletions libs/mqttlib.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// MQTT Thing Accessory plugin for Homebridge
// MQTT Library

'use strict';
'use strict'; // eslint-disable-line

var mqtt = require("mqtt");

Expand Down Expand Up @@ -65,8 +65,6 @@ var mqttlib = new function() {
mqttClient.on('message', function (topic, message) {
if (logmqtt) {
log("Received MQTT: " + topic + " = " + message);
} else {
log("** Received MQTT: " + topic + " = " + message);
}
var handlers = mqttDispatch[topic];
if (handlers) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-mqttthing",
"version": "1.1.3",
"version": "1.1.4",
"description": "Homebridge plugin supporting various services over MQTT",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ae712c3

Please sign in to comment.