For additional documentation see our API at https://app.verdigris.co/docs/v3/circuits/disag.html

Timestamps

TImestamp are when the actions happened for the device.

The timestamp represents the time the activation happened, not the duration of the event. The duration is always 60 seconds (minutely data). The timestamp indicates the beginning of the 60 second period.

The timestamp, in practice, will appear like this:

1537322940

This timestamp format is defined as the seconds since the Jan 1st 1970, in the Universal Time Coordinated timezone (UTC). It is also commonly referred to as Unix Epoch time.

The duration of every timestamp is always 60 seconds, no matter the count.

Count

The count is how many of the device was on during the 60 second interval following the timestamp.

The activation is binary, but since we are returning the activity during the minute, a device may me partially on (e.g. on for 40 seconds, off for 20 seconds = 0.666 counts)

Example


For example, if T is 6 minutes ago:

Timestamps: [T, T+60, T+120, T+180, T+240]

Counts: [0, 0, 1, 1, 0]

Means the device was OFF from T to T+120, ON from T+120 to T+240, and OFF from T+240 to T+300.
Did this answer your question?