iobroker.comfoair
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"common": { | ||
"name": "comfoair", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"news": { | ||
"0.1.1": { | ||
"en": "bugfix ventlevels, reads errors.", | ||
"de": "Fehler ventlevels behoben, liest Fehlermeldungen." | ||
}, | ||
"0.1.0": { | ||
@@ -450,5 +454,148 @@ "en": "Redme updated after successful 3rd party testing.", | ||
}, | ||
{ | ||
"_id": "status.errors.aktuellA", | ||
"type": "state", | ||
"common": { | ||
"name": "aktueller Fehler A", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "aktueller Fehler A" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.letzterA", | ||
"type": "state", | ||
"common": { | ||
"name": "letzter Fehler A", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "letzter Fehler A" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.vorletzterA", | ||
"type": "state", | ||
"common": { | ||
"name": "vorletzter Fehler A", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "vorletzter Fehler A" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.aktuellE", | ||
"type": "state", | ||
"common": { | ||
"name": "aktueller Fehler E", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "aktueller Fehler E" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.letzterE", | ||
"type": "state", | ||
"common": { | ||
"name": "letzter Fehler E", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "letzter Fehler E" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.vorletzterE", | ||
"type": "state", | ||
"common": { | ||
"name": "vorletzter Fehler E", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "vorletzter Fehler E" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.aktuellEA", | ||
"type": "state", | ||
"common": { | ||
"name": "aktueller Fehler EA", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "aktueller Fehler EA" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.letzterEA", | ||
"type": "state", | ||
"common": { | ||
"name": "letzter Fehler EA", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "letzter Fehler EA" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "status.errors.vorletzterEA", | ||
"type": "state", | ||
"common": { | ||
"name": "vorletzter Fehler EA", | ||
"type": "string", | ||
"role": "value.info", | ||
"read": true, | ||
"write": false, | ||
"def": false, | ||
"desc": "vorletzter Fehler EA" | ||
}, | ||
"native": { | ||
} | ||
}, | ||
{ | ||
"_id": "control", | ||
@@ -455,0 +602,0 @@ "type": "channel", |
29
main.js
@@ -311,4 +311,4 @@ /** | ||
adapter.setState('status.ventlevel.ZULabw', buffarr[10], true); | ||
adapter.setState('status.ventlevel.ZUL2', buffarr[11], true); | ||
adapter.setState('status.ventlevel.ZUL1', buffarr[12], true); | ||
adapter.setState('status.ventlevel.ZUL1', buffarr[11], true); | ||
adapter.setState('status.ventlevel.ZUL2', buffarr[12], true); | ||
adapter.setState('status.ventABL', buffarr[13], true); | ||
@@ -339,2 +339,14 @@ adapter.setState('status.ventZUL', buffarr[14], true); | ||
adapter.setState("status.filterChange", buffarr[15], true); | ||
adapter.setState("status.errors.aktuellA", 'A' + errorcode(buffarr[7]), true); | ||
adapter.setState("status.errors.aktuellE", 'E' + errorcode(buffarr[8]), true); | ||
adapter.setState("status.errors.letzerA", 'A' + errorcode(buffarr[9]), true); | ||
adapter.setState("status.errors.letzerE", 'E' + errorcode(buffarr[10]), true); | ||
adapter.setState("status.errors.vorletzerA", 'A' + errorcode(buffarr[11]), true); | ||
adapter.setState("status.errors.vorletzerE", 'E' + errorcode(buffarr[12]), true); | ||
adapter.setState("status.errors.aktuellEA", 'EA' + errorcode(buffarr[16]), true); | ||
adapter.setState("status.errors.letzerEA", 'EA' + errorcode(buffarr[17]), true); | ||
adapter.setState("status.errors.vorletzerEA", 'EA' + errorcode(buffarr[18]), true); | ||
break; | ||
@@ -365,3 +377,2 @@ | ||
} catch (e) { | ||
s | ||
adapter.log.warn("ChecksumCmd - Fehler: " + e) | ||
@@ -371,2 +382,14 @@ } | ||
function errorcode(error) { | ||
try { | ||
if (error > 0) { | ||
var errorcd = error; | ||
} else { | ||
var errorcd = "kein Fehler"; | ||
} | ||
return errorcd; | ||
} catch (e) { | ||
adapter.log.warn("errorcode - Fehler: " + e) | ||
} | ||
} //end errorcode | ||
@@ -373,0 +396,0 @@ // If started as allInOne/compact mode => return function to create instance |
{ | ||
"name": "iobroker.comfoair", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=6.0.0" |
![Logo](admin/comfoair.png) | ||
# ioBroker.comfoair | ||
![Number of Installations](http://iobroker.live/badges/comfoair-installed.svg) ![Number of Installations](http://iobroker.live/badges/comfoair-stable.svg) [![NPM version](http://img.shields.io/npm/v/iobroker.comfoair.svg)](https://www.npmjs.com/package/iobroker.comfoair) | ||
[![Downloads](https://img.shields.io/npm/dm/iobroker.comfoair.svg)](https://www.npmjs.com/package/iobroker.comfoair) | ||
[![NPM](https://nodei.co/npm/iobroker.comfoair.png?downloads=true)](https://nodei.co/npm/iobroker.comfoair/) | ||
An ioBroker adapter for Zehnder Comfoair 'CA' -ventilations (i.e. ComfoAir CA350, NOT ComfoAir Q350...) | ||
@@ -23,2 +27,6 @@ | ||
### 0.1.1 | ||
- bugfix ventlevels, reading errors | ||
### 0.1.0 | ||
@@ -60,3 +68,3 @@ | ||
Copyright (c) 2018 forelleblau marceladam@gmx.ch | ||
Copyright (c) 2019 forelleblau marceladam@gmx.ch | ||
@@ -63,0 +71,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
285612
86
10
24
1745