I have some battery-less wall switches based on Dolphin/EnOcean PTM 215B that I'd like to integrate (technical manual can be found here).
My setup:
- Raspberry Pi 3B
- openHAB 2.3
- Raspbian Stretch
- Bluez 5.43
- Generic BLE 4.0 USB adapter
Some information that I found out so far:
- Bluetooth version unclear for me (but maybe not relevant)? I guess BLE 4.0 or BLE 4.2.
- Currently, the wall switches don't get discovered at all. Neither via this binding nor via
bluetoothctl (also not when trying to do radio-based commissioning according the docs, chapter 5.3). Other BLE devices are found without any issues.
- According to the docs, the wall switches send data telegrams on each press/release event on all three advertising channels. The data channels aren't used at all.
- Authentication should happen via AES-128 CCM (counter with CBC-MAC), the security key can be read manually via QR Code on the switch, via NFC or with radio-based/BLE commissioning. But radio-based/BLE commissioning is maybe disabled, depending on the manufacturer where the end product was bought. EnOcean's default is enabled. If disabled, it can be reenabled via NFC. Anyhow, for a start I'd prefer to manually read the security key via QR code and put it statically to a textual configuration, as it seems to be the simplest approach to start with.
@vkolotov: I'm a ESH/openHAB developer, but I'm quite new to the BLE protocol. If you could give me some hints and point me to the right direction, I may could come up with a PR.
I have some battery-less wall switches based on Dolphin/EnOcean PTM 215B that I'd like to integrate (technical manual can be found here).
My setup:
Some information that I found out so far:
bluetoothctl(also not when trying to do radio-based commissioning according the docs, chapter 5.3). Other BLE devices are found without any issues.@vkolotov: I'm a ESH/openHAB developer, but I'm quite new to the BLE protocol. If you could give me some hints and point me to the right direction, I may could come up with a PR.