kedars / rainmaker-ble-wifi-bridge

BLE - Wi-Fi Bridge with ESP RainMaker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLE - Wi-Fi Bridge Example

Requirements

  • Hardware
    • ESP32
  • Software
    • ESP-RainMaker: Follow the ESP RainMaker Documentation Get Started section
    • Download the ESP RainMaker iOS/Android phone app

Build and Flash

$ git clone https://github.com/dhrishi/rainmaker-ble-wifi-bridge
$ cd rainmaker-ble-wifi-bridge
$ RAINMAKER_PATH=/path/to/where/esp-rainmaker/exists idf.py build flash monitor

What to expect in this example?

  • This example showcases a BLE - Wi-Fi bridge to facilitate access to registered BLE devices over the cloud.
  • These BLE devices are discovered by the bridge and are represented as RainMaker devices which can be seen and controlled through the iOS/Android app.
  • When a parameter update is received to ESP32 over Wi-Fi from the iOS/Android app, it is mapped to the format accepted by the corresponding device and a characteristic write over BLE for is executed. This results into the actual action on the BLE device.
  • For demonstration, bridging of a Syska Light and a PLAYBULB CANDLE is implemented in this example.

Reset to Factory

Press and hold the BOOT button for more than 3 seconds to reset the board to factory defaults. You will have to provision the board again to use it.

About

BLE - Wi-Fi Bridge with ESP RainMaker


Languages

Language:C 98.7%Language:CMake 1.3%