Code Monkey home page Code Monkey logo

bler's Introduction

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

bler's People

Contributors

reverieline avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.