Comments (13)
Not all the BLE devices are compatible, the scan check for the MAC Address of the device, and some devices have a changing BLE address (normally called random instead of public address) for privacy/security reason. The same for the reading of the battery level, the device has to expose the Battery Service (0x180F) and the Battery Level characteristic (0x2A19),
I have tested successfully with:
- nut mini (work both discovery and battery level).
- Amazfit bit (works only the discovery)
- Xiomi Mi Smart Band 4 (works only the discovery)
from esp32_bletracker.
I bought a Redmond SkyTracker 08S tracker. Works. Displays the on and off status, and displays the RSSI signal strength. The battery status is always -1. Do I understand correctly that the battery status is not displayed for all devices? Although the app itself displays the battery level of the REDMOND RFT-08S tracker.
from esp32_bletracker.
Yes, the battery level can be read only from the devices providing the Battery Service (0x180F) and the Battery Level characteristic (0x2A19), check the availability using a nRF Sniffer i.e. nRF Connect. Also in this case can happen the esp32 fails to pair with the device so the battery cannot be read. Unfortunately I haven't a lot of devices to test.
I will add your device to the list of working devices 😃
from esp32_bletracker.
Installed nRF Connect and connected to the tracker. I didn't find a line about the battery. There are lines Generic Access, Device Name, Appearance, Peripheral, Preferred Connection, Generic Attribute, Nordic UART Service, TX Characteristics, RX Characteristics.
from esp32_bletracker.
Within nRF Connect you have to connect to the discovered device (it can take a while) Then you have to search for the highlighted items.
from esp32_bletracker.
Thanks for the screenshots, now everything is clear. Well, this is not critical, the main thing is that in your firmware I see the tracker and there is an on\off status. Added a mac to the white list and extra Macs are eliminated. Very convenient. For example, there is a firmware OpenMQTTGateway, it is useless, there is no normal connection with the tracker and a lot of extra. Thank you for the excellent firmware.
from esp32_bletracker.
I connected the itag tracker. Only the status works, the battery level is not displayed, although through nRF Connect there is a display of the battery level. Will it be possible to display the battery level of the itag tracker?
These are the topics I have displayed in the MQTT client
from esp32_bletracker.
Perhaps the ESP is failing to connect to the itag unfortunately I haven't one to test. I have seen a similar issue with the nut (non nut mini) of another guy but I haven't found a solution yet.
from esp32_bletracker.
I forgot, obviously you have added the itag's MAC address to the list of the devices for which the tracker has to read the batteries, right?
from esp32_bletracker.
Вы не указали еще BLE трекер iTag. Данный трекер тоже обнаруживается в вашей прошивке.
You haven't specified the iTag BLE tracker yet. This tracker is also found in your firmware.
from esp32_bletracker.
Is the itag only discovered or is the battery value read also?
from esp32_bletracker.
Only iTag is detected, and the battery is not read. The value -1 is displayed.
Обнаруживается только iTag, а батарея не считывается. Отображается значение -1.
from esp32_bletracker.
This issue has been marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
from esp32_bletracker.
Related Issues (20)
- FHEM support request HOT 16
- Add the capability to set a static IP
- FHEM Mode exceptions HOT 49
- Friendly name to the MAC address HOT 2
- MAX_NON_ADV_PERIOD in control panel HOT 3
- Retain State and Battery level after black-out HOT 2
- Wrong time reported in the logs HOT 2
- Report the date and time of the last battery level detection HOT 2
- Last battery level status HOT 9
- New firmware release notification HOT 2
- Multiple esp32 network HOT 4
- Noob needs help HOT 2
- Running extremely slow? HOT 3
- Build problem HOT 7
- Implement a Mailbox Sensor,Led and MQTT message HOT 4
- only battery state ? HOT 2
- reset HOT 7
- Feature Request: Start scan via html request HOT 14
- sysinfo is published not after 2 Minutes
- The status of the gateway is unstable HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_bletracker.