moustic999 / gladys-fhem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gladys Fhem

Gladys hooks to provide control on your devices through FHEM. Gladys communicate with FHEM through telnet so it can control any devices configured onto FHEM.

Usefull for controlling either Z-wave, EnOcean, RFx or any protocol supported by FHEM.

Need Gladys version >= 3.0.0.

Documentation

FHEM side

In order Gladys detect your devices, you have to delcare your devices with specific keyword in the name:

  • for Temperature sensor: temperature
  • for Motion sensor: motion
  • for Humidity sensor: humidity
  • for Brightness sensor: brightness
  • for Switchs 4 buttons: switchs
  • for Binary (on-off state button): actuator
  • for Door contact sensor: contact

If your device does multiple sensor, just add each sensor type in your name.

For example, a device which does both brightness and motion sensor you need to name it as:

  • yourDeviceId_brightness_motion

Be sure to get unique naming of course.

Gladys side

To install this module :

  • Install the module in Gladys.
  • Change the default FHEM parameters (FHEM_PORT and FHEM_HOST).
  • Reboot Gladys.
  • Then, launch Configuration on FHEM Module, your devices should have been automaticaly detected.

Once installed, you can run exec command or build launcher based on received values. Value are mapped from FHEM to Gladys like this:

  • on = 1
  • off = 0
  • closed = 0
  • open = 1
  • A0 = 1
  • AI = 2
  • B0 = 3
  • BI = 4

Dev

This module has been tested only with EnOcean Devices, it could be different for Z-Wave, if you need compatibility, feel free to push me your request (with z-wave identifier from FHEM or any other protocol).

About


Languages

Language:JavaScript 100.0%