how to model config to show aggregated data sending to a common virtual device #427
-
above is the hardware and DDC-1 is sending aggregated data. right now it is sending only LDP-1 data because I haven't figured out how to add the other sensor's data just yet. In my experiments, this DBO config below with virtual device DDC-1 works with DBO telemetry validation: but it doesn't seem quite right. because the virtual here is LDP-1 and my physical hardware DDC-1 is sending to DDC-1 iot core registered device. So I tried "reversing" my DBO model to this: which looks semantically correct but the telemetry validator doesn't seem to understand it and says there's no data coming from LDP-1. I would like to understand how DBO config:
for completeness, my working json pointset for LDP-1 is:
where the points are aggregated (1st 3 points are from LDP-1 and the "zone..." one is from CDS-1) sending to common virtual DDC-1 and that this works with DBO telemetry validation for 2 items LDP-1 and CDS-1. anyone have ideas, or maybe poinnt me to the correct documents or point out my mistakes? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Ok I've figured it out. Open the file tools\validators\instance_validator\tests\fake_instances\GOOD\good_links_passthrough.yaml and it will show you an example model for aggregated data being sent by a single gateway.
The Gateway-Entity is the device that sends aggregated data to GCP. In my case, it is DDC-1, and all the telemetry data are listed in translation part. VIRTUAL-ENTITY-A and B are the sources for the data. Passthrough is fairly recent, so update your ontology! This works on telemetry validation and I'm using these on my config now. |
Beta Was this translation helpful? Give feedback.
-
@tasodorff can you please take a look |
Beta Was this translation helpful? Give feedback.
-
Hi All,
No worries. I got the answer: "GATEWAYS/PASSTHROUGH" seeing an example in
the Good folder on
\tools\validators\instance_validator\tests\fake_instances\GOOD\good_links_passthrough.yaml
Thanks
…On Wed, May 11, 2022 at 11:43 PM Charbel kaed ***@***.***> wrote:
@tasodorff <https://github.com/tasodorff> can you please take a look
—
Reply to this email directly, view it on GitHub
<#427 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCFUXDJYXPP2JJ6B737NNDVJPIR3ANCNFSM5JA4XCPQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Ok I've figured it out. Open the file tools\validators\instance_validator\tests\fake_instances\GOOD\good_links_passthrough.yaml and it will show you an example model for aggregated data being sent by a single gateway.