# itsaSNAP Apple Health Status Board

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/132/611/medium800/leds_IMG_6826_%281%29.jpg?1727295531)

Build your Apple Health Stat Board using itsaSNAP and CircuitPython. This project uses the Adafruit Matrix Portal S3 to make network calls to retrieve data and a 64x64 panel to display that data.

itaSNAP now has HealthKit capabilities, which allows users to query specific Apple Health data and send it to Adafruit IO. This displays your weekly steps, workouts, and distance traveled during a workout.&nbsp;

Warning: You'll need to use the Matrix Portal S3 for this project to work, will will not work with the Matrix Portal M4!

### itsaSNAP for iOS

itsaSNAP is a simple iOS app designed for exploring [Adafruit IO](https://io.adafruit.com/). It allows you to send data to your&nbsp;[Adafruit IO feeds](https://learn.adafruit.com/adafruit-io-basics-feeds). You can also link it to control or monitor your internet-connected projects. This lets you control and check Adafruit devices from your phone, anywhere.&nbsp;

It also allows us use of Apple's Shortcuts app to create a code-free automation from your iOS device.

![leds_IMG_25FDFC33EC57-1.jpeg](https://cdn-learn.adafruit.com/assets/assets/000/132/782/medium640/leds_IMG_25FDFC33EC57-1.jpeg?1727799462)

Primary: This project works with Apple devices. There is no Android app at this time.

## Parts

The following products and parts are required to complete this project:

### Adafruit Matrix Portal S3 CircuitPython Powered Internet Display

[Adafruit Matrix Portal S3 CircuitPython Powered Internet Display](https://www.adafruit.com/product/5778)
Folks love our [wide selection of RGB matrices](https://www.adafruit.com/category/327) and accessories&nbsp;for making custom colorful LED displays... and our RGB Matrix Shields and FeatherWings can be quickly soldered together to make the wiring much easier. But what if we made it...

In Stock
[Buy Now](https://www.adafruit.com/product/5778)
[Related Guides to the Product](https://learn.adafruit.com/products/5778/guides)
![Video of Adafruit Matrix Portal S3 linked up to a matrix displaying the "Adafruit Matrix Portal" in white letters and red, green and blue circles jumping around. ](https://cdn-shop.adafruit.com/product-videos/640x480/5778-06.jpg)

### 64x64 RGB LED Matrix - 3mm Pitch

[64x64 RGB LED Matrix - 3mm Pitch](https://www.adafruit.com/product/4732)
Winter time can be rough in the city. The sky is gray. The weather&nbsp;is unpredictable. So slough off those seasonal blues with&nbsp;some&nbsp;Times Square razzle dazzle from this sweet, ultra-high-density **64x64 RGB LED Matrix**. These panels are typically used to make video...

In Stock
[Buy Now](https://www.adafruit.com/product/4732)
[Related Guides to the Product](https://learn.adafruit.com/products/4732/guides)
![Video of a woman in black slowly rotating a powered-on 64x64 RGB LED Matrix. The matrix displays the Adafruit star flower logo with rainbow sand falling animation.](https://cdn-shop.adafruit.com/product-videos/640x480/4732-04.jpg)

Or

### 64x64 RGB LED Matrix Panel - 2mm Pitch

[64x64 RGB LED Matrix Panel - 2mm Pitch](https://www.adafruit.com/product/5362)
Wintertime can be rough in the city. The sky is gray. The weather&nbsp;is unpredictable. So slough off those seasonal blues with&nbsp;some&nbsp;Times Square razzle dazzle from this sweet, ultra-high-density **64x64 RGB LED Matrix**. These panels are typically used to make video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5362)
[Related Guides to the Product](https://learn.adafruit.com/products/5362/guides)
![Video of a person rotating an LED matrix. The animation resembles falling colored sand.](https://cdn-shop.adafruit.com/product-videos/640x480/5362-04.jpg)

### Vertical Wall Power Supply with USB C - 5V 3A Output and Switch

[Vertical Wall Power Supply with USB C - 5V 3A Output and Switch](https://www.adafruit.com/product/5801)
We love the Raspberry Pi 4 and 5, with their fancy new USB Type C power connectors. Now we have an even&nbsp;_better_&nbsp;power supply that can be used with either Pi 4 or even a Pi 5 with 5V output, 3A of current to handle builds with accessories and displays. The vertical-style plug...

In Stock
[Buy Now](https://www.adafruit.com/product/5801)
[Related Guides to the Product](https://learn.adafruit.com/products/5801/guides)
![5V 3A Switching Power Supply with USB C](https://cdn-shop.adafruit.com/640x480/5801-02.jpg)

### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

In Stock
[Buy Now](https://www.adafruit.com/product/4474)
[Related Guides to the Product](https://learn.adafruit.com/products/4474/guides)
![Angled shot of a coiled black, USB-C to USB-A cable.](https://cdn-shop.adafruit.com/640x480/4474-02.jpg)

Optional:

### Adafruit IO+ Subscription Pass – One Year

[Adafruit IO+ Subscription Pass – One Year](https://www.adafruit.com/product/3792)
The all-in-one Internet of Things service from Adafruit you know and love is now _even better_ with IO+. The 'plus' stands for MORE STUFF! More feeds, dashboards, storage, speed. Power up your [Adafruit IO](https://io.adafruit.com/) with the $99 pass for 1 year of the...

In Stock
[Buy Now](https://www.adafruit.com/product/3792)
[Related Guides to the Product](https://learn.adafruit.com/products/3792/guides)
![Text image that reads "IO+"](https://cdn-shop.adafruit.com/640x480/3792-01.jpg)

# itsaSNAP Apple Health Status Board

## Get Started with Adafruit IO

Adafruit IO is integrated with&nbsp;your&nbsp;[adafruit.com account](https://accounts.adafruit.com/)&nbsp;so you don't need to create yet another online account! You need an Adafruit account to use Adafruit IO because to make sure the data you upload is available to only you (unless you decide to publish your data).

## I have an Adafruit.com Account already

**If you already have an Adafruit account, then you already have access to Adafruit IO**. It doesn't matter how you signed up, your account will make all three available.

To access Adafruit IO, simply visit [https://io.adafruit.com](https://io.adafruit.com) to start streaming, logging, and interacting with your data.

## Create an Adafruit Account (for Adafruit IO)

An Adafruit account makes Adafruit content and services available to you in one place. Your account provides access to the [Adafruit shop](https://www.adafruit.com/), the [Adafruit Learning System](https://learn.adafruit.com/), and [Adafruit IO](https://io.adafruit.com/). This means only one account, one username, and one password are necessary to engage with the content and services that Adafruit offers.

If you do not have an Adafruit account, signing up for a new Adafruit account only takes a couple of steps.

Begin by visiting [https://accounts.adafruit.com](https://accounts.adafruit.com).

**Click the Sign Up button** under the "Need An Adafruit Account?" title, below the Sign In section.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/335/medium800/leds_adafruit_io_Create_account_sign_in_up_page.png?1726484777)

This will take you to the **Sign Up** page.

 **Fill in the requested information,** and **click the Create Account button.**

![](https://cdn-learn.adafruit.com/assets/assets/000/132/361/medium800/leds_Screenshot_2024-09-16_at_1.50.59%E2%80%AFPM.png?1726509169)

For example, **to begin working with Adafruit IO, click the IO link** between the **Forum** and **LIVE**! Links.&nbsp;

That's all there is to creating a new Adafruit account and navigating to Adafruit IO.

# itsaSNAP Apple Health Status Board

## Download the ItsaSnap by Adafruit App

This section will guide you through downloading and installing the ItsaSnap by Adafruit app.

## Download and Install ItsaSnap

To install and download ItsaSnap for your iOS device,

1. **Open the App Store**.
2. **Tap** on the **"Search" icon** at the bottom of the screen.
3. **Type "ItsaSnap by Adafruit" or "ItsaSnap"** in the search bar and **tap "Search".**
4. Locate the **ItsaSnap**** &nbsp;app** in the search results and tap on it

![](https://cdn-learn.adafruit.com/assets/assets/000/130/658/medium800/adafruit_io_IMG_5711-ezgif.com-resize-2.jpg?1718123186)

&nbsp; &nbsp; 5. **Tap** the **"Get" button** to download and install the app on your device.&nbsp;

You may be prompted to enter your Apple ID password or use Face ID/Touch ID to confirm the installation

![](https://cdn-learn.adafruit.com/assets/assets/000/130/659/medium800/adafruit_io_IMG_5711-ezgif.com-resize-crop.jpg?1718123294)

After you have downloaded and installed ItsaSnap, open the app.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/637/medium800/adafruit_io_adaSnap5-ezgif.com-resize.png?1718070937)

You will need to enter your&nbsp; **Adafruit username** and **Adafruit IO Key** (which is _different_ from your Adafruit account password).

Your Adafruit IO key is a long string of letters and numbers. To make it easier to add to the app, we've also included a QR code scanner that allows you to easily copy the Adafruit IO Key from the Adafruit IO website to the app.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/660/medium800/adafruit_io_qrbuttonscan.png?1718123519)

On the ItaSnap app, the QR code scanner is located below the Adafruit IO Key and above the login button. To access it, press the ' **Scan QR code for IO Key**' button. This will open the QR code scanner.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/662/medium800/adafruit_io_IMG_5702-ezgif.com-crop.png?1718123632)

To find the QR code for your Adafruit IO account, [navigate go to the overview page](https://io.adafruit.com/overview). Once there, click the yellow button with a key in the center (it's next to the "New Device" button) to reveal your Adafruit IO Key.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/130/640/medium800/adafruit_io_Screenshot_2024-06-10_at_9.42.20%E2%80%AFPM.png?1718072559)

After clicking it, a window with your information will appear. Then, find the QR code and scan it, and log in.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/653/medium800/adafruit_io_Pasted_Image_6_11_24__11_55_AM.png?1718121312)

# itsaSNAP Apple Health Status Board

## Install CircuitPython

[CircuitPython](https://github.com/adafruit/circuitpython) is a derivative of [MicroPython](https://micropython.org) designed to simplify experimentation and education on low-cost microcontrollers. It makes it easier than ever to get prototyping by requiring no upfront desktop software downloads. Simply copy and edit files on the **CIRCUITPY** drive to iterate.

## Set up CircuitPython Quick Start!

Follow this quick step-by-step for super-fast Python power :)

Info: 

[Download the latest version of CircuitPython for this board via circuitpython.org](https://circuitpython.org/board/adafruit_matrixportal_s3/)
## Further Information

For more detailed info on installing CircuitPython, check out [Installing CircuitPython](https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython).

 **Click the link above and download the latest UF2 file.**

Download and save it to your desktop (or wherever is handy).

![led_matrices_Save_to_Desktop.png](https://cdn-learn.adafruit.com/assets/assets/000/095/075/medium640/led_matrices_Save_to_Desktop.png?1601050695)

Plug your MatrixPortal S3 into your computer using a known-good USB cable.

**A lot of people end up using charge-only USB cables and it is very frustrating! So make sure you have a USB cable you know is good for data sync.**

Click the **Reset** button (indicated by the green arrow) on your board. When you see the NeoPixel RGB LED (indicated by the magenta arrow) turn purple, press it again. At that point, the NeoPixel should turn green. If it turns red, check the USB cable, try another USB port, etc.

If double-clicking doesn't work the first time, try again. Sometimes it can take a few tries to get the rhythm right!

![led_matrices_Buttons.jpg](https://cdn-learn.adafruit.com/assets/assets/000/126/017/medium640/led_matrices_Buttons.jpg?1699492993)

You will see a new disk drive appear called **MATRXS3BOOT**.

Drag the **adafruit\_circuitpython\_etc.uf2** file over to **MATRXS3BOOT****.**

![led_matrices_matrix.png](https://cdn-learn.adafruit.com/assets/assets/000/126/018/medium640/led_matrices_matrix.png?1699493436)

The LED will flash. Then, the **MATRXS3BOOT** &nbsp;drive will disappear and a new disk drive called **CIRCUITPY** will appear.

That's it, you're done! :)

![led_matrices_CircuitPy.png](https://cdn-learn.adafruit.com/assets/assets/000/122/618/medium640/led_matrices_CircuitPy.png?1689369656)

# itsaSNAP Apple Health Status Board

## Setting Up Your Credentials

To make network inquiriess using your MatrixPortal, you'll need to provide your WiFi and Adafruit IO credentials in a **settings.toml** file.

Plug your Matrix Portal S3 into your computer via a known good data + power USB cable. Your board should show up as a thumb drive in your File Explorer / Finder (depending on your operating system) named **CIRCUITPY**.

Create a file with the name&nbsp; **settings.toml** &nbsp;in the root directory of the&nbsp; **CIRCUITPY** &nbsp;drive.

Add the following below:

The file should contain the keys&nbsp;`CIRCUITPY_WIFI_SSID`, &nbsp;`CIRCUITPY_WIFI_PASSWORD`, `CIRCUITPY_WEB_API_PASSWORD`,&nbsp;`AIO_USERNAME`, and `AIO_KEY`.&nbsp;

Once these are defined, CircuitPython will automatically connect to the network and start the webserver used for the workflow.

The web server is on port 80 unless overridden by&nbsp;`CIRCUITPY_WEB_API_PORT`. It also enables MDNS.

Here is an example&nbsp; **settings.toml** :

```auto
# To auto-connect to WiFi
CIRCUITPY_WIFI_SSID="YOUR-WIFI-NETWORK-NAME"
CIRCUITPY_WIFI_PASSWORD="YOUR-WIFI-NETWORK-PASSWORD"

# For Adafruit IO
AIO_USERNAME="YOUR-USERNAME"
AIO_KEY="YOUR-AO-KEY"

# To enable modifying files from the web. Change this too!
# Leave the User field blank in the browser.
CIRCUITPY_WEB_API_PASSWORD="passw0rd"

CIRCUITPY_WEB_API_PORT=80
```

# itsaSNAP Apple Health Status Board

## LED Matrix Diffuser

## LED Diffusion Acrylic

You can add an [LED diffusion acrylic faceplate](https://www.adafruit.com/product/4594) to the your LED matrix display. (Pictured here with the [ON AIR project](https://learn.adafruit.com/rgb-matrix-automatic-youtube-on-air-sign))

This can help protect the LEDs as well as enhance the look of the sign both indoors and out by reducing glare and specular highlights of the plastic matrix grid.

![led_matrices_onairbuild-3367.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/987/medium640/led_matrices_onairbuild-3367.jpg?1597088161)

## Measure and Cut the Plastic

You can use the sign to measure and mark cut lines on the paper backing of the acrylic sheet.

Then, use a tablesaw or bandsaw with a fine toothed blade and a guide or sled to make the cuts.

Note: it is possible to score and snap acrylic, but it can be very tricky to get an even snap without proper clamping.

![led_matrices_onairbuild-3343.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/988/medium640/led_matrices_onairbuild-3343.jpg?1597088278)

![led_matrices_onairbuild-3346.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/989/medium640/led_matrices_onairbuild-3346.jpg?1597088290)

![led_matrices_onairbuild-3347.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/991/medium640/led_matrices_onairbuild-3347.jpg?1597089259)

![led_matrices_onairbuild-3349.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/992/medium640/led_matrices_onairbuild-3349.jpg?1597089270)

![](https://cdn-learn.adafruit.com/assets/assets/000/093/998/medium800/led_matrices_onairbuild-3352.jpg?1597089308)

Peel away the paper backing from both sides and set the acrylic onto your matrix display with the matte finished side facing out.

![led_matrices_onairbuild-3355.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/999/medium640/led_matrices_onairbuild-3355.jpg?1597089331)

## Uglu Dashes

The best method we've found for adhering acrylic to the matrix display is to use [Uglu Dashes clear adhesive rectangles from Pro Tapes](https://www.protapes.com/products/uglu-600-dashes-sheets). They are incredibly strong (although can be removed if necessary), easy to apply, and are invisible once attached.

Use one at each corner and one each at the halfway point of the long edges, then press the acrylic and matrix panel together for about 20 seconds.

![adafruit_io_weathermx-2-3.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/842/medium640/adafruit_io_weathermx-2-3.jpg?1600463849)

![adafruit_io_weathermx-2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/843/medium640/adafruit_io_weathermx-2.jpg?1600463856)

![adafruit_io_weathermx-2-2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/844/medium640/adafruit_io_weathermx-2-2.jpg?1600463866)

Here you can see the impact of using the diffusion acrylic. (Pictured here with the ON AIR sign project)

![](https://cdn-learn.adafruit.com/assets/assets/000/094/006/medium800thumb/led_matrices_diffusionOnAir.jpg?1597089757)

## Stand

A very simple and attractive way to display your matrix is with the adjustable [bent-wire stand](https://www.adafruit.com/product/1679).

![led_matrices_onairbuild-3418.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/032/medium640/led_matrices_onairbuild-3418.jpg?1597094067)

![led_matrices_onairbuild-3419.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/033/medium640/led_matrices_onairbuild-3419.jpg?1597094085)

![led_matrices_onairbuild-3421.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/034/medium640/led_matrices_onairbuild-3421.jpg?1597094097)

![led_matrices_onairbuild-3422.jpg](https://cdn-learn.adafruit.com/assets/assets/000/094/035/medium640/led_matrices_onairbuild-3422.jpg?1597094107)

![](https://cdn-learn.adafruit.com/assets/assets/000/095/378/medium800/adafruit_io_led_matrices_onairbuild-3383.jpg?1602006263)

Alternately, you can use a frame, [3D printed brackets](https://learn.adafruit.com/led-protest-sign/build-the-sign#step-3065326), tape, glue, or even large binder clips to secure the acrylic to the sign and then mount it on on a wall, shelf, or display cabinet.

[These mini-magnet feet](https://www.adafruit.com/product/4631) can be used to stick the sign to a ferrous surface.

# itsaSNAP Apple Health Status Board

## Create an Adafruit IO Feed

Adafruit IO's main feature is creating feeds to write or read data in a centralized place. In this project, you will create an Adafruit IO feed to send and read weather data to that feed.

In a web browser, navigate to [io.adafruit.com/feeds](https://io.adafruit.com/feeds) and **click "+ New Feed"** &nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/132/536/medium800/leds_Screenshot_2024-09-16_at_7.18.03%E2%80%AFAM.png?1727135237)

Give your new feed a name. The description is optional. Click&nbsp; **Create** to create the new feed.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/537/medium800/leds_Screenshot_2024-09-23_at_7.03.26%E2%80%AFPM.png?1727135267)

Under **My Feeds** , you should see the&nbsp; **stepCount** feed you created. Repeat this same process with "numOfWorkouts" and "distance". Please take note of your feed keys, which is located here; you will need it later.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/538/medium800/leds_Screenshot_2024-09-23_at_7.04.35%E2%80%AFPM.png?1727135484)

# itsaSNAP Apple Health Status Board

## Code the Apple Health Board

Once you've finished setting up your Matrix Portal S3 with CircuitPython and have connected to the Internet, you can download the Project Bundle to access the code and necessary libraries.

To do this, click the **&nbsp;Download Project Bundle** &nbsp;button in the window below. It will download to your computer as a zipped folder.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Matrix_Portal/Matrix_Portal_itsaSNAP_Apple_Health_Display/code.py

## Upload the Code and Libraries

After downloading the Project Bundle, plug your **Matrix Portal S3** into the computer's USB port with a known good USB data + power cable. You should see a new flash drive appear in the computer's File Explorer or Finder (depending on your operating system) called&nbsp; **CIRCUITPY**. Unzip the folder and copy the following items to the&nbsp; **CIRCUITPY** &nbsp;drive.

- **lib** &nbsp;folder
- **Images** folder
- **code.py**

The&nbsp; **CIRCUITPY** &nbsp;drive should look like this after copying the&nbsp; **lib** &nbsp;folder, **images** folder,&nbsp;and the&nbsp; **code.py** &nbsp;file.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/659/medium800/leds_Matrix_Portal_itsaSNAP_Apple_Health_Display.png?1727707064)

## Code Walkthrough
### Display Setup

This line initializes the MatrixPortal with a 64x64 LED matrix. The `status_neopixel` parameter allows for using the onboard NeoPixel for status indication. The `width` and `height` sets the parameters for the display.

```auto
matrixportal = MatrixPortal(status_neopixel=board.NEOPIXEL, debug=True, width=64, height=64)
```

### Adding Text Labels

This loop creates three pairs of labels: one pair each for steps, workouts, and miles. Each pair has a title label (in orange) and a value label (in white).&nbsp;

```auto
for label_idx in range(3):
    title_label = label.Label(font, text="", color=ORANGE, x=2, y=7 + label_idx*21)
    group.append(title_label)
    value_label = label.Label(font, text="", color=WHITE, x=2, y=17 + label_idx*21)
    group.append(value_label)
```

### Fetching Data

This function attempts to retrieve the latest value from a specified Adafruit IO feed. It uses the Using&nbsp;`matrixportal.get_io_data` returns a list of data points.&nbsp;

```auto
def get_feed_data(feed_key):
    try:
        data = matrixportal.get_io_data(feed_key)
        if data:
            return data[0]["value"]
    except (ValueError, RuntimeError) as feed_error:
        print(f"Error fetching data from feed {feed_key}: {feed_error}")
    return None
```

### Updating the Display

This function updates the display with new data for each fitness metric. It iterates through the `TITLES` and `VALUE_FEEDS`&nbsp;lists using `zip()`.

```auto
def update_display():
    for display_idx, (title, value_feed) in enumerate(zip(TITLES, VALUE_FEEDS)):
        value = get_feed_data(value_feed) or "N/A"
        group[display_idx*2 + 1].text = title  # Update title
        group[display_idx*2 + 2].text = str(value)  # Update value
```

### Main loop

The main loop runs, updating the display every 30 minutes (1800 seconds, as defined by&nbsp;`UPDATE_DELAY`). If an error occurs during the update process, it's caught, printed, and the loop continues, ensuring the program doesn't crash due to temporary issues like network problems.

```auto
while True:
    try:
        time.sleep(UPDATE_DELAY)
        update_display()
    except (ValueError, RuntimeError) as loop_error:
        print("Some error occurred, retrying! -", loop_error)
        continue
```

# itsaSNAP Apple Health Status Board

## Creating the "itsaSNAP Apple Fitness Stats Fetcher" shortcut

![](https://cdn-learn.adafruit.com/assets/assets/000/132/619/medium800/leds_IMG_25FDFC33EC57-1.jpeg?1727447399)

Info: Apple Shortcuts are only available in the latest version of itsaSNAP on the Apple app store by Adafruit.

You can use Apple Shortcuts to configure itsaSNAP functions for querying and sending your Apple Health data to Adafruit IO. You can download the Shortcut from the link provided or create it yourself using the steps below.

[itsaSNAP Apple Health Shortcut](https://www.icloud.com/shortcuts/fcab82347b714b02bec0540a5a6634e3)
This step will demonstrate using itsaSNAP with Apple Shortcuts to send a value to an Adafruit IO feed when the shortcut is run.&nbsp;

Open Apple Shortcuts on your iPhone or iPad.&nbsp;To create a new shortcut, tap the "+" button.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/618/medium800/leds_IMG_6903.png?1727446996)

Open Apple Shortcuts on your iPhone or iPad.&nbsp;To create a new shortcut, tap the "+" button.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/620/medium800/leds_adafruit_io_IMG_113918C25A84-1.jpeg?1727447623)

Tap "Add Action". Then, search for itsaSNAP, then look for and tap "_Weekly Step Count"__._

![](https://cdn-learn.adafruit.com/assets/assets/000/132/621/medium800/leds_adafruit_io_IMG_2B2F6B139226-1.jpeg?1727447662)

This action queries weekly step count data starting from Sunday. Now, you need to send this data to your Adafruit IO feed. Tap on the keyboard bar, search for itsaSNAP, and select _Send Value._

![](https://cdn-learn.adafruit.com/assets/assets/000/132/622/medium800/leds_IMG_73EFE7547CD8-1.jpeg?1727448104)

#### Configure Action

Add your **feed key** and the value you want to send to your Feed here.&nbsp;Tap the&nbsp; **Value field** &nbsp;and&nbsp;select **Weekly Step Count**** &nbsp;**from the keyboard bar.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/623/medium800/leds_IMG_BC9B55771F13-1.jpeg?1727448197)

Repeat this process for the **Weekly Workout Count** and **Weekly Distance Travelled** actions.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/624/medium800/leds_IMG_D12109752AA1-1.jpeg?1727448416)

Now that your shortcut is assembled, try giving it a test run. Press the Play button at the bottom of the screen.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/132/625/medium800/leds_IMG_D19EA1F0477E-1.jpeg?1727448471)

If all works well, multiple message prompts will notify you that your data has been sent to your Adafruit IO feeds.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/626/medium800/leds_reee.png?1727450928)

# itsaSNAP Apple Health Status Board

## Setting up Apple Shortcuts Automation

To create a new automation, go to the automation screen and tap the "+" button.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/132/539/medium800/leds_adafruit_products_adafruit_io_IMG_6177.jpg?1727136683)

Here you can select which types of triggers can initiate an action. For now, we'll use "Time of Day" to set a time to schedule a time to run the Apple Shortcut.&nbsp;

**Select "Time of Day"** as the trigger for the automation.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/540/medium800/leds_IMG_4A80D5629A73-1.jpeg?1727136826)

Add the time of day here. I prefer to send this update at sunrise, have it repeat daily, and run immediately (you will be notified whenever the shortcut task is attempted).

Once you're all set - tap&nbsp;_Done_.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/541/medium800/leds_IMG_3DF70AAB1D64-1.jpeg?1727136848)

In the My Shortcuts row, select the shortcut action you made earlier.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/544/medium800/leds_IMG_7ABC2D.jpeg?1727138145)

Upon selecting your Apple shortcut, your automation will be set. Be sure to set your automation for any time you want. I've set my shortcuts to run multiple times of the day.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/542/medium800/leds_IMG_50900025FA15-1.jpeg?1727137953)

# itsaSNAP Apple Health Status Board

## Use

![](https://cdn-learn.adafruit.com/assets/assets/000/132/780/medium800/leds_IMG_6932.png?1727797760)

## Check your stats!

Plug the Matrix Portal S3 into USB-C power. Run your "Apple Health Stat Fetcher" shortcut, then press the reset button on the Matrix Portal after completing the shortcut.

The display should change to reflect the users' step count, number of workouts completed, and distance traveled while working out.

If you witness an error message displayed on your board, make sure the feed you choose has a value to display, or double-check the feed you would like to show.


## Featured Products

### Adafruit Matrix Portal S3 CircuitPython Powered Internet Display

[Adafruit Matrix Portal S3 CircuitPython Powered Internet Display](https://www.adafruit.com/product/5778)
Folks love our [wide selection of RGB matrices](https://www.adafruit.com/category/327) and accessories&nbsp;for making custom colorful LED displays... and our RGB Matrix Shields and FeatherWings can be quickly soldered together to make the wiring much easier. But what if we made it...

In Stock
[Buy Now](https://www.adafruit.com/product/5778)
[Related Guides to the Product](https://learn.adafruit.com/products/5778/guides)
### 64x64 RGB LED Matrix Panel - 2mm Pitch

[64x64 RGB LED Matrix Panel - 2mm Pitch](https://www.adafruit.com/product/5362)
Wintertime can be rough in the city. The sky is gray. The weather&nbsp;is unpredictable. So slough off those seasonal blues with&nbsp;some&nbsp;Times Square razzle dazzle from this sweet, ultra-high-density **64x64 RGB LED Matrix**. These panels are typically used to make video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5362)
[Related Guides to the Product](https://learn.adafruit.com/products/5362/guides)
### Vertical Wall Power Supply with USB C - 5V 3A Output and Switch

[Vertical Wall Power Supply with USB C - 5V 3A Output and Switch](https://www.adafruit.com/product/5801)
We love the Raspberry Pi 4 and 5, with their fancy new USB Type C power connectors. Now we have an even&nbsp;_better_&nbsp;power supply that can be used with either Pi 4 or even a Pi 5 with 5V output, 3A of current to handle builds with accessories and displays. The vertical-style plug...

In Stock
[Buy Now](https://www.adafruit.com/product/5801)
[Related Guides to the Product](https://learn.adafruit.com/products/5801/guides)
### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

In Stock
[Buy Now](https://www.adafruit.com/product/4474)
[Related Guides to the Product](https://learn.adafruit.com/products/4474/guides)
### Adafruit IO+ Subscription Pass – One Year

[Adafruit IO+ Subscription Pass – One Year](https://www.adafruit.com/product/3792)
The all-in-one Internet of Things service from Adafruit you know and love is now _even better_ with IO+. The 'plus' stands for MORE STUFF! More feeds, dashboards, storage, speed. Power up your [Adafruit IO](https://io.adafruit.com/) with the $99 pass for 1 year of the...

In Stock
[Buy Now](https://www.adafruit.com/product/3792)
[Related Guides to the Product](https://learn.adafruit.com/products/3792/guides)

## Related Guides

- [Adafruit MatrixPortal S3](https://learn.adafruit.com/adafruit-matrixportal-s3.md)
- [Animated GIF Player for Matrix Portal](https://learn.adafruit.com/animated-gif-player-for-matrix-portal.md)
- [Adafruit IO Basics: Color](https://learn.adafruit.com/adafruit-io-basics-color.md)
- [Scroll an SMS Text Message on your RGB Matrix](https://learn.adafruit.com/scroll-an-sms-text-message-on-your-rgb-matrix.md)
- [LED Matrix Sports Scoreboard](https://learn.adafruit.com/led-matrix-sports-scoreboard.md)
- [No-Code Battery Monitoring with WipperSnapper](https://learn.adafruit.com/no-code-battery-monitoring-with-wippersnapper.md)
- [Where's My Friend? A Location-Aware Display with PyPortal and ItsASnap](https://learn.adafruit.com/where-s-my-friend-a-location-display-frame-with-pyportal.md)
- [Adafruit IO Basics: Feeds](https://learn.adafruit.com/adafruit-io-basics-feeds.md)
- [DIY IoT Doorbell Camera with MEMENTO](https://learn.adafruit.com/diy-iot-doorbell-camera-with-memento.md)
- [Adafruit IO Basics: Digital Output](https://learn.adafruit.com/adafruit-io-basics-digital-output.md)
- [Pico W PiCowBell Case](https://learn.adafruit.com/pico-w-picowbell-case.md)
- [Using Piezo Buzzers with WipperSnapper](https://learn.adafruit.com/using-piezo-buzzers-with-wippersnapper.md)
- [All the Internet of Things - Episode Four: Adafruit IO](https://learn.adafruit.com/all-the-internet-of-things-episode-four-adafruit-io.md)
- [itsaSNAP Daily Weather Forecast Board](https://learn.adafruit.com/itsasnap-daily-weather-forecast-board.md)
- [Monitor Your Greenhouse with a No-Code Environmental Sensor](https://learn.adafruit.com/monitor-your-greenhouse-with-a-no-code-environmental-sensor.md)
- [CircuitPython Webcam with OV2640](https://learn.adafruit.com/circuitpython-webcam-with-ov2640.md)
