26 - 09 - 2017

Weather library

Block SunInfo

Gives information about sunrise/sunset for every day, every year, all over the world. The output IsNight is at high level between sunset and sunrise. The output IsNightTwillinght is at  high level between night twilight and morning twilight. The block is suitable for controlling outdoor lighting.

Parameters:

  • Latitude - the latitude of your living location;
  • Longitude - the longitude of your location;
  • Time - the time zone of your location;

Block WeatherInfo

Gives information about weather from weather stations which are shown at the bgtimes website:

http://weather.bgtimes.com/

Parameters:

  •  ObjectID - 1 means weather station Varna, 2 - weather station Sofia.

Example with the WeatherInfo block: