Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

AccuWeather PL / EN

On an AWTRIX display
AccuWeather PL / EN shown on an AWTRIX display
AccuWeather PL / EN · by Michał C. Public

On your display

Pokazuje aktualne warunki pogodowe / Shows the current weather conditions

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Smarthome
Includes
Script · 32 icons

Runs on

  • Runs on 32×8 (TC001 & DIY)
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

AccuWeather PL / ENAWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Script description

Polski (PL):

Wtyczka mojego autorstwa. Zrobiona, ponieważ większość wtyczek pogodowych nie obsługiwało regionu europejskiego.

Do aktywacji wtyczki wymagane jest podanie swojego klucza API oraz ID Miasta.

Zalety wtyczki:

  • Obsługa małej i dużej czcionki
  • Języki: PL oraz EN
  • Obsługa jednostki C/F
  • Ustawienia częstotliwości odświeżania informacji
  • Obsługa ikon AccuWeather (jeżeli użytkownik zainstaluje sobie ikony według niżej opisanej instrukcji)
  • Czytelne informacje na ekranie
  • Możliwość zmiany koloru czcionki

Instrukcja instalacji ikon:
01. Wejdź na stronę: https://developer.accuweather.com/documentation/weather-icons#weather-icons i zapisz ją (wybierz wariant: strona internetowa, kompletna podczas zapisywania - to spowoduje pobranie strony z kompletną grafiką)
02. W folderze pobranej witryny znajdziesz pliki od svg numeryczne
03. Skopiuj sobie te pliki graficzne z nazwą numeryczną do innego folderu (po tym możesz usunąć już całą stronę, którą pobrałeś)
04. Pliki graficzne numeryczne svg przekonwertuj do GIF, PNG lub JPG
05. Ostatnia czynność to zmiana rozdzielczości plików graficznych, które przekonwertowałeś. Wymaga rozdzielczość grafiki to 8x8 px (użyj do tego jakiegoś darmowego narzędzia online)
06. Masz już gotową grafikę aw odpowiedniej rozdzielczości to teraz wystarczy te pliki wgrać do zegarka. Gotowe.

Niektóre ikony mogą być lekko nieczytelne ze względu na ich szczegółowość i ograniczenia wyświetlacza zegarka .
Spróbuję dodać też gotowe ikony do bazy Hub o ile ten system pozwoli z oryginalnymi nazwami numerycznymi.


English (EN):

A plugin I created. I made it because most weather plugins didn't support the European region.

To activate the plugin, you must enter your API key and ID City.

Plugin Features:

  • Support for small and large fonts
  • Languages: PL and EN
  • Support for C/F units
  • Settings for information refresh frequency
  • Support for AccuWeather icons (if the user installs the icons according to the instructions below)
  • Clear information on the screen
  • Option to change the font color

Instructions for installing icons:
01. Go to the website: https://developer.accuweather.com/documentation/weather-icons#weather-icons and save it (select the “webpage, complete” option when saving - this will download the page with all graphics)
02. In the folder containing the downloaded website, you’ll find numerically named SVG files
03. Copy these numerically named image files to another folder (afterward, you can delete the entire website you downloaded)
04. Convert the numerically named SVG image files to GIF, PNG, or JPG
05. The final step is to change the resolution of the image files you’ve converted. The required resolution is 8x8 px (use a free online tool for this)
06. Now that you have the images ready at the correct resolution, all you need to do is upload them to your watch. Done.

Some icons may be slightly difficult to read due to their level of detail and the watch display's limitations.
I'll also try to add pre-made icons to the Hub database, provided the system allows it, using their original numerical names.

More scripts in Smarthome

Something wrong with this script? Report it.