Skip to content

Commit

Permalink
minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pathec committed Dec 2, 2016
1 parent effd255 commit be1d1fd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.1.4] - 2016-12-02
### Fixed
- improve logging by more information
- add BMWi note

## [0.1.3] - 2016-09-24
### Fixed
- *core.start* event unsubscribing during module stop (the callback function never removed only added until the limit was reached)
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.

<br>
<img src="doc/BMWi_4C_Gef_en.jpg" width="200">
Binary file added doc/BMWi_4C_Gef_en.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ OpenHABConnector.prototype.notifyOpenHabItem = function (openHabItem) {

self.updateOpenHabItem(openHabItem);

self.controller.addNotification("warning", "Observer not notified - openHAB item: " + openHabItem.openHabItemName + "(HTTP Status: " + res.status + ")", "module", "OpenHABConnector");
var status = "HTTP Status: " + res.status + " - " + res.statusText + " - " + res.data.error.message;

self.controller.addNotification("warning", "Observer not notified - openHAB item: " + openHabItem.openHabItemName + " (" + status + "). "
+ "Failed request: http://" + server.ipAddress + ":" + server.port + "/rest/items/" + openHabItem.openHabItemName + "/state with body: " + String(level), "module", "OpenHABConnector");
}
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"source" : "https://github.com/pathec/ZWay-OpenHABConnector",
"type" : "git"
},
"version": "0.1.3",
"version": "0.1.4",
"maturity": "beta",
"defaults" : {
"title" : "__m_title__",
Expand Down

0 comments on commit be1d1fd

Please sign in to comment.