Hi all,
I managed to reverse engineer the bluetooth protocol that BlindsEngine app uses to control the AM43 Blinds Drive Motor. I created a binding built on top of the openhab official bluetooth binding that allows for control of most of the motor’s information.
Things you can control/access:
- Up/down/stop motor controls
- device configuration data
- light sensor data
- motor battery level
These motors can go under many names, the one I’m personally testing against is the A-OK blinds motor that I got on amazon, but much cheaper versions can be found on aliexpress.
I’m not sure what the best way to setup the repository for snapshots so for now I’m just shoving them in another branch and uploading them manually for people to try out.
Also through the course of debugging, I’ve also made some stability improvements to openhab’s official bluetooth plugins. These snapshots are completely optional and are not necessary for the am43 binding to work. I’m still waiting on the PR to go through with them but until they go through My changes are already in the latest official snapshot build, but for those that don’t want to build them yourselves, you can get them here:
Here is the repository for those that want to look at the source:
Details of use:
- Requires the official bluetooth binding, I didn’t go with the unofficial one since it seems that it is broken and not getting supported anymore.
- It should be discovered automatically but if not you can create the Thing manually with the bluetooth address.
- There are a lot of channels to use but the primary one is the bluetooth:am43:xxxx:position channel. That one has most of the Rollershutter functionality working and tested,
but I still need to test for percentage supportPercentType is fully supported. - Light sensor values will range from 0 - 10, Could be useful for having blinds activate automatically in harsh sun.
Edit 1:
I finished writing the readme, you can find it in the repository link above. Cheers!