-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
You can install the application via the .apk file, the latest version of which you can find in repository section Releases. After downloading the .apk file of the application, click on it and allow your OS to install the application from this file
Before connecting the application to lamps with BLightESP32 firmware, you can configure it in the Settings
section (drop-down menu on the main screen):
To use the app, you will need to give permission for the app to access Bluetooth and your location on the device
- Launching the application:
- We set the slider
RSSI threshold
to the required value, which is measured indBm
and interprets the distance to the lamp. The larger theRSSI threshold
reading is modulo, the larger the lamp search area will be. Then click the search button:
- If the lamps are found, the control panel will be displayed on the screen:
- Using the sliders, select the desired values of color temperature and brightness, then press the
Send
button, which sends the selected mode to all connected lamps:
- To disconnect from the lamps, just go to the main screen of the application via the mobile phone action button
Back
The application also has an advanced usage mode that allows you to see all the nearest Bluetooth devices, as well as their RSSI in real time, services and performance values.
- To switch to advanced mode, you need to click the drop-down menu icon on the top right of the main application screen and select
Developer mode
:
- After pressing the
Scan
button, a list of all available Bluetooth devices nearby will appear on the screen with their names, MAC addresses and RSSI levels displayed:
- Clicking on a device from the list will display a dialog box that contains the name of the device, its address, the type of Bluetooth device, as well as the connection and exit buttons of the dialog box:
- After successfully connecting to the device, all its services and characteristics will be displayed on the screen. You can find out the values of the characteristic by clicking on it, the type of characteristic will also be displayed in a pop-up message (
Readable
,Writeble
, etc.). If the characteristic isWriteble
, a dialog box will appear to record the value:
- In the device search interface, there are also
Filter on/off
andMultiple connect
buttons next to theScan
button. The first of them includes a filter when searching for devices and displays only those devices on which the pre-configured BLightESP32 firmware is installed, the second button starts multiple connection to all found devices with BLightESP32 firmware: