isDayOrNight v1.0.4

Day/Night sensor based on the API provided by Open weather

Input arguments:

  • city (format: city, country)

Please be aware that there are many cities in US that have the same name as the one in Europe, so it is always better to specify the country, example: Paris, France

RawData:

  • temperature
  • pressure
  • humidity
  • temp_min
  • temp_max
  • wind_speed
  • clouds_coverage
  • sunrise
  • sunset
  • currenTime
  • timeToDarkHours
  • timeToLightHours
  • dayLightHours
  • longitude
  • latitude
  • name
  • condition (state)
  • icon

Required properties:

  • city

External Settings:

  • OPENWEATHER_KEY

States:

  • Day
  • Night

Raw data:

  • temperature (double)
  • pressure (double)
  • humidity (double)
  • wind_speed (double)
  • longitude (double)
  • latitude (double)
  • clouds_coverage (double)
  • sunrise (double)
  • sunset (double)
  • currenTime (double)
  • timeToDarkHours (double)
  • timeToDarkHours (double)
  • dayLightHours (double)