Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
ble_mqtt_gateway [21.08.2018 20:41] – created Pascal Suter | ble_mqtt_gateway [08.01.2019 00:40] – [Flashing] Pascal Suter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BLE MQTT Gateway ====== | ====== BLE MQTT Gateway ====== | ||
- | the idea here is to have an esp32 based gateway which detects BLE Beacons and reports them to an MQTT server for presence detection to open doors, turn on lighs etc. | + | the idea here is to have an esp32 based gateway which detects BLE Beacons and reports them to an MQTT server for presence detection to open doors, turn on lighs etc. |
- | so far this is a collection of research waiting | + | On the software side i decided |
- | [[https:// | + | After Reading some git hub issues and blog posts I decided to trop the esp32 and go for an [[https:// |
- | [[https:// | + | here is how it connects: |
+ | ^ pin on ZS-040 ^ pin on D1 mini ^ | ||
+ | | RX | D6 | | ||
+ | | TX | D7 | | ||
+ | | VCC | 5V | | ||
+ | | GND | G | | ||
+ | |||
+ | ===== Flashing ===== | ||
+ | with the hardware in place let's get the software side done: first I [[setup_arduino_ide_for_esp8266]]. Now download [[https:// | ||
+ | |||
+ | open the '' | ||
+ | |||
+ | now Copy the contents of '' | ||
+ | |||
+ | **NOTE** make sure you have '' | ||
+ | |||
+ | the web-interface to configure the wifi and mqtt settings seems to only be available in access point mode. |