NovaCloud-EN
  1. Program widget examples
NovaCloud-EN
  • API Access Guide
  • Common HTTP Status Codes
  • VNNOX
    • Player
      • Player Management
        • Obtain player list
      • Obtaining Player Status
        • Obtaining Basic Player Information
        • Obtaining Player Configuration Status
    • Solutions
      • Emergency Insertion
        • Single-Page Emergency Insertion Solutions
        • Canceling Emergency Insertion Solutions
      • Program widget examples
        • Hand-drawn clock widget
        • Weather widget
        • Environmental Monitoring widget
      • Common Solutions
        POST
      • Offline Export
        POST
      • Over-specification Detection Switching
        POST
      • Program Over-specification Detection
        POST
    • Real-Time Control
      • NTP Time Synchronization
      • Synchronous playback
      • Brightness Adjustment
      • Screenshots
      • Volume Adjustment
      • Video Source Switching
      • Screen Status
      • Restart Players
      • Screen Power
    • Scheduled Control
      • Scheduled Screen Status
      • Scheduled Restart Players
      • Scheduled Volume Adjustment
      • Scheduled Brightness Adjustment
      • Scheduled Video Source Switching
    • Logs
      • Play Logs
        • Batch Searching for Play Log Overviews
        • Batch Searching for Play Log Details
        • Searching for the Play Log Detail of a Single Player
        • Searching for the Play Log Overview of a Single Player
      • Obtaining Control Command Execution Logs
    • Notifications
      • Video Source Change Notifications
      • Solution Change Notifications
  • VNNOXCare
    • Notes
    • Device Status Monitoring
      • Receiving Card
        • Topology Information
        • Basic Information
        • Monitoring Information
        • Alarm Information
      • Screen
        • Screen list
        • Screen detail
        • Monitoring Information
      • Master Controller
        • Basic Information
        • Alarm Information
        • Operating Parameters Information
      • Smart Module
        • Monitoring Information
        • Alarm Infomation
      • Input Source
        • Monitor Infomation
      • Module/Cabinet
        • Monitoring Information
      • Monitoring Card
        • Monitoring Information
      • Camera
        • Camera configuration
        • The camera monitors the aggregated information
    • Brightness Log
      • Brightness History
  • Others
    • Third-Party System Authorization
      • Obtaining User List
      • Obtaining Login URL
  1. Program widget examples

Weather widget

💡
This page describes the dedicated data structure and provide an example for API
Common Solutions when widget type = WEATHER
Player Common Solution
playerIds
array[string]
required
A collection of player IDs to be handled. At most 100 player IDs can be handled simultaneously.
schedule
object 
optional
Playback schedule. If this is empty, the playback will be repeated 24 hours.
startDate
string 
required
Playback start date, example: 2020-04-12.
endDate
string 
required
Playback end date, example: 2020-12-22.
plans
array [object {3}] 
required
Specific playback plan
pages
array [object {3}] 
required
A collection of the contents to be played.
name
string 
required
Page name
schedules
array [object {3}] 
optional
It denotes the schedule list for this page. If it is empty, the page will be looped continuously for 24 hours. However, if both the program and page schedules are set, the page will play only during the times that overlap between the two schedules.
widgets
array [anyOf] 
required
Widgets on a page.
Supported Widget Types: (PICTURE | GIF | VIDEO | ARCH_TEXT | SIMPLE_RSS | HTML | STREAM_MEDIA | BOX | WEATHER | DRAWN_DIGITAL_CLOCK | RT_MEDIA)
Each element in the array is dynamic type (AnyOf), it may be any of the following subtypes, specifically according to the type within it.
noticeUrl
string 
optional
Solution download progress notification interface. This interface is used for notifying the customer of the solution download progress. The response time of the interface cannot exceed 3s.
{
"playerIds": [
"553cbfe2ff4ad2e0d6bd89bb2c4e85e2"
],
"schedule": {
"startDate": "2020-04-11",
"endDate": "2060-05-12",
"plans": [
  {
    "weekDays": [
      1,
      2,
      3,
      4,
      5
    ],
    "startTime": "00:00:00",
    "endTime": "22:00:00"
  },
  {
    "weekDays": [
      0,
      6
    ],
    "startTime": "00:33:00",
    "endTime": "22:00:00"
  }
]
},
"pages": [
{
  "name": "a-page",
  "widgets": [
    {
      "zIndex": 1,
     "lang":"en",
      "type": "WEATHER",
      "address": "Beijing Dongcheng District Chang'an Street",
      "latitude": 39.9087,
      "longitude": 116.3974,
      "width": 147,
      "height": 140,
      "refreshPeriod": 600000,
      "fontSize": 14,
      "bold": false,
      "italic": false,
      "underline": false,
      "color": "#00FFD4",
      "tempUnit": 0,
      "unitSymbol": 1,
      "weatherEnable": true,
      "tempEnable": true,
      "windEnable": true,
      "humidEnable": true,
      "currentTempEnable": true,
      "isShowInOneLine": false,
      "duration": 10000,
      "layout": {
        "x": "40%",
        "y": "40%",
        "width": "50%",
        "height": "50%"
      }
    }
  ]
}
]
}
Previous
Hand-drawn clock widget
Next
Environmental Monitoring widget
Built with