/
WeatherInfo Block

WeatherInfo Block

Introduction

The WeatherInfo block allows the user use the weather data for some programming and/or write

  1. Create a bLine program that runs on 'site'.

  2. Add your point/tag var(s)

  3. Configure the var as it corresponds to the weather info desired (i.e..temp = numeric , condition = string). Make sure to select 'yes' on writable.

  4. Create your logic using the different weather blocks.



  5. Click save and check your site(s) in your vars menu.





Note: Make sure the tags are the right kind.
A numeric tag will take a temperature, for a sunrise or sunset you need a dateTime tag and for weather forecast a string tag

Troubleshooting

If logic throws an error, check the following:

  • No weather station exists

  • No weatherStationRef exists on the site record

Related content