https://github.com/classyid/bmkg-weather-alert
📱 Sistem monitoring cuaca BMKG berbasis Google Apps Script dengan notifikasi WhatsApp dan web dashboard. Data realtime untuk seluruh wilayah Indonesia.
https://github.com/classyid/bmkg-weather-alert
Last synced: 4 months ago
JSON representation
📱 Sistem monitoring cuaca BMKG berbasis Google Apps Script dengan notifikasi WhatsApp dan web dashboard. Data realtime untuk seluruh wilayah Indonesia.
- Host: GitHub
- URL: https://github.com/classyid/bmkg-weather-alert
- Owner: classyid
- Created: 2024-11-30T09:34:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T09:35:33.000Z (over 1 year ago)
- Last Synced: 2025-10-05T00:25:02.146Z (8 months ago)
- Homepage: https://s.id/web-bmkg-weather-alert
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌤️ BMKG Weather Alert
Sistem monitoring cuaca BMKG dengan notifikasi WhatsApp dan web dashboard interaktif. Dibangun menggunakan Google Apps Script untuk kemudahan deployment dan maintenance.
## 🌟 Fitur Utama
- 🔍 Pencarian lokasi berdasarkan nama wilayah (Desa/Kelurahan/Kecamatan/Kabupaten/Kota)
- 📊 Tampilan dashboard responsif dengan data cuaca 3 hari ke depan
- 📱 Notifikasi WhatsApp otomatis untuk area yang dipilih
- 🕒 Update data setiap 3 jam (8 kali sehari)
- 📍 Mencakup seluruh wilayah administrasi Indonesia
- 📝 Pencatatan log pencarian dan pengiriman notifikasi
## 📋 Prasyarat
- Akun Google
- Spreadsheet untuk menyimpan data (template disediakan)
- Akun WhatsApp API (Mpedia)
## 🛠️ Instalasi
1. Buat project baru di Google Apps Script
2. Copy file `Code.gs` dan `Index.html` ke project
3. Siapkan spreadsheet dengan struktur yang diperlukan:
- Sheet `wilayah`: Data kode dan nama wilayah
- Sheet `cuaca`: Log pencarian
- Sheet `log_kirimcuaca`: Log pengiriman WhatsApp
- Sheet `kirim_cuaca`: Konfigurasi nomor tujuan
4. Update konfigurasi di `Code.gs`:
- `SPREADSHEET_ID`
- `WA_API_KEY`
- `WA_SENDER`
5. Deploy sebagai web app
## 🌐 Penggunaan
### Web Dashboard
1. Akses URL web app yang telah di-deploy
2. Masukkan nama wilayah (minimal 3 karakter)
3. Pilih wilayah dari daftar yang muncul
4. Lihat informasi cuaca lengkap
### Notifikasi WhatsApp
1. Tambahkan data di sheet `kirim_cuaca`:
- Kolom A: Kode wilayah
- Kolom B: Nomor WhatsApp
2. Set up trigger untuk fungsi `scheduledWeatherNotification`
3. Notifikasi akan terkirim sesuai jadwal
## 📊 Format Data
### Data Cuaca
- Suhu Udara (°C)
- Kelembapan Udara (%)
- Kondisi Cuaca
- Kecepatan Angin (km/jam)
- Arah Angin
- Jarak Pandang (km)
## 🤝 Kontribusi
Contributions, issues, dan feature requests sangat diterima.
## 📝 Lisensi
[MIT](LICENSE)
## 🙏 Kredit
Data cuaca disediakan oleh [BMKG (Badan Meteorologi, Klimatologi, dan Geofisika)](https://www.bmkg.go.id/)