Skip to content

Commit

Permalink
chore: release v1.14.44
Browse files Browse the repository at this point in the history
we fixed several sentry issues (closes #368, closes #370)
  • Loading branch information
foxriver76 committed Aug 12, 2021
1 parent 8f5d3d9 commit 4913adb
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ by ioBroker, when you have a running 'dummy' program on the CCU which depends on
-->
## Changelog

### 1.14.44 (2021-08-12)
* (foxriver76) we fixed several sentry issues (closes #368, closes #370)

### 1.14.43 (2021-07-05)
* (foxriver76) we now correctly map the role of smoke detectors (closes #354)

Expand Down
14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,20 @@
"es": "Conecta los Procesos de Interfaz HomeMatic (BidCos-Services, Homegear y CUxD) a través de XML-RPC o BIN-RPC a ioBroker",
"pl": "Łączy procesy HomeMatic-Interface (BidCos-Services, Homegear i CUxD) za pośrednictwem XML-RPC lub BIN-RPC z ioBroker"
},
"version": "1.14.43",
"version": "1.14.44",
"news": {
"1.14.44": {
"en": "we fixed several sentry issues (closes #368, closes #370)",
"de": "wir haben mehrere Wachpostenprobleme behoben (schließt #368, schließt #370)",
"ru": "мы исправили несколько проблем с часовой (закрывает # 368, закрывает # 370)",
"pt": "corrigimos vários problemas de sentinela (fecha # 368, fecha # 370)",
"nl": "we hebben verschillende schildwachtproblemen opgelost (sluit #368, sluit #370)",
"fr": "nous avons corrigé plusieurs problèmes de sentinelle (ferme #368, ferme #370)",
"it": "abbiamo risolto diversi problemi di sentinella (chiude #368, chiude #370)",
"es": "arreglamos varios problemas de centinela (cierra # 368, cierra # 370)",
"pl": "naprawiliśmy kilka błędów wartowników (zamyka #368, zamyka #370)",
"zh-cn": "我们修复了几个哨兵问题(关闭 #368,关闭 #370)"
},
"1.14.43": {
"en": "we now correctly map the role of smoke detectors (closes #354)",
"de": "wir ordnen jetzt die Rolle von Rauchmeldern korrekt zu (schließt #354)",
Expand Down
13 changes: 6 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ function combineEPaperCommand(lines, signal, ton, repeats, offset) {

let command = '0x02,0x0A';
for (const li of lines) {
const line = li.line;
const icon = li.icon;
if (line) {
if (li.line) {
const line = li.line.toString();
command = `${command},0x12`;
let i;
if ((line.substring(0, 2) === '0x') && (line.length === 4)) {
Expand All @@ -192,8 +191,8 @@ function combineEPaperCommand(lines, signal, ton, repeats, offset) {
}
}

if (icon) {
command += `,0x13,${number2hex(icon)}`;
if (li.icon) {
command += `,0x13,${number2hex(li.icon)}`;
}
command = `${command},0x0A`;
}
Expand Down Expand Up @@ -534,8 +533,8 @@ function startAdapter(options) {
message: async obj => {
adapter.log.debug(`[MSSG] Received: ${JSON.stringify(obj)}`);

if (obj.command === undefined || obj.command === null) {
adapter.log.warn(`Received invalid command via message "${obj.command}" "${obj.message.ID}" from ${obj.from}`);
if (obj.command === undefined || obj.command === null || obj.message === undefined || obj.message === null) {
adapter.log.warn(`Received invalid command via message "${obj.command}" "${obj.message}" from ${obj.from}`);
if (obj.callback) {
adapter.sendTo(obj.from, obj.command, {error: 'Invalid command'}, obj.callback);
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.hm-rpc",
"version": "1.14.43",
"version": "1.14.44",
"description": "Connects HomeMatic Interface-Processes (BidCos-Services, Homegear and CUxD) via XML-RPC or BIN-RPC to ioBroker",
"author": {
"name": "hobbyquaker",
Expand Down

0 comments on commit 4913adb

Please sign in to comment.