Socket
Socket
Sign inDemoInstall

comfoairq

Package Overview
Dependencies
71
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    comfoairq

Zehnder ComfoAirQ implementation


Version published
Weekly downloads
14
increased by16.67%
Maintainers
1
Install size
5.41 MB
Created
Weekly downloads
 

Readme

Source

node-comfoairq

This is a fork with a lot of changes - check original repo by herrJones

Changes since fork

Library to control a Zehnder Comfoair Q series of ventilation devices (e.g. Q350)

Requirements

  1. Zehnder Comfoair Q series of ventilation device (e.g. Q350)
  2. Zehnder ComfoConnect LAN C interface

Test Script

A test-application is provided to demonstrate the capabilities

  1. Update the test/settings.json
  2. Run the script
npm run test

Range of functions

Not all functions are implemented as the plugin is designed for home automation

Only these are provided:

  • start session
  • keepalive
  • send command
  • close session
  • register sensor
  • get version
  • get time
  • list all registered apps
  • register app
  • deregister app

All functions return Promises

On 'received' and 'disconnect' events are provided

Quick-start

const comfoconnect = require('node-comfoairq');
const settings = require(__dirname + '/settings.json');

const zehnder = new comfoconnect(settings);

zehnder.on('receive', (data) => {
  console.log(JSON.stringify(data));
});

zehnder.on('disconnect', (reason) => {
  if (reason.state == 'OTHER_SESSION') {
    console.log('other device became active');
    reconnect = true;
  }
  connected = false;
});

const deviceInfo = await zehnder.discover('172.16.255.255');


await zehnder.StartSession(true);
// ..... do something ......
// -> find some inspiration in test\comfoTest.js
await zehnder.CloseSession();

Credits

Development of this node.js plugin is heavily inspired on the work performed by:

Keywords

FAQs

Last updated on 12 Nov 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc