Update README.md for Beta Release 0.0.6a

This commit is contained in:
sudoxnym 2024-05-29 16:55:41 -06:00 committed by GitHub
parent 50d09aea3a
commit 7fbbcc3fcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,9 +67,6 @@ data:
&nbsp;&nbsp;Asleep States: States to indicate being asleep</br> &nbsp;&nbsp;Asleep States: States to indicate being asleep</br>
&nbsp;&nbsp;Mobile App: Target for buttons </br></br> &nbsp;&nbsp;Mobile App: Target for buttons </br></br>
Please report any issues.</br>
This is my first integration.
Built this in less than a week, with no prior knowledge of Python.
<h3>Changes:</h3> <h3>Changes:</h3>
@ -89,3 +86,49 @@ Last logged: 3:55:19 PM
Failed to load integration: saas Failed to load integration: saas
NoneType: None</pre> NoneType: None</pre>
No known effects. Just an error message, everything works as expected. No known effects. Just an error message, everything works as expected.
<h3>Set Up Notify for <a href="https://www.amazon.com/Xiaomi-Activity-Tracker-High-Res-Bluetooth/dp/B0B2DK5YCP">MiBand 7</a> (as of May 29, 2024)</h3>
1. Pair MiBand 7 as you normally would with <a href="https://play.google.com/store/apps/details?id=com.xiaomi.wearable&hl=en_US">Mi Fitness</a> app </br>
2. Obtain auth key for Notify app. Connect to pc with usb and open your adb <a href="https://developer.android.com/tools/releases/platform-tools">SDK Platform-Pools</a>, or if you're more advanced, connect wirelessly</br>
Windows:</br>
&nbsp;&nbsp;2a. Open folder with adb in it</br>
&nbsp;&nbsp;2b. Right click a blank spot within the folder</br>
&nbsp;&nbsp;2c. Open in terminal</br>
&nbsp;&nbsp;2d. <pre>./adb shell</pre>
&nbsp;&nbsp;2e. <pre>grep -E "authKey=[a-z0-9]*," /sdcard/Android/data/com.xiaomi.wearable/files/log/XiaomiFit.device.log |
awk -F ", " '{print $17}' | grep authKey | tail -1 | awk -F "=" '{print $2}'</pre>
&nbsp;&nbsp;2f. Copy/clipboard the output. Disconnect phone, close ADB.</br>
&nbsp;&nbsp;&nbsp;&nbsp; Credit: <a href="https://www.reddit.com/r/miband/comments/15j0rfq/comment/kxlyzc6/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button">iamfosscad</a></br>
3. Uninstall Mi Fitness
4. Download/Install <a href="https://play.google.com/store/apps/details?id=com.mc.miband1&hl=en_US">Notify for Mi Band (up to 7)</a></br>
5. Follow the prompts, enable any permission it asks for, create the profile, input Auth Key, and select Mi Fitness is not installed</br>
6. Open the hamburger menu on the top left</br>
7. Search > Search for "Sleep"</br>
8. Turn on Sleep as Android
9. Choose the four squares in the upper right</br>
10. Scroll to and choose "Custom triggers"</br>
11. Turn on Fell Asleep and set to Sleep as Android - Start sleep tracking</br>
12. Turn on Awoke and set to Sleep as Android - Stop sleep tracking</br>
13. Enjoy</br></br>
<h3><a href="https://play.google.com/store/apps/details?id=com.urbandroid.sleep&hl=en_US">Sleep as Android</a></h3>
1. Open the app and follow setup</br>
2. Settings wheel in top right > Services > Automation</br>
3. MQTT</br>
&nbsp;&nbsp;3a. URL
<pre>(tcp/ssl)://(MQTT User):(MQTT Pass)@(HA URL):(port)</pre>
&nbsp;&nbsp;3b. Topic > something recognizable. You need this exact topic in HA Integration Config.</br>
&nbsp;&nbsp;3c. Client ID > I set the same, not sure if it should be, but it works.</br>
&nbsp;&nbsp;3d. Test > Wait for "Success" toast message</br>
4. Back to app settings > Sleep tracking > </br>
&nbsp;&nbsp;4a. Automatic Sleep Tracking > After fall asleep</br>
&nbsp;&nbsp;4b. Sensor > Sonar (if placing phone on a bedside table) Accelerometer (if placing on bed next to you)</br>
&nbsp;&nbsp;4c. Wearables ></br>
&nbsp;&nbsp;&nbsp;&nbsp;4c1. Wearables > Xiaomi Mi Band > Test sensor</br>
&nbsp;&nbsp;&nbsp;&nbsp;4c2. Heart rate monitoring (optional)</br>
&nbsp;&nbsp;4d. Pair tracking (optional)</br>
5. Enjoy (optional)</br></br>
Please report any issues.</br>
This is my first integration.