Giter Club home page Giter Club logo

homebridge-digitalstrom's Introduction

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

Scene Description Note
Apartment Represents a digitalSTROM Apartment-Scene
Zone Represents a digitalSTROM Zone-Scene
Group Represents a digitalSTROM Group-Scene
Named Represents a digitalSTROM Named-Scene (todo)
Device Represents a digitalSTROM Device-Scene

digitalSTROM-Devices

Group Color HW-Info Output-Mode ModeID Class
- (all) -TK Push button interface - nop
Light Yellow GE-KL200 Switched - LightDevice
GE-* Switched 16 LightDevice
Dimmed (rest) LightDevice
Shade Grey GR-KL200 Blinds (Rolladen) ShadeDevice (Horizontal noSet)
GR-KL210 Curtains (Markise) ShadeDevice
GR-KL220 Shutter (Jalousie) ShadeDevice (Vertical noSet)
Climate Blue BL-* ? ? todo
dS-iSens200 ? ? todo
Security Red RT-* ? ? todo
Access Green GN-* ? ? todo

digitalSTROM-Sensors

Name Class Note
dSMeter EnergyMeter only 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)

Command Sample Note
Typen
Schalte mein/e Lampen im [Raum] ein/aus Schalte meine Lampen im Wohnzimmer ein Homekit Raum
Scene
Schalte mein/e [dSS-Scene-Name] ein Schalte Wohnung Abwesend ein
Aktiviere [Scene-Name] Aktiviere Abwesend Homekit Szene
Light-Device
Schalte [dSS-Device-Name] ein/aus Schalte 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

homebridge-digitalstrom's People

Contributors

cghome avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-digitalstrom's Issues

Accessories Issue

After starting Homebridge and creating Accessories this error follows:

Accessories must be created with a non-empty displayName

Any Idea?

Installation in Homebridge

Hallo ich wollte Digitalstrom für Homebridge installieren aber es klappt nicht.
Dieses wird mir bei der Installation ausgespuckt.
Wie bekommt man es hin?

Bildschirmfoto 2021-09-05 um 15 22 36

Installation failed

USER: homebridge
DIR: /volume1/homebridge
CMD: npm install --save [email protected]

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /var/packages/homebridge/home/.npm/_logs/2023-01-15T18_53_40_691Z-debug-0.log

Operation failed. Please review log for details.

I cannot find the log file. Folder "packages" doesn´t exist.

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.