Weather widget
💡
Common Solutions when widget type = WEATHER
Player Common Solution
playerIds
array[string]
required
schedule
object
optional
startDate
string
required
endDate
string
required
plans
array [object {3}]
required
pages
array [object {3}]
required
name
string
required
schedules
array [object {3}]
optional
widgets
array [anyOf]
required
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
{
"playerIds": [
"553cbfe2ff4ad2e0d6bd89bb2c4e85e2"
],
"schedule": {
"startDate": "2020-04-11",
"endDate": "2060-05-12",
"plans": [
{
"weekDays": [
1,
2,
3,
4,
5
],
"startTime": "00:00",
"endTime": "22:00"
},
{
"weekDays": [
0,
6
],
"startTime": "00:33",
"endTime": "22:00"
}
]
},
"pages": [
{
"name": "a-page",
"widgets": [
{
"zIndex": 1,
"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%"
}
}
]
}
]
}
Modified at 2025-04-22 03:53:36