Jean-PhilippeD / gladys-enocean

0 stars 0 forks source link

Gladys EnOcean (alpha)

Gladys hooks to control EnOcean devices.

Remember: This module is still in Alpha. If you have any devices (eep) which does not work, don't hesitate to open an issue so we'll work to add support

Installation

Key Value
enocean_usb_port THE_USB_PORT_NAME_YOU_FOUND

Usage

How to learn device

$ gladys.modules.enocean.learn({
   id: "your device id",
   eep: "your device eep",
   manufacturer: "manufacturer- not mandatory",
   desc: "the name you want to give for your device"
})

How devices works

Status Value
open 1
closed 0
on 1
off 0
A0 1
A1 2
B0 3
B1 4
released 5
eep
a5-07-01
a5-02-05
d5-00-01
f6-02-03
d2-xx-xx (partially)

Others devices may works. It's based on node-enocean which support a lot of equipments. I've just tested with mine.

If you have any devices which does not work, don't hesitate to open an issue so we'll work to add support

To use an actuator device like this one:

http://nodon.fr/enocean/module-encastre-enocean-1-canal_16-1

$ gladys.deviceType.exec({
   id: "your device id",
   value: 1 // means A0
})

Be carefull to send a On value (ie: A0), if you send a Off value (A1) it will bind the device in the wrong way.