Managing Awox light devices with Gladys
Install Raspberry Linux Bluetooth dependencies :
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
To allow the node process to access bluetooth withou sudo rights, execute :
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
Use the module store to install the module or manually using :
Name : AwoX
Version : 2.0.0
URL : https://github.com/atrovato/gladys-awox.git
Slug: awox
After installation is done and Gladys restarted, simply configure the module according to following steps:
And fill all information about the device.
Following devices have been tested :
- SmartLIGHT c7 : on/off, brightness, color
- SmartLIGHT w9 : on/off, brightness
- SmartLIGHT Mesh color : on/off, brightness, color
- Swith on/off
- Use with Gladys as binary device to switch on/off
- Auto-detect devices
- Manage RGB skill
- Manage ligth intensity
- Reset default light state
- White color (from cold to hot)
- Feedback / status state
- Do not work when Gladys-bluetooth is enabled
- Original AwoX application not usable for Mesh devices
Translated for Python Leiaz Python AwoX Mesh Light project to Javascript.
Thanks to Leiaz.