AWOX-MESH-LIGHT-WEBTHING
Webthings RESTful API for Awox’s “SmartLight” (SKRLm-c9-E27).
This lightbulb is supporting Bluetooth mesh.
USAGE
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"
DEVELOP
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
RESOURCES
Metadata
Release files for awox-mesh-light-webthing 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| awox-mesh-light-webthing-0.0.8.tar.gz | 5.4 kB | Without provenance | Details for awox-mesh-light-webthing-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| awox_mesh_light_webthing-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for awox_mesh_light_webthing-0.0.8-py3-none-any.whl |
Total release size: 11.9 kB
Release files / awox-mesh-light-webthing-0.0.8.tar.gz
| Download URL | awox-mesh-light-webthing-0.0.8.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e11652e1b20cf50930b6c1857dbda41e43abe0820b129954a0e163f0820a2e25
|
|
BLAKE2b-256 checksum How to use checksums |
243b405bf40aff5574523b1006c92a8361b12006973307cbd4749cb1148bf940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / awox_mesh_light_webthing-0.0.8-py3-none-any.whl
| Download URL | awox_mesh_light_webthing-0.0.8-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31b1f1aafd4d6cc2bf95b288c3bf7fcbc66abe868d1a2c921064f52cb23aef70
|
|
BLAKE2b-256 checksum How to use checksums |
9e5df67bd5e1a97f1ea659957ddec4da1889731b274b09580a983bdaaf64fee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Security for awox-mesh-light-webthing 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.