Skip to content

ESP32 BLE remote for ZhiJia (ZhiGuang) LED controller

License

Notifications You must be signed in to change notification settings

reverieline/bler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLER

ESP32 BLE remote control for ZhiJia (ZhiGuang) LED controllers.

Usage

  1. Flash firmware to ESP32 devboard.
  2. Connect to BLER_AP WiFi access point (password: 12345678) and configure home network connection.
  3. Send GET requests to HTTP command endpoint: http://<device ip>/cmd/<command name><room id: 0..9>

Binding

To bind device to room 1:

  • Power off device.
  • Direct your browser to http://bler.lan/cmd/bind1 .
  • Simultaneously power on device. The device should blink several times to indicate successful binding.

Unbinding

To unbind device use the same steps s for binding:

  • Power off device.
  • Direct your browser to http://bler.lan/cmd/unbind1 .
  • Simultaneously power on device. The device should blink several times to indicate successful binding.

Room 0

To send command to all devices, use room id 0. For example, to put all light on, send GET request to http://bler.lan/cmd/on0

Available commands

  • bind - bind device to remote, to specific group (room)
  • unbind
  • on
  • off
  • a - put first LED channel to max brightness and second channel to zero
  • b - put second LED channel to max brightness and first channel to zero
  • ab - both LED cahnnels to max brightness
  • night

About

ESP32 BLE remote for ZhiJia (ZhiGuang) LED controller

Resources

License

Stars

Watchers

Forks

Packages

No packages published