This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - lambda: |- | |
| if (x.get_ibeacon().has_value()) { | |
| std::string uuid; | |
| esp_bt_uuid_t raw_uuid = x.get_ibeacon().value().get_uuid().get_uuid(); | |
| char sbuf[64]; | |
| char *bpos = sbuf; | |
| switch (raw_uuid.len) { | |
| case ESP_UUID_LEN_128: | |
| for (int8_t i = 0; i <= 15; i++) { | |
| sprintf(bpos, "%02x", raw_uuid.uuid.uuid128[i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| substitutions: | |
| room_name: 'Living Room' | |
| device_name: 'living-room-esp32' | |
| friendly_name: 'Living Room ESP32' | |
| description: 'Living Room Touch LCD with MQTT Room, Glucose Levels and Fireplace Temperature' | |
| static_ip: 192.168.1.25 | |
| esp32: | |
| board: esp32dev | |
| framework: |
OlderNewer