Sigvehag/Mqtt-BLE: Arduino File For Using A ESP32 As A ... - GitHub

Skip to content Dismiss alert {{ message }} / Mqtt-BLE Public
  • Notifications You must be signed in to change notification settings
  • Fork 1
  • Star 1

Arduino file for using a ESP32 as a listening device for Bluetooth devices. Sends message over MQTT when given devices are found. Useful for presence detection in home automation.

1 star 1 fork Branches Tags Activity Star Notifications You must be signed in to change notification settings
  • Code
  • Issues
  • Pull requests
  • Actions
  • Projects
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options sigvehag/Mqtt-BLE  masterBranchesTagsGo to fileCode

Folders and files

NameNameLast commit messageLast commit date

Latest commit

 

History

5 Commits
ESP32_MQTTESP32_MQTT  
.gitattributes.gitattributes  
.gitignore.gitignore  
README.mdREADME.md  
View all files

Repository files navigation

  • README
Mqtt-BLE

An ESP32-arduino file for using the ESP32 as a listener for bluetooth devices. Set your device MAC-addresses in the code, and your topic/payload for the mqtt, and the ESP32 will send MQTT-messages as long as it sees the given devices.

If you need more devices just add more addresses, and if you need more people, just copy/paste the if-statements in the loop()-function at the bottom of the code.

To transfer this code to your ESP32:

Go to File -> Preferences -> Additional Boards Manager URLs and add the following link: https://dl.espressif.com/dl/package_esp32_index.json

Go to Tools -> Board -> Boards Manager and search for ESP32. Choose install.

When the Install is finished restart Arduino and select Tools -> Board -> ESP32 Dev

Change Partition Scheme to No OTA(Large App)

Verify and Upload the code and you should be good to go.

The code will output debug-messages to Serial 115200, so it's probably a good idea to monitor this the first time you run it.

About

Arduino file for using a ESP32 as a listening device for Bluetooth devices. Sends message over MQTT when given devices are found. Useful for presence detection in home automation.

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork Report repository

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%
You can’t perform that action at this time.

Tag » Arduino Ble Mqtt