Skip to content

Instantly share code, notes, and snippets.

@imReker
Last active April 10, 2024 21:48
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imReker/fba069c6cae7407509863b0ed78da2a7 to your computer and use it in GitHub Desktop.
Save imReker/fba069c6cae7407509863b0ed78da2a7 to your computer and use it in GitHub Desktop.
plist for Apple Watch to Enable ECG v2 and Atrial Fibrillation(IRNF)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnableCardioFitnessNotifications</key>
<true/>
<key>EnableStationaryDiscordanceDetection</key>
<true/>
<key>EnableAtrialFibrillationDetection</key>
<true/>
<key>BradycardiaThresholdBPM</key>
<integer>45</integer>
<key>EnableBradycardiaDetection</key>
<true/>
<key>StationaryDiscordanceMinimumBPM</key>
<integer>120</integer>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CompletedBuddyVersion</key>
<integer>2</integer>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ElectrocardiogramWatchAppInstallIsAllowed</key>
<true/>
<key>HKAtrialFibrillationDetectionOnboardingCompleted</key>
<integer>1</integer>
<key>HKElectrocardiogramOnboardingCompleted</key>
<integer>4</integer>
</dict>
</plist>
@hadifarnoud
Copy link

no, I was not able to make the oxygen sensor work.

@Redditami
Copy link

what should we do for oxygen sensor

@klaus-771
Copy link

This playlist doesn't work at all. No EKG. No fibrillation. Works. https://gist.github.com/x43x61x69/0a9dd6e134c5c4a7ce39c9aab5639727#file-com-apple-private-health-heart-rhythm-plist. Only ECG

@klaus-771
Copy link

iPhone 13 Pro Max. iOS 16.3.1

@imReker
Copy link
Author

imReker commented Mar 6, 2023

This playlist doesn't work at all. No EKG. No fibrillation. Works. https://gist.github.com/x43x61x69/0a9dd6e134c5c4a7ce39c9aab5639727#file-com-apple-private-health-heart-rhythm-plist. Only ECG

The file you posted is same as this.

@hadifarnoud
Copy link

it's a different version. I just noticed the comments are different

@ready750
Copy link

ready750 commented Jun 8, 2023

Work perfect for "ECG, Cardio fitness Notification, Irregular Rhythm Notifification,
only "AF History" that doesn't Work

@diegok3
Copy link

diegok3 commented Sep 8, 2023

I have IOS 16.6 and my plist is the following, for me is not working due that am I in a restricted country

<key>com.apple.private.health.heart-rhythm | UserDefaults</key>
                <dict>
                        <key>start</key>
                        <date>2023-09-06T17:45:36Z</date>
                        <key>end</key>
                        <date>2023-09-06T17:45:36Z</date>
                        <key>metadata</key>
                        <dict>
                                <key>HKElectrocardiogramV1ToV2UpgradeBackgroundDelivered</key>
                                <integer>53</integer>
                                <key>ElectrocardiogramWatchAppInstallIsAllowed</key>
                                <integer>43</integer>
                                <key>DemoResultKeys</key>
                                <integer>16</integer>
                        </dict>
                </dict>

@marko2904
Copy link

argggghh, I have to buy iMazing for just this one time use. did anyone successfully try this?

Did you find a free solutions?

@mhkefayati
Copy link

Works fine, thanks!
Any idea on how to enable the SpO2 measurement?

@The-Cyber-Thinkerer
Copy link

@imReker Does this let ECG, Irregular heart aler and Afib all 3 work on the new os ?

@vinixtor
Copy link

vinixtor commented Apr 10, 2024

Just wanted to confirm that at least ECG feature, works just great.
iOS 17.5
WatchOS 10.4 on an Ultra 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment