This page contains an overview of various data models used by the SlugCam network software.
{ "id": 1, "cam": "camera_name", "time": "unix_time", "type": "message_type", "data": {} }
time is sent and received to/from cameras as unix timestamps, but stored as date objects
data: { videoStart: unix_time, videoEnd: unix_time
The video model exists in the videos collection of the database
videos
{ "cam": camera_name, "id": video_id, "videoUploaded": bool, "videoConverted": bool, "uploadTime": datetime, "startTime": datetime, "endTime": datetime }
The camera module is used in the cameras collection and describes a camera node.
cameras
{ "name": camera_name, "lat": camera_latitude, "lng": camera_longitude, "lastMessage": datetime, "lastVideo": datetime }
There was an error while loading. Please reload this page.