Webthings RESTful API for Awox's "SmartLight" (SKRLm-c9-E27).
This lightbulb is supporting Bluetooth mesh.
Prerequisite, smart light BLE's network configuration should be first set from any system supporting BLE as explained on following page. Success has been reported using Raspberry Pi3+ or some USB dongle (eg: 0a12:0001)
For WebThings users, addon can be installed from the addon repository:
Then once added and enabled, mesh's credentials should be configured from addon page:
Note: Mesh's default name is "unpaired" and "1234" is default password.
For developers, check standalone webthing example:
MAC=A4:C1:38:FF:FF:FF ./awox_mesh_light_single_webthing.py curl http://localhost:8888/properties #| {"on": true, "brightness": 50, "color": "#ffffff"} curl -X PUT --data '{"color": "#00A000"}' \ -H 'Content-Type: "application/json" ' \ "http://localhost:8888/properties/color"
On WebThings Gateway, adapter can be run from shell using:
sudo hcitool lescan #| LE Scan ... #| A4:C1:38:ff:ff:ff unpaired #| A4:C1:38:ff:ff:ff (unknown) pip3 install --user -r requirements.txt MAC=A4:C1:38:ff:ff:ff ./main.py
- https://purl.org/rzr/
- https://github.com/Leiaz/python-awox-mesh-light
- https://iot.mozilla.org
- https://www.amazon.fr/dp/B01L3C1V5G/rzr-21
- https://www.awox.com/en/awox_product/smartlight-mesh-c9/
- https://www.upcitemdb.com/upc/3760118941004
- https://en.wikipedia.org/wiki/Bluetooth_mesh_networking
- https://purl.org/rzr/presentations
- https://libregraphicsmeeting.org/2020/en/program.html
- WebThingsIO/addon-list#851
- https://libraries.io/pypi/webthing
- https://github.com/WebThingsIO/wiki/wiki/HOWTO:-Create-an-add-on