Apex Charts Air Quality Dashboard Using Apollo Automation AIR-1

Apex Charts Air Quality Dashboard Using Apollo Automation AIR-1

Firstof9 has created this beautiful responsive dashboard with Apexcharts-card custom card from HACS!

The colors will change as severity levels change for each of the sensors below.

image.png

This guide assumes you already have HACS installed. If you do not, please first install HACS.

First, you need to install apexcharts-card by going to the HACS tab and searching "apexcharts-card".

image.png

Once downloaded, it is ready to be used for dashboards!

Next, you need to edit the dashboards here.

image.png

WARNING YOU ARE ABOUT TO BE ABLE TO WIPE OUT ALL YOUR DASHBOARDS PROCEED WITH CAUTION

WARNING YOU ARE ABOUT TO BE ABLE TO WIPE OUT ALL YOUR DASHBOARDS PROCEED WITH CAUTION

Now choose "raw configuration editor"

image.png

Now you need to be VERY careful. You are editing all of your dashboards but we can avoid issues by scrolling to the very bottom and then copying and pasting the code seen below. (Picture below shows where we will paste the code) (Code below)

AIR-1 Dashboard End.png

Be sure to change the entity ID to match your device or else the card will not work. You can find your device ID by going to the ESPHome addon and selecting the Edit option.

AIR-1 ID.png

The easiest way to change all of the entity IDs in the code is by using AI (ChatGPT etc.) or by using a code editor like Virtual Studio Code (VSC). In VSC you can Find (ctrl+f) the old ID and Replace (select the small arrow to toggle open the Replace box) it with your ID. Now you are ready to copy the code into the Raw configurator editor. (See code below)

VSC Find/Replace

AIR-1 Find and Replace.png

ChatGPT
Good ChatGPT.png

This is the code!

If you are using the old masonry-style dashboards, please paste in this code:

Now click save in the top right and remember to not hit any buttons or make any other edits before saving!

image.png

Finally hit "done" in the top right.

image.png

Hit F5 on your keyboard or refresh your browser and then look for your new "Air Icon" as a new dashboard option and click on it!

image.png

Lastly, we do want to thank firstof9 for creating this dashboard and sharing it.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.