ycardon / gigaset-elements-proxy

a simple web and MQTT bridge with gigaset-elements APIs (no more maintained)
GNU General Public License v3.0
18 stars 5 forks source link
gigaset-elements home-assistant mqtt nodejs

This project is not maintained anymore (I no more use Gigaset Element devices)

If you are using HomeAssistant, you can check https://github.com/dynasticorpheus/gigasetelements-ha as a replacement

gigaset-elements-proxy v2.2.7

Is a very simple gateway to gigaset-elements API:

As gigaset-elements does not provide local network APIs, I use it to access my equipement from https://home-assistant.io

Known Vulnerabilities

raw Gigaset APIs

These are the API that are published on Gigaset Cloud, gigaset-elements-proxy only re-expose them locally without authentication. Note that if you're reading this page on github, theses links does not work: you have to install the project.

convenience APIs

These extra APIs are based on raw Gigaset APIs and apply light treatment in order to make them easier to use in a 3rd party application. Note that if you're reading this page on github, theses links does not work: you have to install the project.

MQTT events

gigaset sensor type gigaset event type mqtt topic mqtt value
ds02 door sensor open gigaset/<sensor name> true
ds02 door sensor close gigaset/<sensor name> false
ws02 window sensor open gigaset/<sensor name> true
ws02 window sensor tilt gigaset/<sensor name> true
ws02 window sensor close gigaset/<sensor name> false
ps02 motion sensor movement gigaset/<sensor name> true
ps02 motion sensor delayed after movement gigaset/<sensor name> false
ycam motion sensor yc01.motion gigaset/<sensor name> true
ycam motion sensor delayed after yc01.motion gigaset/<sensor name> false
sp01 siren on gigaset/<sensor name> true
sp01 siren off gigaset/<sensor name> false
sd01 smoke detector smoke_detected gigaset/<sensor name> alarm
sd01 smoke detector test gigaset/<sensor name> test
sd01 smoke detector delayed after test gigaset/<sensor name> default
sd01 smoke detector smoke_no_longer_detected gigaset/<sensor name> default
sd01 smoke detector end_sd01_smoke_detected gigaset/<sensor name> default
sd01 smoke detector end_sd01_test ignored
um01 universal sensor open gigaset/<sensor name> true
um01 universal sensor tilt gigaset/<sensor name> true
um01 universal sensor close gigaset/<sensor name> false
basestation: alarm mode changed isl01.bs01.intrusion_mode_loaded gigaset/<base name> <new alarm mode>
any sensor battery_critical gigaset/<sensor name>_battery battery_critical
allow_unknown_events is true any other event gigaset/<sensor name> <gigaset event type>

installation

option 1 - as a Hassio addon

point to this custom repository

https://github.com/ycardon/hassio-addons

option 2 - from git

> git clone https://github.com/ycardon/gigaset-elements-proxy
> cd gigaset-elements-proxy
> npm install
> vim config/default.yaml
> node app.js

option 3 - from npm

install
> [sudo] npm install gigaset-elements-proxy -g

locate then edit config/default.yaml with
> npm list gigaset-elements-proxy

run
> ge-proxy

then

Have a look on the examples directory for instructions on creating a service or configure the sensors inside home-assistant

You can get extra help on this home-assistant community topic or in the issue section

You can also check https://github.com/lorenwest/node-config/wiki/Configuration-Files

restrictions

improvements

v1.3.2 Halloween (1 november 2018)

v1.3.5 Armistice (11 november 2018)

v1.4.6 Happy new year (24 february 2019)

v1.5.5 Spring (5 april 2019)

v2.0.0 Typescript (11 april 2019)

v2.1.5 Labour Day (1 may 2019)

v2.2.0 Hassio (24 sept 2019)

v2.2.1 Universal (18 oct 2019)

v2.2.6 Confinement (14 avril 2020)

credits

building the project