npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-digitalstrom

v0.0.1

Published

digitalSTROM plugin for homebridge: https://github.com/nfarina/homebridge

Downloads

5

Readme

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