homestar-knx
v1.0.2
Published
IOTDB Bridge for KNX
Downloads
30
Readme
homestar-knx
IOTDB bridge for KNX, the OSI-based network communications protocol for intelligent buildings.
About
See:
https://en.wikipedia.org/wiki/KNX_(standard)
http://www.knx.org/knx-en/index.php
Installation and Configuration
Then:
$ npm install -g homestar ## may require sudo
$ npm install homestar-knx
This project is based on KNX.js. Apply these settings, substituting what is appropriate for your environment.
homestar set "/bridges/KNXBridge/initd/host" '192.168.80.101'
homestar set "/bridges/KNXBridge/initd/port" 3671
homestar set "/bridges/KNXBridge/initd/tunnel" "udp://0.0.0.0:13671"
If you don't want to configure it your can pass in "host", "port" and "tunnel" when you initialize your Things.
Models
See the samples folder for examples on how to configure these with your GA.
KnxDimmer
Light at 50% brightness
{
"on": true,
"brightness": 50
}
KnxLight
Light is on
{
"on": true
}
KnxShutter
Fully open shutter
{
"open": 100,
}
Fully closed shutter
{
"open": 0
}
KnxSwitch
{
"on": true
}
KnxValueBoolean
{
"value": true
}
KnxValueInteger
{
"value": 255
}