From 21151721ed523966649436450a36d5693b73bff6 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:38:21 +0100 Subject: [PATCH] Update example.json --- example.json | 171 +++++++++++++++++++++++++-------------------------- 1 file changed, 83 insertions(+), 88 deletions(-) diff --git a/example.json b/example.json index 3c23175..b2fdb74 100644 --- a/example.json +++ b/example.json @@ -1,94 +1,89 @@ { - "components": [ - { - "type": "camera", - "namespace": "rdk", - "attributes": { - "video_path": "FDF90FEB-59E5-4FCF-AABD-DA03C4E19BFB" - }, - "depends_on": [], - "service_configs": [ - { - "type": "data_manager", - "attributes": { - "capture_methods": [ - { - "capture_frequency_hz": 0.2, - "method": "ReadImage", - "additional_params": { - "mime_type": "image/jpeg" - } - } - ] - } + "services": [ + { + "namespace": "rdk", + "depends_on": [ + "timesensor" + ], + "attributes": { + "additional_sync_paths": [], + "selective_syncer_name": "timesensor", + "sync_interval_mins": 0.2, + "capture_dir": "", + "tags": [] + }, + "name": "datamanager", + "type": "data_manager" + } + ], + "agent_config": { + "subsystems": { + "viam-server": { + "disable_subsystem": false, + "release_channel": "stable", + "pin_version": "", + "pin_url": "" + }, + "agent-provisioning": { + "pin_version": "", + "pin_url": "", + "disable_subsystem": false, + "release_channel": "stable" + }, + "viam-agent": { + "release_channel": "stable", + "pin_version": "", + "pin_url": "", + "disable_subsystem": false } - ], - "name": "webcam", - "model": "webcam" + } }, - { - "attributes": { - "start": "14:10:00", - "end": "15:35:00", - "zone": "CET" + "modules": [ + { + "version": "latest", + "type": "registry", + "name": "naomi_sync-at-time", + "module_id": "naomi:sync-at-time" + } + ], + "components": [ + { + "model": "webcam", + "type": "camera", + "namespace": "rdk", + "attributes": { + "video_path": "FDF90FEB-59E5-4FCF-AABD-DA03C4E19BFB" + }, + "depends_on": [], + "service_configs": [ + { + "attributes": { + "capture_methods": [ + { + "additional_params": { + "mime_type": "image/jpeg" + }, + "capture_frequency_hz": 0.2, + "method": "ReadImage" + } + ] + }, + "type": "data_manager" + } + ], + "name": "webcam" }, - "depends_on": [], - "name": "timesensor", - "model": "naomi:sync-at-time:timesyncsensor", - "type": "sensor", - "namespace": "rdk", - "service_configs": [ - { - "attributes": { - "capture_methods": [] - }, - "type": "data_manager" + { + "depends_on": [], + "name": "timesensor", + "model": "naomi:sync-at-time:timesyncsensor", + "type": "sensor", + "namespace": "rdk", + "attributes": { + "start": "18:29:00", + "end": "18:30:00", + "zone": "CET" } - ] - } - ], - "services": [ - { - "attributes": { - "selective_syncer_name": "timesensor", - "sync_interval_mins": 0.2, - "capture_dir": "", - "tags": [], - "additional_sync_paths": [] - }, - "name": "datamanager", - "type": "data_manager", - "namespace": "rdk" - } - ], - "agent_config": { - "subsystems": { - "viam-server": { - "release_channel": "stable", - "pin_version": "", - "pin_url": "", - "disable_subsystem": false - }, - "agent-provisioning": { - "release_channel": "stable", - "pin_version": "", - "pin_url": "", - "disable_subsystem": false - }, - "viam-agent": { - "release_channel": "stable", - "pin_version": "", - "pin_url": "", - "disable_subsystem": false } - } - }, - "modules": [ - { - "module_id": "naomi:sync-at-time", - "version": "0.0.1", - "type": "registry", - "name": "naomi_sync-at-time" - } - ] -} \ No newline at end of file + ] + }