Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iobroker.comfoair

Package Overview
Dependencies
Maintainers
24
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.comfoair - npm Package Compare versions

Comparing version 1.1.5 to 1.1.7

admin/i18n/de/translations.json

62

io-package.json
{
"common": {
"name": "comfoair",
"version": "1.1.5",
"version": "1.1.7",
"news": {
"1.1.7": {
"en": "dependencies updated, serialport 10.x - update",
"de": "abhängigkeiten aktualisiert, serialport 10.x - update",
"ru": "зависимости обновлены, серийный порт 10.x - обновление",
"pt": "dependências atualizadas, serialport 10.x - atualização",
"nl": "afhankelijkheid geüpload. 10.x",
"fr": "dépendances mises à jour, port série 10.x - mise à jour",
"it": "dipendenze aggiornate, porta seriale 10.x - aggiornamento",
"es": "dependencias actualizadas, serialport 10.x - actualización",
"pl": "zależności 10.x – aktualizacja",
"uk": "залежностей оновлено, серійний порт 10.x - оновлення",
"zh-cn": "b. 更新的依赖情况,追溯性 十. 更新"
},
"1.1.6": {
"en": "boostmode enhanced, dependencies updated",
"de": "boostmode verbessert, abhängigkeiten aktualisiert",
"ru": "boostmode улучшено, обновлены зависимости",
"pt": "boostmode aprimorado, dependências atualizadas",
"nl": "verbeterd, afhankelijkheid geüpload",
"fr": "boostmode amélioré, dépendances mises à jour",
"it": "potenziato, dipendenze aggiornate",
"es": "mejorada, actualizadas las dependencias",
"pl": "boostmoda wzmocniona, zależność aktualizowana",
"zh-cn": "b. 改善因素"
},
"1.1.5": {

@@ -71,10 +96,25 @@ "en": "bugfix (js-controller update)'",

},
"title": "comfoair",
"titleLang": {
"en": "comfoairControl",
"de": "ComfoairSteuerung"
"de": "in den Warenkorb",
"ru": "comfoairКонтроль",
"pt": "compartimentação",
"nl": "comfoairContro",
"fr": "comfoairControl",
"it": "comfoairControl",
"es": "comfoairControl",
"pl": "komfoairControl",
"zh-cn": "comfoairControl"
},
"desc": {
"en": "Control you ComfoAir ventilation",
"de": "Steuere deine ComfoAir - Lüftung"
"en": "Control your ComfoAir ventilation",
"de": "Steuern Sie Ihren Comfo Luftentlüftung",
"ru": "Контролируйте свое Comfo Воздушная вентиляция",
"pt": "Controle seu Comfo Ventilação de ar",
"nl": "Controleer je Comfo Air ventilatie",
"fr": "Contrôlez votre Comfo Ventilation de l ' air",
"it": "Controlla il tuo Comfo Aria di ventilazione",
"es": "Controla tu Comfo Ventilación aire",
"pl": "Przestrzenij Komfo wentylacja",
"zh-cn": "控制你的工作 空运"
},

@@ -104,3 +144,13 @@ "authors": [

"dataSource": "poll",
"installedFrom": "iobroker.comfoair"
"plugins": {
"sentry": {
"dsn": "https://b52b2262a6b04cd891ea2cfada37431c@o667513.ingest.sentry.io/5767068"
}
},
"dependencies": [
{
"js-controller": ">=3.3.22"
}
],
"installedFrom": "iobroker-community-adapters/ioBroker.comfoair"
},

@@ -107,0 +157,0 @@ "native": {

43

main.js

@@ -10,4 +10,8 @@ /**

const utils = require('@iobroker/adapter-core'); // Get common adapter utils
const SerialPort = require('serialport');
const InterByteTimeout = require('@serialport/parser-inter-byte-timeout');
const {
SerialPort
} = require('serialport');
const {
InterByteTimeoutParser
} = require('@serialport/parser-inter-byte-timeout');
var schedule = require('node-schedule');

@@ -96,3 +100,3 @@ let adapter;

clearTimeout(pcmaster);
clearTimeout(boostrun);
clearBoostTimeout();
client.destroy();

@@ -445,3 +449,3 @@ adapter.log.info('[END] Stopping comfoair adapter...');

callcomfoair(setfanstate[state]);
clearTimeout(boostrun);
clearBoostTimeout();
break;

@@ -516,4 +520,8 @@

case "control.boost":
adapter.log.debug("Starte boost");
boost();
if (state == true) {
adapter.log.debug("Starte boost");
boost();
} else {
clearBoostTimeout();
}
break;

@@ -661,3 +669,4 @@

const port = new SerialPort(serialdevice, {
const port = new SerialPort({
path: serialdevice,
baudRate: 9600,

@@ -671,3 +680,3 @@ dataBits: 8,

const parser = port.pipe(new InterByteTimeout({
const parser = port.pipe(new InterByteTimeoutParser({
interval: 20

@@ -921,3 +930,3 @@ }));

verzoegerungen = buffarr;
adapter.setState("status.filterw", buffarr[11], true);
adapter.setState("status.filterw", parseInt(buffarr[11]), true);
break;

@@ -1346,3 +1355,4 @@

desc: "Klappenstatus Bypass",
unit: "%"
unit: "%",
def: 0
},

@@ -1604,6 +1614,7 @@ native: {}

adapter.log.debug("Starte Boostmodus für " + state.val + " Minuten, kehre danach auf Stufe " + boostlevelold + " zurück");
callcomfoair(setfanstate[3]);;
callcomfoair(setfanstate[3]);
boostrun = setTimeout(function() {
adapter.log.debug("Boost Ende");
adapter.setState('control.stufe', boostlevelold, false);
adapter.setState('control.boost', false, true);
}, state.val * 60000);

@@ -1619,2 +1630,12 @@ } else {

function clearBoostTimeout() {
adapter.log.debug("boostrun Timeout zurückgesetzt")
clearTimeout(boostrun);
adapter.getState('control.boost', function(err, state) {
if (state.val == true) {
adapter.setState('control.boost', false, false);
}
});
} //end function clearBoostTimeout
function restartAdapter() {

@@ -1621,0 +1642,0 @@ adapter.getForeignObject('system.adapter.' + adapter.namespace, (err, obj) => {

{
"_from": "github:iobroker-community-adapters/ioBroker.comfoair#master",
"_id": "iobroker.comfoair@1.1.5",
"_inBundle": false,
"_integrity": "",
"_location": "/iobroker.comfoair",
"_phantomChildren": {
"@serialport/parser-inter-byte-timeout": "9.0.7",
"@types/node": "12.11.2",
"bindings": "1.5.0",
"detect-libc": "1.0.3",
"expand-template": "2.0.3",
"github-from-package": "0.0.0",
"mkdirp-classic": "0.5.3",
"napi-build-utils": "1.0.1",
"noop-logger": "0.1.1",
"npmlog": "4.1.2",
"pump": "3.0.0",
"rc": "1.2.8",
"simple-get": "3.1.0",
"tar-fs": "2.0.0",
"tunnel-agent": "0.6.0"
"name": "iobroker.comfoair",
"version": "1.1.7",
"engines": {
"node": ">=12.0.0"
},
"_requested": {
"type": "git",
"raw": "iobroker.comfoair@github:iobroker-community-adapters/ioBroker.comfoair#master",
"name": "iobroker.comfoair",
"escapedName": "iobroker.comfoair",
"rawSpec": "github:iobroker-community-adapters/ioBroker.comfoair#master",
"saveSpec": "github:iobroker-community-adapters/ioBroker.comfoair#master",
"fetchSpec": null,
"gitCommittish": "master"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "github:iobroker-community-adapters/ioBroker.comfoair#28ba132fd545165b8918ca3ba2e9a65c010fe139",
"_spec": "iobroker.comfoair@github:iobroker-community-adapters/ioBroker.comfoair#master",
"_where": "/opt/iobroker",
"description": "comfoair",
"author": {

@@ -45,32 +12,9 @@ "name": "Marcel Adam",

},
"bugs": {
"url": "https://github.com/iobroker-community-adapters/ioBroker.comfoair/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Marcel Adam",
"email": "marceladam@gmx.ch"
}
],
"dependencies": {
"@iobroker/adapter-core": "^2.4.0",
"@serialport/parser-inter-byte-timeout": "^9.0.1",
"delimiter-stream": "^3.0.1",
"request": "^2.87.0",
"serialport": "^9.0.1",
"string_decoder": "^1.2.0"
},
"deprecated": false,
"description": "comfoair",
"devDependencies": {
"@iobroker/testing": "^2.3.0",
"chai": "^4.1.2",
"gulp": "^4.0.0",
"mocha": "^8.1.3"
},
"engines": {
"node": ">=10.0.0"
},
"contributors": [{
"name": "Marcel Adam",
"email": "marceladam@gmx.ch",
"name": "crosenbe"
}],
"homepage": "https://github.com/iobroker-community-adapters/ioBroker.comfoair",
"license": "MIT",
"keywords": [

@@ -82,16 +26,59 @@ "ioBroker",

],
"license": "MIT",
"main": "main.js",
"name": "iobroker.comfoair",
"repository": {
"type": "git",
"url": "git+https://github.com/iobroker-community-adapters/ioBroker.comfoair.git"
"url": "https://github.com/iobroker-community-adapters/ioBroker.comfoair"
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.0",
"delimiter-stream": "^3.0.1",
"string_decoder": "^1.3.0",
"serialport": "^10.5.0",
"@serialport/parser-inter-byte-timeout": "^10.5.0"
},
"devDependencies": {
"@iobroker/testing": "^4.1.0",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/gulp": "^4.0.9",
"@types/node": "^18.11.9",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.8",
"axios": "^1.1.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.22.0",
"gulp": "^4.0.2",
"mocha": "^10.1.0",
"proxyquire": "^2.1.3",
"sinon": "^15.0.0",
"sinon-chai": "^3.7.0"
},
"main": "main.js",
"files": [
"admin{,/!(src)/**}/!(tsconfig|tsconfig.*).json",
"admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
"lib/",
"www/",
"io-package.json",
"LICENSE",
"main.js"
],
"scripts": {
"test": "npm run test:package && npm run test:unit",
"test:package": "mocha test/package --exit",
"test:unit": "mocha test/unit --exit",
"test:integration": "mocha test/integration --exit",
"test:package": "mocha test/package --exit",
"test:unit": "mocha test/unit --exit"
"lint": "eslint",
"release": "release-script",
"release-patch": "release-script patch --yes --no-update-lockfile",
"release-minor": "release-script minor --yes --no-update-lockfile",
"release-major": "release-script major --yes --no-update-lockfile"
},
"version": "1.1.5"
"bugs": {
"url": "https://github.com/iobroker-community-adapters/ioBroker.comfoair/issues"
},
"readmeFilename": "README.md"
}

@@ -62,2 +62,10 @@ ![Logo](admin/comfoair.png)

### 1.1.7
- dependencies updated, serialport 10.x - update
### 1.1.6
- boostmode enhanced, dependencies updated
### 1.1.5

@@ -159,3 +167,3 @@

Copyright (c) 2021 forelleblau marceladam@gmx.ch
Copyright (c) 2023 forelleblau marceladam@gmx.ch

@@ -162,0 +170,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc