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
/dev/ttyACM0
, you can rename through udev rules).
You can try to execute ls /dev/tty*
before and after pluggging the USB stick to find which port it is.Key | Value |
---|---|
enocean_usb_port | THE_USB_PORT_NAME_YOU_FOUND |
$ 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"
})
You can remove/forget a device by script:
$ gladys.modules.enocean.forget("your device id")
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
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.