Giter Site home page Giter Site logo

koenvervloesem / esphome-heart-rate-display Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 2.0 1.84 MB

ESPHome configuration for a Bluetooth Low Energy heart rate display on an M5Stack Core or LilyGO TTGO T-Display ESP32

License: MIT License

Makefile 100.00%
esp32 ble heart-rate bluetooth-low-energy heart-rate-sensor heart-rate-monitor m5stack m5stack-core ttgo-t-display lilygo esphome esphome-config esp32-arduino

esphome-heart-rate-display's Issues

send a value to the bt-Device

Hi,
i am using your example for a Radon sensor (Radoneye). So far i can read the last value from the sensor with this. But my sensor needs to write a value to a characteristic in order to send a produce an updated value. Any idea how i could manage this with BLETracker?

The code would be:

BLERemoteCharacteristic* p2RemoteCharacteristic;
...
p2RemoteCharacteristic = pRemoteService->getCharacteristic(char24UUID);
if(p2RemoteCharacteristic->canWrite()) {
p2RemoteCharacteristic->writeValue(0x50);

After this a new sensor value is send on a second characteristic.

Thaks for your help,

Michi

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.