Skip to content

devices

DaveL17 edited this page Nov 23, 2017 · 2 revisions

WUnderstation Device

The Wunderstation device is used to track operation of the plugin. The main purpose of the device is as a repository of device states:

  • lastUploadResult
    this state will contain information about the result of the last upload attempt. It may contain a message from the Weather Underground server or it may contain information about communication errors.

  • lastUploadTime
    this state will contain the time of the last successful upload. If subsequent uploads are unsuccessful, the time value will not change until the next upload succeeds.

  • onOffState
    this state will convey the current status of the device. The value will be True if the plugin is functioning normally and False if there is a problem.