Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mreschka committed Oct 6, 2017
1 parent 1124289 commit ce4aec6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions helios.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,15 @@ function queueWorker(task, callback) {
callback();
}, function (error) {
log.debug('Helios get task modbus read error varname ' + task.heliosVar.variable + ': ' + error);
task.self.modbusConnected = false;
task.self.emit('disconnect');
callback(error);
});

}, function (error) {
log.debug('Helios get task modbus write error varname ' + task.heliosVar.variable + ': ' + error);
task.self.modbusConnected = false;
task.self.emit('disconnect');
callback(error);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "helios2mqtt",
"private": false,
"version": "0.0.7",
"version": "0.0.8",
"description": "Helios Easy Controls modbus tcp to mqtt-smarthome daemon.",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit ce4aec6

Please sign in to comment.