0.0.1 • Published 7 years ago

homebridge-digitalstrom v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

homebridge-digitalSTROM

Homebridge platform plugin for the digitalSTROM Smart Home System

Notes:

  • Tested and works on cFlat - Smart Home Gateway cFlat is an docker integration platform on RPI for easy integration of various devices into the Apple Home Kit universe.

  • homebridge-digitalSTROM 0.0.x is a preliminary release intended primarily for developers and advanced users only

Supports the following types

digitalSTROM-Scenes

SceneDescriptionNote
ApartmentRepresents a digitalSTROM Apartment-Scene
ZoneRepresents a digitalSTROM Zone-Scene
GroupRepresents a digitalSTROM Group-Scene
NamedRepresents a digitalSTROM Named-Scene(todo)
DeviceRepresents a digitalSTROM Device-Scene

digitalSTROM-Devices

GroupColorHW-InfoOutput-ModeModeIDClass
-(all)-TKPush button interface-nop
LightYellowGE-KL200Switched-LightDevice
GE-*Switched16LightDevice
Dimmed(rest)LightDevice
ShadeGreyGR-KL200Blinds (Rolladen)ShadeDevice (Horizontal noSet)
GR-KL210Curtains (Markise)ShadeDevice
GR-KL220Shutter (Jalousie)ShadeDevice (Vertical noSet)
ClimateBlueBL-*??todo
dS-iSens200??todo
SecurityRedRT-*??todo
AccessGreenGN-*??todo

digitalSTROM-Sensors

NameClassNote
dSMeterEnergyMeteronly Eve-App

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-digitalSTROM
  3. Update your configuration file. See config.json in this repository for a sample.

Configuration

Configuration sample:

    "platforms": [
        {
            "platform":     "digitalSTROM",
            "name":         "digitalSTROM",
            "url":          "https://dss.local:8080",
            "caFile":       "cert/cert.pem",
            "appToken":     "myapptoken",
            "lang":         "de",
            "refreshEvent": "60",
            "exclude": []
        }
    ],

i18n Translation

File-Documentation

File: $HOME/data/locales/XX.json

Obtaining appToken

https://dss.local:8080/json/system/requestApplicationToken?applicationName=cFlat

Create Certs

openssl s_client -connect {HOSTNAME}:{PORT} -showcerts </dev/null 2>/dev/null|openssl x509 -outform PEM >cert.pem

openssl s_client -connect testrack2.aizo.com:58080 -showcerts </dev/null 2>/dev/null|openssl x509 -outform PEM >cert.pem

Siri digitalSTROM Commands (Deutsch)

CommandSampleNote
Typen
Schalte mein/e Lampen im Raum ein/ausSchalte meine Lampen im Wohnzimmer einHomekit Raum
Scene
Schalte mein/e dSS-Scene-Name einSchalte Wohnung Abwesend ein
Aktiviere Scene-NameAktiviere AbwesendHomekit Szene
Light-Device
Schalte dSS-Device-Name ein/ausSchalte Wohnzimmer-Sofalampe ein/aus
Dimme mein/e dSS-Device-Name auf XX %Dimme meine Wohnzimmer-Sofalampe auf 50%
Shade-Device
Öffne dSS-Device-NameÖffne den den Schlafzimmer-Rolladen
Setze dSS-Device-Name auf xx %Setze den Schlafzimmer-Rolladen auf 50%

Roadmap / ToDo

  • Work with self signed cert (tempfix see dss.js)
  • Enhance multi-language support.

Following things are to be developed next:

  • Add/Remove device to Homekit-Room
  • Change Device-Name
  • NamedScenes
  • Climate (blue) devices
  • Joker (black) devices
  • Access (green) devices
  • digitalSTROM-Sensor

Copyright and license

Copyright 2017, 2017 cgHome under MIT License