Air Things View Plus

@thebearmay Thank you sooooo much for this!! Do you have a place to which we can donate?

A few things:
Searching for the App in HPM, I could not initially find it, because of the space added between Air and Things. I believe the official name is one word without a space...

For those of us still flailing around trying to figure out HE, here is a step by step:

  1. On the HE, in the Apps section, select Hubitat Package Manager (HPM)
  2. Click "Install a new package"
  3. Select search by keyword, enter "air" then click next
  4. Select the "Air Things ...API Integration.." then click next
  5. Once it says it has finished installing, go to the HE Apps section
  6. In the upper right corner, select "Add User App", and select "Air Things..."
  7. Click the "Link to AirThings for ID/Secret" which takes you to the AirThings site
  8. Log into your Airthings account, and you will be taken to a page titled "Create Client"
  9. Fill in the form as follows:
    a. Create a name for this client that you will recognize
    b. Short description
    c. Click the checkbox for "Resource Scope"
    d. Ensure the Access type radio button is selected for "Confidential"
    e. The only flow type option you have is "Client credentials (machine to machine)"
    f. At Enable, select "ON"
    g. Click SAVE
    h. Then click "Display Secret"
    i. Copy this resulting string of letters & numbers to somewhere you can retrieve it.
    j. Click Save and it will update your Airthings account
    k. At the top right of the Airthings page, also copy the "ID" string and save it to somewhere you can retrieve it
  10. Go back to the Hubitat page you were on in step 7
  11. Copy and paste both your save ID and Secret strings into the appropriate fields
  12. Click "Create Initial Authorization"
  13. Click Get Devices. If it returns "Found n devices" where n is the number of devices you have, you have linked your device to Hubitat!
  14. Click Done
  15. Go to Devices
  16. In the searchbar at the top, type "Air". You will see your Airthings device(s) show up by whatever it is you named them IN AIRTHINGS Click on that device.
  17. Click "Initialize". You should now see the values for ALL of the attributes your Airthings tracks on the right side of the screen under "Current States"
  18. In the Preferences section
    a. enter how often you want Hubitat to poll the Airthings server for updated information. Remember that if you have one of the old Airthings devices that downloads data via Bluetooth to your phone then uploads to Airthings, it is not pulling any data the entire time your phone is gone.
    b. If you are in the US, you may wish to revise some of the measurements in the preferences section, such as moving the sliders to "use fahrenheit" and "Use pCI/L for Radon"
    c. If you want to see the values on a tile, enter a name for the tile in the "Template for generating HTML for dashboard tile" field.
  19. Click Save Device
  20. Go Back to Hubitat Apps, select Hubitat Dashboard Configuration, Select the dashboard on which you wish to show the Airthings data, click on Choose Devices, and make sure your Airthings Device has a checkbox next to it (remember Device Name= what you named it in Airthings). Click Update
  21. Go to the Dashboard, select the plus sign in the upper right to add a tile.
  22. In the Add a Tile Window:
    a. Set location
    b. Tile Type = Device
    c. Pick a Device = Name of your device in Airthings, which should be on the dropdown list
    d. Template=Attribute
    e. Pick an Attribute = Select the attribute you want to display from the dropdown
    f. Save

You can repeat step 22 multiple times to get tiles with all the attributes you want to see on your dashboard.
@swade has figured out a way to list 5 attributes in one tile. I'm REALLY hoping @swade or @thebearmay will post a step by step set of directions on how to do that!

8 Likes