Documentshow-to-add-the-weather-widget

How to add the weather widget

Take the example weather file, set your city and upload it as an asset.

  1. Start from the example weather files on GitHub, such as weather.html or one of the other files in the folder: github.com/colloqi/piSignage/tree/master/examples/weather.
  2. Change the city at line 160 of the file.
  3. Upload the edited file from Assets with Add Asset.
  4. Add the weather file to a playlist so it plays.

Check that the file still works with your player before rolling it out. If you want a ready-made weather screen, see App Store, or write to support@pisignage.com for a custom widget.

You can also place the weather file in a zone of a custom layout. See How to design a custom template.

New interface: ready-made weather apps in the App Store

In the new PiSignage interface you no longer need to edit an HTML file. The App Store has ready-made apps for weather, news, clocks, video and more. Open it from App Store in the left menu, or go to pisignage.com/v2/app-store after signing in.

  1. Click App Store in the left menu.
  2. Under Start with a template, click Weather to see all weather apps, or pick one from Popular templates.
  3. Click a weather app, for example Weather Station.
App Store: App Store menu (1), Weather category (2) and the Weather Station template (3)
  1. Check the preview and click Use this template.
Template preview: Use this template (4)
  1. The app opens in the editor. Click a weather panel to edit it.
App editor: weather panel (5), Save (8) and Add to assets (9)
  1. Type your City, for example London or London, GB. The live preview updates right away. You can also change the style, background image and temperature unit here.
  2. Click Save. Repeat for the other weather panels, such as the 5-day forecast.
Edit current weather: City (6) and Save (7)
  1. Click Save to save the app. You can rename it with the pencil icon next to its name.
  2. Click Add to assets.
  3. Enter an Asset name, or keep the suggested one.
  4. Click Add to assets. The app is added to your assets as an HTML file.
Add to assets: Asset name (10) and Add to assets button (11)

Add the new asset to a playlist and deploy it to your group. The weather updates live on the screen, so the player needs internet access. To change the city later, open the app from My apps in the App Store, edit it and add it to assets again.