This package has been deprecated

Author message:

This package has been renamed to vcontrol. Install package vcontrol instead.

vcontrol-client

0.0.5 • Public • Published

VControl Client

VControlD client to connect to a running vcontrold service. The client can read data from the service by sending a get command or write data by sending a set command. The available commands can be obtained when connecting with telnet to the vcontrold service and send commands.

Details on how to set up the hard- and software to get a vcontrold server running can be found in the OpenV-Wiki.

Disclaimer

You use this software at your own risk. I can not be held liable for anything that happens to your heating system, including any damage, by the use of this software.

Installation

Install with npm

npm install vcontrol-client

Example

const VControlClient = require("vcontrol-client")
 
vControlClient = new VControlClient({
  host: "localhost",
  port: 3002
})
 
await vControlCLient.connect()
 
let data = await vControlClient.getData("getTempA")
await vControlClient.setData("setTimerZirkuMo", ["07:00", "09:00"])
 
await vControlClient.close()

Package Sidebar

Install

npm i vcontrol-client

Weekly Downloads

2

Version

0.0.5

License

GPL-3.0

Unpacked Size

41.8 kB

Total Files

4

Last publish

Collaborators

  • nexx512