Code Monkey home page Code Monkey logo

iobroker.comfoair's Introduction

Logo

ioBroker.comfoair

Number of Installations Number of Installations NPM version Downloads

NPM

Sentry

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

ioBroker adapter for Zehnder Comfoair

This is an ioBroker adapter for Zehnder Comfoair 'CA' -ventilations (i.e. ComfoAir CA350, NOT ComfoAir Q350...).

Connection

By IP / LAN

Use a RS232 to LAN oder WiFi Converter to connect ioBroker with your Zehnder Comfoair. Install hardware for TCP - connection to comfoair: i.e. RS232 to LAN adapter to the serial interface of the comfoair. Connect Pins 2, 3 and 5 only (should work also with TX, RX and GND - contacts of the cc-Ease connection too).

Serial CONNECTION

Connect the serial inferface of you comfoair to a serial interface of the device ioBroker is running on. I.e use a RS232toUSB cable or RS232toTTL adapter to connect to the Raspberry Pis UART - pins.

Config

Choose your preferred connection mode (IP or serial), set comfoair - IP-address and port or specify your serial device, define a (RS232) comfoair connection mode (see 'Adapter & CC Ease') and define a polling - intervall.

Adapter & CC Ease

In general it is not recommended to send data form 2 transmitters to one receiver in RS232 serial communication. The parallel use of CCEase and adapter can result in errors or, worst case, in damage to your comfoair-control! Therefore, when you start the ComfoAir - adapter your CC Ease should be disconnected or will be shut down. The comfoair itself knows 4 different rs232-modes: CCEaseonly, PConly, PCMaster, PCLogmode. In PConly and PCMaster, CC-Ease is off. In the instance - config you can choose one of the following connection - modes. Please tick only one of these! Once the adapter is running in the adapter only or the parallel mode, you're able to switch the rs232-mode of the comfoair (what is not recommended because a specific connection mode needs a specific rs232-mode!).

Adapter only

CC Ease is disconnected (recommended) or will be shut down when the adapter starts, you can control your comfoair only with ioBroker (rs232mode is PCMaster). This mode is default & recommended.

Listening only

The adapter catches the data sent from the comfoair or the CC Ease. CC Ease is running, no commands can be sent from the adapter. In this mode you get only a basic set of values (temperatures, ventilation states). In this mode, there is also no risk for communication errors/damages, because there is no communication from the adapter to the comfoair.

Parallel Mode

CC Ease and adapter are running. comfoiar rs232mode is set to 'PCLogmode'. The adapter is 'listening' for basic values (temperatures, ventilation levels) and polling for others (errors, filter timer). Set an extended polling interval to reduce the risk of communication errors. You can control your ComfoAir with ioBroker and with the CC Ease unit. Before a command is sent (polling included) the rs232-mode is switched to PC Master. With every command sent, also a polling is done. Tests have shown errorless - running in parallel for a longer period of time. But: You run this mode on your own risk.

Parallel Mode in constant PC-logmode

Some users made positive experiences with running the comfoair constantly in PC-Logmode. This mode has the same functionalities as the Adapter only mode but with a running CC Ease. But: You run this mode on your own risk.

Using the adapter

Values of your comfoair should be visible in the 'status' and the 'temperatures' channel. Please refresh the objects - view after changing the connection mode.

By setting/changing values in the 'control' - channel, you control your comfoair ventilation. All values in the 'control' - channel have to be set with ACK=false to be recognized as commands for the adapter.

Boostmode: set boosttime and start. Ventilation will go back to the previous level after boosttime. Returning is cancelled if the ventilation level is changed during boosttime.

Tested on comfoair CA350.

Changelog

1.2.2 (2024-04-24)

  • (mcm1957) The dependency requirements have been corrected
  • (mcm1957) Some dependencies have been updated

1.2.0 (2024-04-14)

  • (mcm1957) Adapter requires node.js 18 and js-controller >= 5 now
  • (mcm1957) Dependencies have been updated

1.1.9 (2024-03-08)

  • (mcm1957) German title of adapter has been corrected
  • (mcm1957) Dependencies have been updated

1.1.8

  • boost-error fixed (sentry)

1.1.7

  • dependencies updated, serialport 10.x - update

1.1.6

  • boostmode enhanced, dependencies updated

1.1.5

  • Bugfix (js-controller update)

1.1.3

  • boostmode added

1.1.2

  • adapter - internal filter-h counter added

1.1.1

  • Periodical self-test with restart in case of fail added

1.1.0

  • displays now working hours of different ventilation levels, preheating, bypass and frost-protection.

1.0.0

  • offers now the possibility of a direct serial connection besides the connection over IP/LAN.

0.3.2

  • Bypass - error bug fixed.

0.3.1

  • new connection mode: parallel in constant PC-Logmode.

0.3.0

  • new connection modes, i.e. 'listening only', selftest-function and setting filter-timer added.

0.2.1

  • smaller bugfixes.

0.2.0

  • New rs232 - Modes, reading enthalpie-values, handling connection-errors.

0.1.4

  • README-Update 'NO PARALLEL USE', discard 'Safe-Mode'.

0.1.3

  • RS - 232 interface: manual- or safe - mode possible.

0.1.2

  • ReadME updated, minor bugfixes.

0.1.1

  • bugfix ventlevels, reading errors

0.1.0

  • ReadME Update

0.0.7

  • Core Files/Testing Update and introduce adapter-core

0.0.6

  • Filter - change - indicator.

0.0.5

  • bugfix set vent levels.

0.0.4

  • gets & sets vent levels, gets filter-timer.

