Skip to content

A JavaScript library for processing RESOL VBus data

License

Notifications You must be signed in to change notification settings

thompsa/resol-vbus

 
 

Repository files navigation

resol-vbus

A JavaScript library for processing RESOL VBus data.

NPM version Build Status Coverage Status Dependency Status devDependency Status License FOSSA Status

Features

  • Connects to various RESOL VBus devices
  • Processes live and recorded VBus data streams
  • Discovers LAN-enabled RESOL devices on the local network
  • Allows to send parameterization commands to a controller
  • Synchronizes recorded VBus data from a RESOL datalogger to your local file system
  • Converts recorded VBus data into human or machine readable formats, optionally allowing to filter the output

Documentation

You can find the work-in-progress documentation for this project here:

http://danielwippermann.github.io/resol-vbus/

The JSDoc-generated documentation is located here:

http://danielwippermann.github.io/resol-vbus/jsdoc/classes.list.html

Installation

If you want to use this module in your own application, you can just install it from the npm registry:

⌘  npm install --save resol-vbus

If you want to contribute to it you might want to check out the latest version from GitHub:

⌘  git clone https://github.com/danielwippermann/resol-vbus.git
⌘  cd resol-vbus
⌘  npm install

Running the console examples

⌘  node examples/<name>/index.js

Running the tests

To start a single run of the test suite just enter the following command into your shell:

⌘  gulp

In addition to that the project is configured to watch its own files for modification and rerun the documentation generator and test suite every time you hit save on a file. To run that just enter the following command into your shell:

⌘  gulp watch

Supported Devices & Services

Technical Information & Specifications

Known issues

  • The FileSystemRecorder class sometimes writes invalid JSON into its "SyncState.json" file causing it to not being able to restore and recover from that when the app using the recorder restarts (e.g. the "vbustouch-proxy" example).
  • The ConfigurationOptimizers do not yet detect the firmware version running on the controller to be configured. That sometimes causes configuration loads and saves to fail because unknown values are read from or written to (e.g. using the "customizer" example on a DeltaSol MX with firmware version 1.11 or below).

Short-term plans

  • Remove current ConfigurationOptimizer constructs in favor of RESOL's official support.

Changelog

Work in progress

  • This version contains several breaking changes! You have been warned...
    • Refactor code to make use of ES2018 features (using Babel to back-support up to Node.js 6)
    • Remove custom Promise implementation in favor of built-in, native one.
    • Promise return values no longer provide the finally and done methods.
    • Remove utils.promise, utils.Promise and utils.cancelablePromise.
    • Add reportProgress and checkCanceled options to ConnectionCustomizer#transceive{Configuration,Value} as a replacement to the previously used cancelablePromise solution.
  • Add RESOL DeltaSol C configuration optimizer.
  • Add support for VBus-over-TCP wrapped in TLS.

Version 0.17.0 (2018-02-10)

  • Add Buffer support to Connection#(get|set)ValueById for values larger than 32-bit.
  • Add Connection#getCaps1.
  • Add bulk value transaction support to Connection class.
  • Add support to generate and parse "type 9" comment records using VBusRecordingConverter.
  • Make it easier to create a Specification from a SpecificationFile.
  • Extend vbustouch-proxy example with text data logging feature.
  • Update dependencies.
  • Some minor bug fixes.

Version 0.16.0 (2017-02-01)

  • Use VSF binary file to load VBus specification data
  • Add support to read and write raw data in VBus recordings
  • Extend VBusRecordingConverter to support fast topology-only scan
  • Code clean up
  • Several minor bug fixes

Version 0.15.0 (2016-03-30)

  • Update VBus specification data
  • Several minor bug fixes

Version 0.14.0 (2015-10-29)

  • Improve configuration optimizers and their discovery
  • Update VBus specification data

Version 0.13.0 (2015-05-14)

  • Add configuration optimizers for RESOL DeltaSol SLT
  • Add BlockType support

Version 0.12.2 (2015-05-05)

  • Update VBus specification data

Version 0.12.1 (2015-04-27)

  • Add configuration optimizers for RESOL DeltaSol MX and BS/4 v2
  • Add a simple JSON live data server example
  • Add some documentation
  • Several bug fixes

Version 0.12.0 (2015-02-28)

  • Add vbustouch-proxy example
  • Add support for rounding floating point numbers

Version 0.11.1 (2014-11-04)

  • Fix a floating point bug caused by setRawValue

Version 0.11.0 (2014-10-29)

  • Added support for setting packet field values
  • Several bug fixes

Version 0.10.0 (2014-04-26)

  • Finalized support for customizing controller configuration.
  • Several bug fixes.

Version 0.9.0 (2014-03-16)

  • Completed Recorder class by adding support for recording
  • Added unit conversion to VBus specification
  • Several bug fixes.

Version 0.8.0 (2014-03-03)

  • Extended Converter and VBusRecordingConverter to support object mode in stream (for performance reason)
  • Fixed several bugs
  • Increased test coverage and completed documentation.

Version 0.7.0 (2014-02-17)

First release to the NPM registry.

Contributors

  • Thorsten Müller
  • Paul Hanna
  • Sabine Käß

Legal Notices

RESOL, VBus, VBus.net and others are trademarks or registered trademarks of RESOL - Elektronische Regelungen GmbH.

All other trademarks are the property of their respective owners.

License

The MIT License (MIT)

Copyright (c) 2013-2018, Daniel Wippermann.

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.

FOSSA Status

About

A JavaScript library for processing RESOL VBus data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%