1.3 KiB
1.3 KiB
AGCS v2 Weather Display
A self-contained, dockerized weather display application with desktop and mobile views.
Features
- Real-time weather data display via MQTT
- Compass visualization for wind direction
- Archive data retrieval from database
- WeatherLink API proxy
- Responsive design for mobile and desktop
Setup
-
Ensure Docker and Docker Compose are installed.
-
Clone or copy this project to your local machine.
-
Run the application:
docker-compose up --build -
Access the application:
- Desktop view: http://localhost:8080/agcsnew.html
- Mobile view: http://localhost:8080/mobile.html
- Archive: http://localhost:8080/archive.php
Configuration
- MQTT broker: Configured to connect to 'ikarus.egfh.internal:8083'
- Database: MySQL with credentials (user: weewx, pass: weewx, db: weewx)
- WeatherLink API: Proxy configured with API key and secret
Troubleshooting
- If MQTT connection fails, ensure the broker is running and accessible.
- For database issues, check if the db service is up and data is populated.
- PHP errors: Check container logs with
docker-compose logs web
Files
agcsnew.html: Desktop weather displaymobile.html: Mobile-optimized weather displayarchive.php: PHP script for database archive datawlproxy.php: Proxy for WeatherLink API