0.0.3

  • minor bugfixes, sets comfort-temperature and resets filter-hours.

0.0.2

  • First running Version. Gets temp, vent, bypass and filter states, sets fan level.

0.0.1

  • In development stage, contributions welcome

License

The MIT License (MIT)

Copyright (c) 2023-2024 forelleblau [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.comfoair's People

Contributors

apollon77 avatar crosenbe avatar dependabot-preview[bot] avatar dependabot[bot] avatar dutchmannl avatar forelleblau avatar germanbluefox avatar greenkeeper[bot] avatar joltcoke avatar mcm1957 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iobroker.comfoair's Issues

An in-range update of mocha is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The devDependency mocha was updated from 7.1.1 to 7.1.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v7.1.2

7.1.2 / 2020-04-26

🔩 Other

📖 Documentation

Commits

The new version differs by 7 commits.

  • 27aeb80 Release v7.1.2
  • e3df026 update CHANGELOG for v7.1.2 [ci skip]
  • 7f75489 add test case: type check before calling retriedTest()
  • e659027 type check before calling retriedTest()
  • eba6ec7 Remove Runnable#inspect() and utils.ngettext() (#4230)
  • a4a4d50 add wallaby logo to bottom of site
  • c600547 update mkdirp to v0.5.5 (#4222)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of serialport is breaking the build 🚨


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚

Find out how to migrate to Snyk at greenkeeper.io


The dependency serialport was updated from 8.0.7 to 8.0.8.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

serialport is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 3 commits.

  • 53a1f84 v8.0.8
  • 6ee5c84 fix: reject on non-zero exit codes (#2046)
  • b8ada2b * chore(package): update sinon to version 9.0.0 🚀 (#2035)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Problem connecting over ser2net/socat

I have a rs232 cable connected to a usb serial adapter and use it with the openhab binding on the raspi pi connected to the usb2serial adapter. evyerything works fine with this config
Because I have a home server running ubuntu with docker containers I want to run iobroker in a container and connect to my usb2serial over ser2net.
I am not able to get a connection over the ip of ser2net and also with entering the /dev/ttyNET0 port of socat in the configuration of my iobroker.
Do you have any idea what I can do? Do you suggest to buy a rs323ttl adapter?

Reset boost-trigger to 'false'

Nach dem Auslösen der Stosslüftung soll der trigger wieder auf 'false' zurückgestellt werden. Aktuell bleibt er bei 'true' nach dem Auslösen.

Please add your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

Thanks,
your automatic adapter checker.

Boost

Hallo, Der Adapter ist super!! Das ist wahrscheinlich kein Issue sondern eher Zusatzfunktionen.

Ich vermisse den Wert Boost Funktion (WC-Lüftung) und
Bootsdauer Kommando: 0x00 0xC9 (Zeit) Verzögerung abrufen Antwort: 0x00 0xCA Byte[4] Stosslüftung (Min)

Sowie sie eine einschaltbare Automatikfunktion : 0x00 0x99 Stufe setzen Daten: Byte[1] 0x00 = Auto

Bypasssteuerung per Schalter wäre auch noch cool!
Kommando: 0x00 0x09 Klappen setzen Daten: Byte[1] Byte[2] Bypass (1 = offen / 0 = geschlossen / 3 = Stop)

Aber nochmal der Adapter ist bereits super!

Update stable version in repo from 1.1.8 to 1.1.9

Think about update stable version to 1.1.9

Version: stable=1.1.8 (324 days old) => latest=1.1.9 (30 days old)
Installs: stable=151 (69.27%), latest=9 (4.13%), total=218

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

Please check ioBroker.comfoair with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/forelleblau/ioBroker.comfoair

ERR:["E112","E125","E201","E300"]:ERR

Thanks,
your automatic adapter checker.

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

readComfoairData - Fehler: ReferenceError: buffar is not defined

Hallo zusammen

kriege seit dem Update auf 1.1.2 den Fehler "readComfoairData - Fehler: ReferenceError: buffar is not defined" im Log.
Der Adapter läuft aber.

Wäre froh um einen Input.

Grüsse
Ivo

Platform: linux
Architecture: x64
Node.js: v14.15.4
NPM: 6.14.10

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/forelleblau/ioBroker.comfoair

  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.comfoair"

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Keine Daten von der ComfoAir, senden funktioniert

Hallo, erstmal Danke für die Arbeit diesen Adapter zu erstellen ,ich habe den Adapter installiert, und per ser2net auf einem lokalen Port über einen Seriell/USB Adapter mit meinem ioBroker verbunden, das umschalten der Lüfter stufen funktioniert auch tadellos, allerdings aktualisieren die Temperatur Objekte usw sich nicht, bzw ich habe auch schon mal Temperaturen bekommen aber nur ein einziges mal und ich weiß nicht warum habe eigentlich nichts geändert in dem Moment, irgendeine Idee woran das liegen kann das er nur sendet aber nichts empfängt im Log taucht auch immer wenn ich etwas sende die Meldung "ack is not set!" vom comfoAir Adapter auf?
PS: ich hab das ganze auch schon über nen Moxa nport5210 rs232/IP Converter probiert, ist das selbe Ergebnis.

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/forelleblau/ioBroker.comfoair

  • [E605] No actual year found in copyright. Please add "Copyright (c) 2019 [object Object]" or "Copyright (c) 20xx-2019 [object Object]" at the end of Readme

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Fix 'resetfilterh'

Das Zurücksetzen der Filterstunden funktioniert nicht.
Dafür einen Button erstellen der funktioniert.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.