This project converts an unused smartphone into a dedicated weather informer display. It uses a single self-contained HTML/JavaScript file to fetch weather data (via the Yandex API) and display time, date, temperature, and additional weather indicators in full-screen mode. The setup requires minimal hardware changes — just a phone, constant power, and a browser. Full russian description here.
-
Real-time display of accurate clock and date with day of week.
-
Current weather conditions including temperature, cloudiness, wind speed and direction, humidity, and pressure with intuitive visual indicators.
-
Forecast summary for upcoming periods (morning, day, evening, night) with essential metrics.
-
Visual representation of day length and current time of day (sunrise/sunset, moon phase).
-
Optimised for portrait orientation on smartphones; designed for continuous 24/7 display.
-
Single-file solution (≈80 kB) with embedded config, engine, styles and graphics — no server required for simple usage.
-
Smartphone with working browser.
-
Internet connection (WiFi or mobile data) to fetch weather updates.
-
Yandex Smart Home API access (free tier sufficient) and valid API key.
-
Latitude and longitude of your physical location.
-
Continuous power supply to keep screen on permanently; screen sleep must be disabled.
-
Browser capable of loading local HTML files and running JavaScript; portrait orientation recommended.
Use any functional smartphone with a browser (WiFi or network connectivity).
Ensure it's permanently powered (via USB charger or mains supply).
On Android: go to Settings → About phone → tap Build number 5 times → Developer options → enable “Stay awake” (screen never turns off while charging). Alternative: install a “keep screen on” app.
Go to Yandex Smart Home API page, authenticate, then Connect → copy API key.
Use Google Maps (or any map tool) to locate your address, obtain latitude & longitude.
Download the HTML file (~80 kB) from the provided repository link.
Open informer.html in a text editor. Locate config section and replace:
apivalue with your Yandex keylatandlonwith your coordinates
Save changes.
Copy informer.html to the phone’s storage (e.g., Downloads folder).
Open with a browser (Chrome/Yandex Browser/Samsung Internet).
If required, use URL format:
file:///storage/emulated/0/Download/informer.html
or similar.
Tap to open. Then enter full-screen mode and disable browser UI.
Ensure device is permanently powered and placed in a fixed location.
Mount the phone on a wall or near entrance. Optionally integrate camera stream or home-automation status masked behind the informer.
