Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

atrovato/gladys-awox

Repository files navigation

gladys-awox

Managing Awox light devices with Gladys

Installation

Raspberry requirement

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`)

Gladys installation

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:

Module configuration

1. Module configuration

Start analyse

2. Bluetooth scan

Wait until analyse is done

1. Bluetooth scanning

Device configuration

1. Configure device

And fill all information about the device.

Compatibility

Following devices have been tested :

  • SmartLIGHT c7 : on/off, brightness, color
  • SmartLIGHT w9 : on/off, brightness
  • SmartLIGHT Mesh color : on/off, brightness, color

Awaited functionalities

  • 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

Limitations

  • Do not work when Gladys-bluetooth is enabled
  • Original AwoX application not usable for Mesh devices

More

Translated for Python Leiaz Python AwoX Mesh Light project to Javascript.

Thanks to Leiaz.