|  Developer
Updated on June 23, 2022

hub.scenes.time.list

  • Version: 1.0
  • Classes: UI
  • Title: Time scenes list
  • Description: All scenes have time condition in “when” block are present in this list . Returns list of time scenes in chronological order ( first run scene on top of list ).
Edit
  • No parameters required.
Edit
  • The “timeScenes” array of the objects which are described in table:
Field Type Required Description
sceneId string + Id of the scene
sceneName string + Name of the scene
methodName string + Name of the method
executionDate string + Nearest date of the scene execution in format (ISO 8601: “YYYY-MM-DDThh:mm:ss±hhmm”)
Edit
Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.time.list",
    "params": {}
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
        "timeScenes": [
            {
                "sceneId": "kgRFEa7CL8ukevX3",
                "sceneName": "Every hour",
                "methodName": "isInterval",
                "executionDate": "2019-04-06T18:20:00+0200"
            },
            {
                "sceneId": "d233cdel43422",
                "sceneName": "Every Morning",
                "methodName": "isSunState",
                "executionDate": "2019-05-06T06:20:00+0200"
            },
            {
                "sceneId": "gnoVvx4ApUHzHAPa",
                "sceneName": "50 anniversary",
                "methodName": "isOnce",
                "executionDate": "2019-05-07T12:40:00+0200"
            },
            {
                "sceneId": "sHNQTjMaXeAUUFRd",
                "sceneName": "Daily schedule",
                "methodName": "isDate",
                "executionDate": "2019-05-08T10:00:00+0200"
            }
        ]
    }
}