getAstronomicalList
Requires:
@ray-js/ray≥1.5.2
Method signature
getAstronomicalList(params: )Description
Get the astronomical timer list
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request parameters |
Return Value
Type: Promise<IGetAstronomicalListResponse>
Array of astronomical timers
Referenced Types
interface
IGetAstronomicalListResponse| Property | Type | Description |
|---|---|---|
astronomicalType | number | Sunrise/sunset type |
bizId | string | Device or group ID |
bizType | number | Resource type. 0: single device. 1: group device. |
dps | string | DP value |
id | number | Schedule ID |
lat | number | Longitude |
lon | number | Latitude |
loops | string | Weekly cycle |
nextSunSet | string | Next sunrise time |
offsetType | number | Schedule offset type |
status | number | Scheduled task status: 0 = disabled, 1 = enabled, 2 = invalid/deleted |
time | string | Scheduled time |
timezone | string | Time zone |