GET/api/devices/{device_id}/forecast

Simulate a device's coming check-ins, deciding each one the way a real check-in would

Simulates upcoming check-ins without writing anything. reason explains a step's wait (e.g. asleep, or an extended refresh rate).

2 parameters
device_idintegerrequired
Device id
hoursintegeroptional
How far ahead to simulate, 1 to 48. Defaults to 24

3 status codes
200The simulated steps
dataobjectoptional
401Unauthorized
errorstringoptional
404Device belongs to another user
errorstringoptional

Error handling

A 401 is returned: Unauthorized. A 404 is returned: Device belongs to another user.