Skip to content

Web-based data visualizer and dashboard service for AirAware's environment monitoring solution. Built using Laravel, Livewire & TailwindCSS.

License

Notifications You must be signed in to change notification settings

airaware-iot/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirAware web application

The AirAware web application is the center of the entire AirAware system. Written in PHP 8.3 using Laravel 12 and Livewire + TailwindCSS, it is using the latest technologies for blazing fast performance, even on super low power devices like the Raspberry Pi 3 it has been designed for.

Frontnend

The frontend is built using Livewire and TailwindCSS, allowing for single page application behaviour using exclusively PHP. It allows for automatic polling of new data, ensuring you always see the latest information. It also makes the app very smooth to use, as loading is at a minimum thanks to asynchronous requests.

Backend

The backend is using the powerful Laravel framework, ensuring reliability and blazing fast performance. The app is designed to be easily extendable, having a single configuration file app\enums\SensorDataTypes.php, which houses all the settings for the allowed data types, such as recommended values, units, colors, etc. Everything is built using components, so adding a new Chart widget in resources/views/dashboard.blade.php is a breeze, just include the component and set the data type you want to see. There are also some additional configuration options in config/app.php.

Web server

The web server uses the built in artisan serve command, which is running daemonized under the pm2 process manager. While serve is not great for large scale applications, it is very small and lightweight and therefore perfect for a small computer such as the Pi. There is, however, also a provided Docker image for running on more powerful Pis or other computers.

Data storage

The app handles data storage efficiently using an sqlite database. Sensors send their data using MQTT through NodeRED to an API endpoint, which then parses the data, labels, computes and stores it into a digestable form for the user to view.

Information

All code is provided freely as permitted by the MIT license.

About

Web-based data visualizer and dashboard service for AirAware's environment monitoring solution. Built using Laravel, Livewire & TailwindCSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy