
From nobody Sun May  2 01:21:08 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 270F33A2376 for <asdf@ietfa.amsl.com>; Sun,  2 May 2021 01:21:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level: 
X-Spam-Status: No, score=-2.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=eMNPQIpJ; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=UovKY3Jq
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YWRFQg-9Xp4L for <asdf@ietfa.amsl.com>; Sun,  2 May 2021 01:21:01 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 296803A2371 for <asdf@ietf.org>; Sun,  2 May 2021 01:21:01 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5058E1425 for <asdf@ietf.org>; Sun,  2 May 2021 03:42:16 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 02 May 2021 03:42:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject; s=fm2; bh=krvc/GfYWpw mvP/LF6KR2JUqgmpMXjlUKKSEqJk4wMk=; b=eMNPQIpJS+Jh/aAhmBQ0ndco2Bt +ShoIPijskavnfulRF7Njm+85ut5BqJGUTB/SfyLNX2AMtw2bXpb7urgLZo1mTFf NB4lIA1ZRGoYnm8dDhw8c5xo5kjWtAlaySdYNVulyQ+fm8J8cOfbJB/nbpJHpfQR To/V/LuEZReVJeWEh6l6YoapcTgwOIkSGcDZbo6565D4Vq1H2WeV65YlL9p14ZIR XNemFnDnbkKutR3yiDiqG4FUkeI1smYFxyLM0Rx4MklQ6u9C7j4GMzjjAQwSQbWi xNJUDJrAOkMwTR0iFiVlIHDGSvdSTt/LMgm56HzKnRN4vWF54jXcC+YbKCA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:from:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=krvc/GfYWpwmvP/LF6KR2JUqgmpMXjlUKKSEqJk4wMk=; b=UovKY3Jq WeR5Vq2/h/BCc3au+Axcc5NUvfAHG8XgKQx8aUF72lso5L67xUJROGGzZjvM2Sj9 l5z74MlsnCo/ShiW+/bn7DngbwWu4LlPABJvUD0GOrbRvC22N2FRROeKG/w+AKvF lJVwdpbdImJ3oV5VeaNMIrf3HqAgkkNAL4FodH5sDwwoGmwGHnoDnWjM9IzaTlUV x/mmLSTRjiPVnrV7CyMcSCNRp6uQWYakBXiLmj+BArXpwx1dxQNajX9BQWkBY4b7 0J3j+mEbhjFLtkazMl9TliZGVwPvz3M4xq5Z1HFXJ+TkSG0UIbqEYFbpm9PsFeql P7pmKy9qGwQ6+A==
X-ME-Sender: <xms:11eOYK016nJjX7bj7GqRxv-FaqfRfQFcbuMoSEs2o63CKi-40ZIfkw> <xme:11eOYNFkZCPdM-BdvhyuVGrXg_R621sJk2sbdAFc-CZcdSmSQ3nIgocd4NmavVtKO JudjzOs3gIl7qKHPQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefuddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfpohcuuggrthgvuchfihgvlhguucdlgeelmdenuc fjughrpegtggfhvffusegrtddtredttdejnecuhfhrohhmpeftvghpohhsihhtohhrhicu tegtthhivhhithihucfuuhhmmhgrrhihuceuohhtuceoughopghnohhtpghrvghplhihse hmnhhothdrnhgvtheqnecuggftrfgrthhtvghrnhepkeefvdduteejvdefkeehieevuefg fefhteetveegffekffefteffvdelheduieetnecuffhomhgrihhnpehgihhthhhusgdrtg homhenucfkphepudefrdekvddruddrudekleenucevlhhushhtvghrufhiiigvpeegnecu rfgrrhgrmhepmhgrihhlfhhrohhmpeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvg ht
X-ME-Proxy: <xmx:11eOYC4LX2rDMDBh6elhZe6ikc5N_Sk-lS545YRFXEhIES_kEVQOgg> <xmx:11eOYL2CziWBhuIliPNg2b-qMzn638la9MMrNaOtdpHGUw_Z4WM-CQ> <xmx:11eOYNE840p9hT_YpJwQcLpTGUm5cDHVvtPT2BWCLFPqK-MVZXs4vA> <xmx:11eOYLNIeobO9gBIHoXUJigM1pUgaqrsaT4JXqv3x7numA6fyJ9-eQ>
Received: from fv-az201-515.ett4tu3jvdse5ovc2mkgjqcs5a.bx.internal.cloudapp.net (unknown [13.82.1.189]) by mail.messagingengine.com (Postfix) with ESMTPA for <asdf@ietf.org>; Sun,  2 May 2021 03:42:15 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============0659291264325575548=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: asdf@ietf.org
Message-Id: <20210502082101.296803A2371@ietfa.amsl.com>
Date: Sun,  2 May 2021 01:21:01 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/f5CviLGU4t_UzKusDgL2WO--Xmk>
Subject: [Asdf] Weekly github digest (ASDF Activity Summary)
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 May 2021 08:21:06 -0000

--===============0659291264325575548==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"



Pull requests
-------------
* ietf-wg-asdf/SDF (+0/-1/=F0=9F=92=AC1)
  1 pull requests received 1 new comments:
  - #30 Define how other members override the value imported via sdfRef (1 =
by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/30=20

  1 pull requests merged:
  - Define how other members override the value imported via sdfRef
    https://github.com/ietf-wg-asdf/SDF/pull/30=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/ietf-wg-asdf/SDF

--===============0659291264325575548==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (ASDF Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday May 02, 2021</h1>

<p>Events without label "editorial"</p>



<h2>Pull requests</h2>
<h3>ietf-wg-asdf/SDF (+0/-1/=F0=9F=92=AC1)</h3>

  <p>1 pull requests received 1 new comments:</p>
  <ul>
  <li>#30 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/30">Define ho=
w other members override the value imported via sdfRef</a> (1 by cabo) </li>
  </ul>

  <p>1 pull requests merged:</p>
  <ul>
  <li>#30 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/30">Define ho=
w other members override the value imported via sdfRef</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/ietf-wg-asdf/SDF">https://github.com/ie=
tf-wg-asdf/SDF</a></li>
  </ul>
</body>
</html>

--===============0659291264325575548==--


From nobody Mon May  3 11:39:21 2021
Return-Path: <michaeljohnkoster@gmail.com>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 518AA3A1FC8 for <asdf@ietfa.amsl.com>; Mon,  3 May 2021 11:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7zgK-1P1GVjs for <asdf@ietfa.amsl.com>; Mon,  3 May 2021 11:39:15 -0700 (PDT)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D68A53A1FC7 for <asdf@ietf.org>; Mon,  3 May 2021 11:39:15 -0700 (PDT)
Received: by mail-pl1-x62c.google.com with SMTP id s20so3309376plr.13 for <asdf@ietf.org>; Mon, 03 May 2021 11:39:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=za97FtMORPM0/1kvmE3SHm999h2gRAo8sTgEGZDXUYs=; b=cemVdLyrZ5D8kMRXvZ2vWQ0dju7oxlmXaSmnWVGGxDvcrhqMuzAv4IdCx2dcz57An7 cTHiuI7oZNfzUdstJapbKR++xGnYW8oKHN/xJbzpnbGIo26d8UHfaAmrwrHGrsfxDXmb rZ8Gma0PkoiFWQp4EDueiNiSG9KTdsdo5ysTYc3PJ2dMhq4R5plfrpvaR9JeN1O9yVqd 8GUBOp3HsRWfwWPSvvwdkEvTF78syHqjFmC1zvGz3Yo4t5QYOGqECTwmKUj4AyODVXqE JNaE2qwimOF5g61h0jOWi97A+/8/xYf2daZTqrMD+P1TQ5ZNswrbdaYMAojJLsNhY0zq hKAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=za97FtMORPM0/1kvmE3SHm999h2gRAo8sTgEGZDXUYs=; b=gvjm2PZJ8GJs/HujBpWZYkr1vrLAYGH1/j3BpmAVy5AphK6qw7MIhjuMUUbogrubvC wZGETrYVrp7sDWFQoO5c+3Lx42qRncYf0GJfUnR5Sf2e0HZpH6ZXWh0AZJ69wM43jR/X 7rIzPnzJ7X8FtdYcrCUj5mYP+ZKHx7EwsqpMGlS/DeGsnF9/5Z2WwoKMy06KQM+Y7eMT QNTTSFId0qtoW6rgdAVE20hinmfxXAo5/6w3QxgS9Dj7qmyDVeuR2Pf4QT01PzEiACjF IiwgANj8m6PcsYOHgKs4Q97Y0j/YJqt/XYbmWqR59V9cGyMhIYPiAKxlQs8dSHzBI1km GuCQ==
X-Gm-Message-State: AOAM531Re8JUHdrSNyHqTF1xXFFSS4Hx7cA21igUBLfuC90xA3zChc1i k7yQufS9KEH54dFbL2OiA5lOUP+eyGI=
X-Google-Smtp-Source: ABdhPJy8GxDtWtu6Uy7gcsGxGUOtQkcsMaC5XcoYGB/L/fUATY3ckRwF90efEL0+vpsi9SKOZjDzcQ==
X-Received: by 2002:a17:902:e8d5:b029:e6:cabb:d07 with SMTP id v21-20020a170902e8d5b02900e6cabb0d07mr21523550plg.3.1620067154441;  Mon, 03 May 2021 11:39:14 -0700 (PDT)
Received: from [172.16.0.8] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id r32sm267280pgm.49.2021.05.03.11.39.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 May 2021 11:39:13 -0700 (PDT)
From: Michael Koster <michaeljohnkoster@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <B84C6B80-3AD2-44FF-8025-9031171B6A20@gmail.com>
Date: Mon, 3 May 2021 11:39:11 -0700
Cc: asdf@ietf.org
To: One Data Model Group <onedm@iotliaison.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/c7_eKH4iusm6N_oTo_jwNpE0Ngw>
Subject: [Asdf] Sensor design pattern thoughts
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 May 2021 18:39:17 -0000

Hi,

Here are some follow-on thoughts from today's OneDM discussion about =
sensor modeling and sensor types, quantities, and units.

asdf cc'd for interest=20

I think, to some extent, the ambiguity around handling quantities and =
units comes from multiple sources:

- We don't have a good system model

In the general sense, the system model is underspecified. We are =
modeling systems of interconnected devices, not physical systems with =
devices installed at well-defined instrumentation and control points. We =
might compensate by building more into the models, based on assumptions =
of autonomy and agency in the system, both computational agency as well =
as descriptive/configuration agency. We assume that devices need to be =
able to discover each other and interoperate autonomously. We see system =
intermediaries as a sign of architectural weakness, and somehow extend =
that to external system models.

So the models end up embodying some of what might be system level =
information, and the boundary is unclear. Ideally the model organization =
would support the pattern found in the O&M ontology, roughly:

Physical feature (FoI) <--> measurement situation (sensing element) <--> =
sensing process (logial affordances, q+u, scale) <--> communication =
system (device and network) <--> application logic

I used to think we could bypass a lot of this for "simple IoT devices", =
but I'm beginning to see the advantage of decoupling the relationships =
in the modeling to make it easier for those who just want simple =
devices. In OneDM we model the logical affordances. We might consider =
scales, quantities, and units to be part of instance bindings, =
especially as these can easily be converted and adapted.

- It's not clear where the product/instance constraints and =
customization is introduced.

Does an IPSO Smart Object model represent a device or a function block? =
Well, obviously it's a function block. Hmm but it seems to encapsulate a =
lot of the system features like specialization around a particular =
measurement quantity. For example, an industrial temperature transmitter =
is a specific product that contains some specialized sensing element =
with common configuration, processing, and communication. Most of the =
product is interchangeable and only gets the specialization when it's =
assembled.

Our models are similar. Having units and range information allows =
customization, and we define a "Temperature Sensor" as an object type. =
What is the particular tradeoff being made here? Temperature sensor in =
many ways seems more like a composed type than a building block. =
Temperature sensing seems to be a specialization that may add some =
unique qualities but for the most part only sets the quantities, units, =
and range.

A good counterpoint is concentration sensing in mixtures. There are only =
a few units (mol/mol, ppm...), but many potential components (CO, CO2, =
O2, methane, total HC, and so on). Here is seems to make sense to define =
a concentration sensor and provide a category enum for what material is =
being sensed.

Maybe it would make sense to move some specialization to the sdfThing =
layer as a practice, and think about maximum reuse of object =
definitions. What if we had generic sensing building blocks and a good =
type system for quantities and units that can become part of a system =
model and device models. Then we can assemble product descriptions for =
things on the shelf, as well as measurement descriptions that are =
agnostic to the product or device being used.

Maybe there will be interoperability levels, with conformance to the =
more abstract object building blocks (affordances) on a fundamental =
level, and constrained object/thing definitions (units, quantities, =
etc.) working on a more practical level.=20

Best regards,

Michael


From nobody Wed May  5 08:35:04 2021
Return-Path: <simon@silvair.com>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CE883A12BB for <asdf@ietfa.amsl.com>; Wed,  5 May 2021 08:35:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=silvair-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hfk3ZVFH9Vbq for <asdf@ietfa.amsl.com>; Wed,  5 May 2021 08:34:55 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BAB13A129F for <asdf@ietf.org>; Wed,  5 May 2021 08:34:15 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id t3so2024722iol.5 for <asdf@ietf.org>; Wed, 05 May 2021 08:34:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+eCIsf7wE6GdeL1HMs7uNeNlqHMFNVY6j71DAE3kUfk=; b=bEBaYlity9uKMxMmTBrqn4Jasd6E+5pP9InPSL6Z52MltCOKd0ctnusm5sSWoDMnoa DFEj4X1v6GQ7Ggjh78XtWknyz+/aeiC6i5vzlDN1rAzk4zm7+2kY6Nm4hL4ecm8aQmmA d7D1ft255BtQUzIJQ+szaGeh250Vp0+i7OcjYIkn6RvLgwFps7DMN5GQ1BA/2SbC5d4I dZQwG2/w2DvECDLzaahDXtHEL8dGunWPom88LvXJWwlG+zPqDzCbCK2ahLwNIRasLEFR O9sG8lK79MNt1PIfeukdBJq07nGCckc/EImrnbCW3FSrovvN2M1RqheubkxIHO0UxdfP Mbeg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+eCIsf7wE6GdeL1HMs7uNeNlqHMFNVY6j71DAE3kUfk=; b=QaMrvxUIWQJL0j/p5xkt0yPg+tqJIN8nqqREjahMojPkz6Ueh4FdX54YTnwwn33ADI 3uqYzfmwEqa3n6AYp2X4bh/GQpd5oIUS1Ru5Mt6T+6rVIPZKqj/F8AWxv29lh31S19NI aWZQvDfKkJ6zrv2g4rSWNxRjdQHe1T435XlnWJ4/145X/7vMWVwV18ctH817alq8VkiD 3JLYIDyNNERQkoiuHqccguI4tqqWdyoAlBIrZCg8mbIU1v8J197Lg/PgLk25/e6TChCe viw5+F41gEZA68ZKKiYX9e8IUNa66i7RPexCV1tEqYvCKoxlpOuys4wQepvq8nqY3w53 JWrQ==
X-Gm-Message-State: AOAM532raeSPfcwNoa4F+PieEOkPgs6Kxk30+jIAXo3bvE6VZPkGPkLj iK8XeWcy+Z2uj5LFsQ7/KyALdQcYtHHRYUkKv4z/tg==
X-Google-Smtp-Source: ABdhPJxyI53bmgV38BmU+FDlXSJv8E+nmAbZ06Rl8+DPtKkZf0c8qBtZQHgsxAZWhGc7VdBaS3g3G2peTVzr9+P9q1I=
X-Received: by 2002:a5d:8ad2:: with SMTP id e18mr23530802iot.51.1620228854048;  Wed, 05 May 2021 08:34:14 -0700 (PDT)
MIME-Version: 1.0
References: <B84C6B80-3AD2-44FF-8025-9031171B6A20@gmail.com>
In-Reply-To: <B84C6B80-3AD2-44FF-8025-9031171B6A20@gmail.com>
From: =?UTF-8?Q?Szymon_S=C5=82upik?= <simon@silvair.com>
Date: Wed, 5 May 2021 17:33:37 +0200
Message-ID: <CABNHR1z0-3mV_e=EH7EtR5cLBDPFmfTZKn8vRA2cfv35GRk-7w@mail.gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
Cc: One Data Model Group <onedm@iotliaison.org>, asdf@ietf.org
Content-Type: multipart/alternative; boundary="0000000000004d01e105c196edab"
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/ZLO76oddKSJ2fbAb3p9k8UxoYZw>
Subject: Re: [Asdf] [One Data Model Group] Sensor design pattern thoughts
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2021 15:35:03 -0000

--0000000000004d01e105c196edab
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Michael,

This is a very valid discussion.

I have always been wondering how we are going to map Bluetooth mesh sensors
to SDF.

Bluetooth defines today 183 so called "Properties", each representing an
atomic sensor. A Property defines the context for data, such as "Outdoor
Temperature" and points to the underlying Characteristic (which defines the
data format, such as Temperature 8 (which defines ranges, resolution,
special values such as "unknown"), which in turn points to a Unit (degree
Celsius).

A physical sensor device may include any combination of the 183 properties,
so the total number of combinations is 183! (~1.4e+345). This is of
course not doable to define in SDF any potential combination. The only way
is to define the rules for producing an SDF definition from a Bluetooth
definition of a given sensor).

Best

Szymon Slupik
President, CTO
+1-415-696-9111

[image: Silvair]
ul. Jasnog=C3=B3rska 44
31-358 Krak=C3=B3w
Poland

www.silvair.com

[image: Facebook] <https://www.facebook.com/meetsilvair/>   [image:
LinkedIn] <https://www.linkedin.com/company/meetsilvair/>   [image: Twitter=
]
<https://twitter.com/meetsilvair>

NOTICE TO RECIPIENT
We inform you that Silvair sp. z o.o. with its registered office in Cracow
(31-358), at Jasnog=C3=B3rska Street 44 is the controller of your personal =
data.
You can find more information about processing personal data and your
rights here
<https://silvair.com/media/filer_public/e5/ba/e5ba1ed2-84e6-47da-8277-f10df=
2eed7cc/information_on_personal_data_processing_of_representative_of_entity=
_mail_contacts_to_establish_maintain_business_relationshipsfn.pdf>.

This e-mail message and any documents accompanying it contain information
that belongs to SILVAIR. This e-mail is meant for only the intended
recipient of the transmission, and may be a communication privileged by
law, confidential and/or otherwise protected from disclosure. If you
received this e-mail in error and you are not the intended recipient, any
review, use, dissemination, distribution, or copying of this e-mail or
attachment is strictly prohibited. Please notify us immediately of the
error by return e-mail and please delete this message from your system.


On Mon, May 3, 2021 at 8:39 PM One Data Model Group <onedm@iotliaison.org>
wrote:

> Hi,
>
> Here are some follow-on thoughts from today's OneDM discussion about
> sensor modeling and sensor types, quantities, and units.
>
> asdf cc'd for interest
>
> I think, to some extent, the ambiguity around handling quantities and
> units comes from multiple sources:
>
> - We don't have a good system model
>
> In the general sense, the system model is underspecified. We are modeling
> systems of interconnected devices, not physical systems with devices
> installed at well-defined instrumentation and control points. We might
> compensate by building more into the models, based on assumptions of
> autonomy and agency in the system, both computational agency as well as
> descriptive/configuration agency. We assume that devices need to be able =
to
> discover each other and interoperate autonomously. We see system
> intermediaries as a sign of architectural weakness, and somehow extend th=
at
> to external system models.
>
> So the models end up embodying some of what might be system level
> information, and the boundary is unclear. Ideally the model organization
> would support the pattern found in the O&M ontology, roughly:
>
> Physical feature (FoI) <--> measurement situation (sensing element) <-->
> sensing process (logial affordances, q+u, scale) <--> communication syste=
m
> (device and network) <--> application logic
>
> I used to think we could bypass a lot of this for "simple IoT devices",
> but I'm beginning to see the advantage of decoupling the relationships in
> the modeling to make it easier for those who just want simple devices. In
> OneDM we model the logical affordances. We might consider scales,
> quantities, and units to be part of instance bindings, especially as thes=
e
> can easily be converted and adapted.
>
> - It's not clear where the product/instance constraints and customization
> is introduced.
>
> Does an IPSO Smart Object model represent a device or a function block?
> Well, obviously it's a function block. Hmm but it seems to encapsulate a
> lot of the system features like specialization around a particular
> measurement quantity. For example, an industrial temperature transmitter =
is
> a specific product that contains some specialized sensing element with
> common configuration, processing, and communication. Most of the product =
is
> interchangeable and only gets the specialization when it's assembled.
>
> Our models are similar. Having units and range information allows
> customization, and we define a "Temperature Sensor" as an object type. Wh=
at
> is the particular tradeoff being made here? Temperature sensor in many wa=
ys
> seems more like a composed type than a building block. Temperature sensin=
g
> seems to be a specialization that may add some unique qualities but for t=
he
> most part only sets the quantities, units, and range.
>
> A good counterpoint is concentration sensing in mixtures. There are only =
a
> few units (mol/mol, ppm...), but many potential components (CO, CO2, O2,
> methane, total HC, and so on). Here is seems to make sense to define a
> concentration sensor and provide a category enum for what material is bei=
ng
> sensed.
>
> Maybe it would make sense to move some specialization to the sdfThing
> layer as a practice, and think about maximum reuse of object definitions.
> What if we had generic sensing building blocks and a good type system for
> quantities and units that can become part of a system model and device
> models. Then we can assemble product descriptions for things on the shelf=
,
> as well as measurement descriptions that are agnostic to the product or
> device being used.
>
> Maybe there will be interoperability levels, with conformance to the more
> abstract object building blocks (affordances) on a fundamental level, and
> constrained object/thing definitions (units, quantities, etc.) working on=
 a
> more practical level.
>
> Best regards,
>
> Michael
>
>

--0000000000004d01e105c196edab
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Michael,<div><br></div><div>This is a very valid discus=
sion.</div><div><br></div><div>I have always been wondering how we are goin=
g to map Bluetooth mesh sensors to SDF.</div><div><br></div><div>Bluetooth =
defines today 183 so called &quot;Properties&quot;, each representing an at=
omic sensor. A Property defines the context for data, such as &quot;Outdoor=
 Temperature&quot; and points to the underlying Characteristic (which=C2=A0=
defines the data format, such as Temperature 8 (which defines ranges, resol=
ution, special values such as &quot;unknown&quot;), which in turn=C2=A0poin=
ts to a Unit (degree Celsius).</div><div><br></div><div>A physical sensor d=
evice may include any combination of the 183 properties, so the total numbe=
r=C2=A0of combinations is 183! (~1.4e+345). This is of course=C2=A0not doab=
le to define in SDF any potential combination. The only way is to define th=
e rules for producing an SDF definition from a Bluetooth definition of a gi=
ven sensor).</div><div><br></div><div>Best<br clear=3D"all"><div><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><p>
      <font face=3D"arial, helvetica, sans-serif">
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font=
-weight:700">Szymon Slupik</span><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)">Pre=
sident, CTO</span><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);whit=
e-space:pre"><a href=3D"tel:+1-415-696-9111" style=3D"line-height:1.2;color=
:rgb(0,0,0)" target=3D"_blank">+1-415-696-9111</a></span>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <img style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-=
weight:700;width:99px;height:36px" src=3D"https://silvair.com/media/filer_p=
ublic/3c/c1/3cc16e3b-4cc1-40a6-bf47-d983fa26e1ac/silvar_logo_198x72.png" al=
t=3D"Silvair" width=3D"99" height=3D"36"><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)">ul.=
 Jasnog=C3=B3rska 44 <br>31-358 Krak=C3=B3w <br>Poland </span><br>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)" href=
=3D"http://www.silvair.com/" target=3D"_blank">www.silvair.com</a>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://www.facebook.com/meetsilvair/" target=3D"_blank">=
<img src=3D"https://silvair.com/media/filer_public/b9/7a/b97ad3ec-94ed-4a6e=
-af5c-a73510d93e7c/ikonki_40x40_02.png" style=3D"width:20px;height:20px" al=
t=3D"Facebook" width=3D"20" height=3D"20"></a> =C2=A0
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://www.linkedin.com/company/meetsilvair/" target=3D"=
_blank"><img src=3D"https://silvair.com/media/filer_public/5c/c9/5cc9663b-9=
dd8-4321-b798-a6e5c7c259af/ikonki_40x40_03.png" style=3D"width:20px;height:=
20px" alt=3D"LinkedIn" width=3D"20" height=3D"20"></a> =C2=A0
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://twitter.com/meetsilvair" target=3D"_blank"><img s=
rc=3D"https://silvair.com/media/filer_public/c7/ee/c7ee7006-95a3-4a1f-8b89-=
8b2074b2e74a/ikonki_40x40_01.png" style=3D"width:20px;height:20px" alt=3D"T=
witter" width=3D"20" height=3D"20"></a>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(153,15=
3,153)">NOTICE TO RECIPIENT </span><br>
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(153,15=
3,153)">We
 inform you that Silvair sp. z o.o. with its registered office in Cracow
 (31-358), at Jasnog=C3=B3rska Street 44 is the controller of your personal=
=20
data. You can find more information about processing personal data and=20
your rights <a href=3D"https://silvair.com/media/filer_public/e5/ba/e5ba1ed=
2-84e6-47da-8277-f10df2eed7cc/information_on_personal_data_processing_of_re=
presentative_of_entity_mail_contacts_to_establish_maintain_business_relatio=
nshipsfn.pdf" style=3D"color:black" target=3D"_blank">here</a>. </span><br>
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(204,20=
4,204)">This
 e-mail message and any documents accompanying it contain information=20
that belongs to SILVAIR. This e-mail is meant for only the intended=20
recipient of the transmission, and may be a communication privileged by=20
law, confidential and/or otherwise protected from disclosure. If you=20
received this e-mail in error and you are not the intended recipient,=20
any review, use, dissemination, distribution, or copying of this e-mail=20
or attachment is strictly prohibited. Please notify us immediately of=20
the error by return e-mail and please delete this message from your=20
system.=C2=A0</span><br>
      </font>
    </p></div></div></div><br></div></div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Mon, May 3, 2021 at 8:39 PM One Data=
 Model Group &lt;<a href=3D"mailto:onedm@iotliaison.org">onedm@iotliaison.o=
rg</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
">Hi,<br>
<br>
Here are some follow-on thoughts from today&#39;s OneDM discussion about se=
nsor modeling and sensor types, quantities, and units.<br>
<br>
asdf cc&#39;d for interest <br>
<br>
I think, to some extent, the ambiguity around handling quantities and units=
 comes from multiple sources:<br>
<br>
- We don&#39;t have a good system model<br>
<br>
In the general sense, the system model is underspecified. We are modeling s=
ystems of interconnected devices, not physical systems with devices install=
ed at well-defined instrumentation and control points. We might compensate =
by building more into the models, based on assumptions of autonomy and agen=
cy in the system, both computational agency as well as descriptive/configur=
ation agency. We assume that devices need to be able to discover each other=
 and interoperate autonomously. We see system intermediaries as a sign of a=
rchitectural weakness, and somehow extend that to external system models.<b=
r>
<br>
So the models end up embodying some of what might be system level informati=
on, and the boundary is unclear. Ideally the model organization would suppo=
rt the pattern found in the O&amp;M ontology, roughly:<br>
<br>
Physical feature (FoI) &lt;--&gt; measurement situation (sensing element) &=
lt;--&gt; sensing process (logial affordances, q+u, scale) &lt;--&gt; commu=
nication system (device and network) &lt;--&gt; application logic<br>
<br>
I used to think we could bypass a lot of this for &quot;simple IoT devices&=
quot;, but I&#39;m beginning to see the advantage of decoupling the relatio=
nships in the modeling to make it easier for those who just want simple dev=
ices. In OneDM we model the logical affordances. We might consider scales, =
quantities, and units to be part of instance bindings, especially as these =
can easily be converted and adapted.<br>
<br>
- It&#39;s not clear where the product/instance constraints and customizati=
on is introduced.<br>
<br>
Does an IPSO Smart Object model represent a device or a function block? Wel=
l, obviously it&#39;s a function block. Hmm but it seems to encapsulate a l=
ot of the system features like specialization around a particular measureme=
nt quantity. For example, an industrial temperature transmitter is a specif=
ic product that contains some specialized sensing element with common confi=
guration, processing, and communication. Most of the product is interchange=
able and only gets the specialization when it&#39;s assembled.<br>
<br>
Our models are similar. Having units and range information allows customiza=
tion, and we define a &quot;Temperature Sensor&quot; as an object type. Wha=
t is the particular tradeoff being made here? Temperature sensor in many wa=
ys seems more like a composed type than a building block. Temperature sensi=
ng seems to be a specialization that may add some unique qualities but for =
the most part only sets the quantities, units, and range.<br>
<br>
A good counterpoint is concentration sensing in mixtures. There are only a =
few units (mol/mol, ppm...), but many potential components (CO, CO2, O2, me=
thane, total HC, and so on). Here is seems to make sense to define a concen=
tration sensor and provide a category enum for what material is being sense=
d.<br>
<br>
Maybe it would make sense to move some specialization to the sdfThing layer=
 as a practice, and think about maximum reuse of object definitions. What i=
f we had generic sensing building blocks and a good type system for quantit=
ies and units that can become part of a system model and device models. The=
n we can assemble product descriptions for things on the shelf, as well as =
measurement descriptions that are agnostic to the product or device being u=
sed.<br>
<br>
Maybe there will be interoperability levels, with conformance to the more a=
bstract object building blocks (affordances) on a fundamental level, and co=
nstrained object/thing definitions (units, quantities, etc.) working on a m=
ore practical level. <br>
<br>
Best regards,<br>
<br>
Michael<br>
<br>
</blockquote></div>

--0000000000004d01e105c196edab--


From nobody Wed May  5 10:14:06 2021
Return-Path: <bnordman@lbl.gov>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A6A3A1973 for <asdf@ietfa.amsl.com>; Wed,  5 May 2021 10:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lbl-gov.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ZkZI3uiJ9PG for <asdf@ietfa.amsl.com>; Wed,  5 May 2021 10:13:58 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CDED3A196E for <asdf@ietf.org>; Wed,  5 May 2021 10:13:57 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id e190so3616035ybb.10 for <asdf@ietf.org>; Wed, 05 May 2021 10:13:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lbl-gov.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vBphDSrYUOskVAoXzJx5qko+TBF5wUXXIXm4pgZ3aH0=; b=13SWmm+SVag13sqf1PTv9Uv5x9PxpOEfSox7NyPkuGE7nJzFywT7Q2V7AMme8pT3dI LZKlO9VC+aN3MeW5DE0W/q1lvVoYaNxlTafrl/zbvBd3/gj0HDtkf47CMR0PeTW9q6VJ Wn3Aiyps1npAWr2zBHogWzJ4u5kHuYIcPYUqHJymsvh8P0X9bJaUiM3fFkEeY+gnFQhy NSp6nIXK25LpvOiftRbwR50CXTGFjBrhbMin2fCsg3nOWtQtQp5K7Jikzp3FXdLT2qjD BLT+zW34f2zoK4M/CUqjyz3tK3kkYOlZVSgSxSCIz3xzlur0Zvnv1Iu6a5X/XUeKjPLw l7mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vBphDSrYUOskVAoXzJx5qko+TBF5wUXXIXm4pgZ3aH0=; b=AGSXfoNrlRE7htnO7m99juPrpEXgTodrFbU4XLGYr2HQT0kv9UHpn0CGaF8mHGNser Ly7zf+i8pobGde5yKv9XAyimbKtvccrZuVa/1b8ba4xYVZ+guhjfl61vT6AI2OVHGDJg O0gz+eTj+wK5xxMmO7UrB86FuemhuQzE6IQs2GNodgAweBZJfFEnawLmeZpsdjn0uQYR aRLBMy4yDqlFmSkxLLTO1bP/r9xYtxjglVSgasToAbylAAbpt6AU8uGIQU6ruQzWTkjI FpF1o4dA5o+Mlr3RUpurkeLjp/la/rV9G8HIQSl8OiEqqnjk0fSbVf/XBTg/eHIvG4ya TG6Q==
X-Gm-Message-State: AOAM531cG8rz35yUfIKO84viat+TBJwDw8XTBBfPBKIh8sXqlN9lG1b9 LaJqoDLi5UOwZwM/9C5WDgEhUpStxzcPLxsDKA2Sy4BCdZBl8IUCK7jq+dbhrQWUVVxCaO1KSH1 tc0vHSwH31wYFai/iNXgc5FEfCmp//fSpWmMClr1kjDrNl2GkFGd/qr9wANywG/YUC4wKEzZ3UA ==
X-Google-Smtp-Source: ABdhPJx0hMz1emlvgyOgJCtbRJiUtmtKYKTB0bO2HfIWyx6bQH7q4xlqCzWio3eMY31xOMbxXz9cwx/5KEdtMtQUS60=
X-Received: by 2002:a25:c752:: with SMTP id w79mr45831986ybe.271.1620234834337;  Wed, 05 May 2021 10:13:54 -0700 (PDT)
MIME-Version: 1.0
References: <B84C6B80-3AD2-44FF-8025-9031171B6A20@gmail.com> <CABNHR1z0-3mV_e=EH7EtR5cLBDPFmfTZKn8vRA2cfv35GRk-7w@mail.gmail.com>
In-Reply-To: <CABNHR1z0-3mV_e=EH7EtR5cLBDPFmfTZKn8vRA2cfv35GRk-7w@mail.gmail.com>
From: Bruce Nordman <bnordman@lbl.gov>
Date: Wed, 5 May 2021 10:13:43 -0700
Message-ID: <CAK+eDP-qzifr41Jytq6W1_huSnDinAz4q_4VgN-hHij-JAn-Lw@mail.gmail.com>
To: =?UTF-8?Q?Szymon_S=C5=82upik?= <simon@silvair.com>
Cc: Michael Koster <michaeljohnkoster@gmail.com>,  One Data Model Group <onedm@iotliaison.org>, asdf@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c1348e05c198519c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/lfV0TuW3LwqrIi6nmraYAxooMJI>
Subject: Re: [Asdf] [One Data Model Group] Sensor design pattern thoughts
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2021 17:14:04 -0000

--000000000000c1348e05c198519c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

As someone who thinks about the world through the lens of energy use, to me
a "device " (and I know that term has different meanings for different
disciplines) is something with a power cord and hopefully an IP address.
Stand-alone sensors are often not such a 'device' - they might not consume
mains power, and might relay their data to an IP device over a non-IP
communications path, but should be able to be brought into the IP domain
and SDF in a consistent way.
A sensor of course might also be integral to a regular device (e.g. my TV
might have an ambient light sensor and be able to report that).

Is there some reference structure of what types of objects might exist and
their characteristics/capabilities?
It seems highly advantageous if we have a common taxonomy and terminology
around this, that crosses many standards.

--Bruce


On Wed, May 5, 2021 at 8:34 AM Szymon S=C5=82upik <simon@silvair.com> wrote=
:

> Hi Michael,
>
> This is a very valid discussion.
>
> I have always been wondering how we are going to map Bluetooth mesh
> sensors to SDF.
>
> Bluetooth defines today 183 so called "Properties", each representing an
> atomic sensor. A Property defines the context for data, such as "Outdoor
> Temperature" and points to the underlying Characteristic (which defines t=
he
> data format, such as Temperature 8 (which defines ranges, resolution,
> special values such as "unknown"), which in turn points to a Unit (degree
> Celsius).
>
> A physical sensor device may include any combination of the 183
> properties, so the total number of combinations is 183! (~1.4e+345). This
> is of course not doable to define in SDF any potential combination. The
> only way is to define the rules for producing an SDF definition from a
> Bluetooth definition of a given sensor).
>
> Best
>
> Szymon Slupik
> President, CTO
> +1-415-696-9111
>
> [image: Silvair]
> ul. Jasnog=C3=B3rska 44
> 31-358 Krak=C3=B3w
> Poland
>
> www.silvair.com
>
> [image: Facebook] <https://www.facebook.com/meetsilvair/>   [image:
> LinkedIn] <https://www.linkedin.com/company/meetsilvair/>   [image:
> Twitter] <https://twitter.com/meetsilvair>
>
> NOTICE TO RECIPIENT
> We inform you that Silvair sp. z o.o. with its registered office in Craco=
w
> (31-358), at Jasnog=C3=B3rska Street 44 is the controller of your persona=
l data.
> You can find more information about processing personal data and your
> rights here
> <https://silvair.com/media/filer_public/e5/ba/e5ba1ed2-84e6-47da-8277-f10=
df2eed7cc/information_on_personal_data_processing_of_representative_of_enti=
ty_mail_contacts_to_establish_maintain_business_relationshipsfn.pdf>.
>
> This e-mail message and any documents accompanying it contain information
> that belongs to SILVAIR. This e-mail is meant for only the intended
> recipient of the transmission, and may be a communication privileged by
> law, confidential and/or otherwise protected from disclosure. If you
> received this e-mail in error and you are not the intended recipient, any
> review, use, dissemination, distribution, or copying of this e-mail or
> attachment is strictly prohibited. Please notify us immediately of the
> error by return e-mail and please delete this message from your system.
>
>
> On Mon, May 3, 2021 at 8:39 PM One Data Model Group <onedm@iotliaison.org=
>
> wrote:
>
>> Hi,
>>
>> Here are some follow-on thoughts from today's OneDM discussion about
>> sensor modeling and sensor types, quantities, and units.
>>
>> asdf cc'd for interest
>>
>> I think, to some extent, the ambiguity around handling quantities and
>> units comes from multiple sources:
>>
>> - We don't have a good system model
>>
>> In the general sense, the system model is underspecified. We are modelin=
g
>> systems of interconnected devices, not physical systems with devices
>> installed at well-defined instrumentation and control points. We might
>> compensate by building more into the models, based on assumptions of
>> autonomy and agency in the system, both computational agency as well as
>> descriptive/configuration agency. We assume that devices need to be able=
 to
>> discover each other and interoperate autonomously. We see system
>> intermediaries as a sign of architectural weakness, and somehow extend t=
hat
>> to external system models.
>>
>> So the models end up embodying some of what might be system level
>> information, and the boundary is unclear. Ideally the model organization
>> would support the pattern found in the O&M ontology, roughly:
>>
>> Physical feature (FoI) <--> measurement situation (sensing element) <-->
>> sensing process (logial affordances, q+u, scale) <--> communication syst=
em
>> (device and network) <--> application logic
>>
>> I used to think we could bypass a lot of this for "simple IoT devices",
>> but I'm beginning to see the advantage of decoupling the relationships i=
n
>> the modeling to make it easier for those who just want simple devices. I=
n
>> OneDM we model the logical affordances. We might consider scales,
>> quantities, and units to be part of instance bindings, especially as the=
se
>> can easily be converted and adapted.
>>
>> - It's not clear where the product/instance constraints and customizatio=
n
>> is introduced.
>>
>> Does an IPSO Smart Object model represent a device or a function block?
>> Well, obviously it's a function block. Hmm but it seems to encapsulate a
>> lot of the system features like specialization around a particular
>> measurement quantity. For example, an industrial temperature transmitter=
 is
>> a specific product that contains some specialized sensing element with
>> common configuration, processing, and communication. Most of the product=
 is
>> interchangeable and only gets the specialization when it's assembled.
>>
>> Our models are similar. Having units and range information allows
>> customization, and we define a "Temperature Sensor" as an object type. W=
hat
>> is the particular tradeoff being made here? Temperature sensor in many w=
ays
>> seems more like a composed type than a building block. Temperature sensi=
ng
>> seems to be a specialization that may add some unique qualities but for =
the
>> most part only sets the quantities, units, and range.
>>
>> A good counterpoint is concentration sensing in mixtures. There are only
>> a few units (mol/mol, ppm...), but many potential components (CO, CO2, O=
2,
>> methane, total HC, and so on). Here is seems to make sense to define a
>> concentration sensor and provide a category enum for what material is be=
ing
>> sensed.
>>
>> Maybe it would make sense to move some specialization to the sdfThing
>> layer as a practice, and think about maximum reuse of object definitions=
.
>> What if we had generic sensing building blocks and a good type system fo=
r
>> quantities and units that can become part of a system model and device
>> models. Then we can assemble product descriptions for things on the shel=
f,
>> as well as measurement descriptions that are agnostic to the product or
>> device being used.
>>
>> Maybe there will be interoperability levels, with conformance to the mor=
e
>> abstract object building blocks (affordances) on a fundamental level, an=
d
>> constrained object/thing definitions (units, quantities, etc.) working o=
n a
>> more practical level.
>>
>> Best regards,
>>
>> Michael
>>
>>

--=20
*Bruce Nordman*
Lawrence Berkeley National Laboratory
*nordman.lbl.gov <http://nordman.lbl.gov>*
BNordman@LBL.gov
510-486-7089; m: 510-501-7943

--000000000000c1348e05c198519c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">As someone who thinks about the world through the lens of =
energy use, to me a &quot;device &quot; (and I know that term has different=
 meanings for different disciplines) is something with a power cord and hop=
efully an IP address. Stand-alone sensors are often not such a &#39;device&=
#39; - they might not consume mains power, and might relay their data to an=
 IP device over a non-IP communications path, but should be able to be brou=
ght into the IP domain and SDF in a consistent way.<div>A sensor of course =
might also be integral to a regular device (e.g. my TV might have an ambien=
t light sensor and be able to report that).</div><div><br></div><div>Is the=
re some reference structure of what types of objects might exist and their =
characteristics/capabilities?</div><div>It seems highly advantageous if we =
have a common taxonomy and terminology around this, that crosses many stand=
ards.</div><div><br></div><div>--Bruce</div><div><br></div></div><br><div c=
lass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, May 5, 2=
021 at 8:34 AM Szymon S=C5=82upik &lt;<a href=3D"mailto:simon@silvair.com">=
simon@silvair.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex"><div dir=3D"ltr">Hi Michael,<div><br></div><div>This is a =
very valid discussion.</div><div><br></div><div>I have always been wonderin=
g how we are going to map Bluetooth mesh sensors to SDF.</div><div><br></di=
v><div>Bluetooth defines today 183 so called &quot;Properties&quot;, each r=
epresenting an atomic sensor. A Property defines the context for data, such=
 as &quot;Outdoor Temperature&quot; and points to the underlying Characteri=
stic (which=C2=A0defines the data format, such as Temperature 8 (which defi=
nes ranges, resolution, special values such as &quot;unknown&quot;), which =
in turn=C2=A0points to a Unit (degree Celsius).</div><div><br></div><div>A =
physical sensor device may include any combination of the 183 properties, s=
o the total number=C2=A0of combinations is 183! (~1.4e+345). This is of cou=
rse=C2=A0not doable to define in SDF any potential combination. The only wa=
y is to define the rules for producing an SDF definition from a Bluetooth d=
efinition of a given sensor).</div><div><br></div><div>Best<br clear=3D"all=
"><div><div dir=3D"ltr"><div dir=3D"ltr"><p>
      <font face=3D"arial, helvetica, sans-serif">
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font=
-weight:700">Szymon Slupik</span><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)">Pre=
sident, CTO</span><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);whit=
e-space:pre-wrap"><a href=3D"tel:+1-415-696-9111" style=3D"line-height:1.2;=
color:rgb(0,0,0)" target=3D"_blank">+1-415-696-9111</a></span>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <img style=3D"font-size: 12px; line-height: 1.2; color: rgb(0, 0, 0=
); font-weight: 700; width: 99px; height: 36px;" src=3D"https://silvair.com=
/media/filer_public/3c/c1/3cc16e3b-4cc1-40a6-bf47-d983fa26e1ac/silvar_logo_=
198x72.png" alt=3D"Silvair" width=3D"99" height=3D"36"><br>
        <span style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)">ul.=
 Jasnog=C3=B3rska 44 <br>31-358 Krak=C3=B3w <br>Poland </span><br>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0)" href=
=3D"http://www.silvair.com/" target=3D"_blank">www.silvair.com</a>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://www.facebook.com/meetsilvair/" target=3D"_blank">=
<img src=3D"https://silvair.com/media/filer_public/b9/7a/b97ad3ec-94ed-4a6e=
-af5c-a73510d93e7c/ikonki_40x40_02.png" style=3D"width: 20px; height: 20px;=
" alt=3D"Facebook" width=3D"20" height=3D"20"></a> =C2=A0
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://www.linkedin.com/company/meetsilvair/" target=3D"=
_blank"><img src=3D"https://silvair.com/media/filer_public/5c/c9/5cc9663b-9=
dd8-4321-b798-a6e5c7c259af/ikonki_40x40_03.png" style=3D"width: 20px; heigh=
t: 20px;" alt=3D"LinkedIn" width=3D"20" height=3D"20"></a> =C2=A0
        <a style=3D"font-size:12px;line-height:1.2;color:rgb(0,0,0);font-we=
ight:700" href=3D"https://twitter.com/meetsilvair" target=3D"_blank"><img s=
rc=3D"https://silvair.com/media/filer_public/c7/ee/c7ee7006-95a3-4a1f-8b89-=
8b2074b2e74a/ikonki_40x40_01.png" style=3D"width: 20px; height: 20px;" alt=
=3D"Twitter" width=3D"20" height=3D"20"></a>
      </font>
    </p>
    <p>
      <font face=3D"arial, helvetica, sans-serif">
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(153,15=
3,153)">NOTICE TO RECIPIENT </span><br>
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(153,15=
3,153)">We
 inform you that Silvair sp. z o.o. with its registered office in Cracow
 (31-358), at Jasnog=C3=B3rska Street 44 is the controller of your personal=
=20
data. You can find more information about processing personal data and=20
your rights <a href=3D"https://silvair.com/media/filer_public/e5/ba/e5ba1ed=
2-84e6-47da-8277-f10df2eed7cc/information_on_personal_data_processing_of_re=
presentative_of_entity_mail_contacts_to_establish_maintain_business_relatio=
nshipsfn.pdf" style=3D"color:black" target=3D"_blank">here</a>. </span><br>
        <span style=3D"font-size:9.33333px;line-height:1.2;color:rgb(204,20=
4,204)">This
 e-mail message and any documents accompanying it contain information=20
that belongs to SILVAIR. This e-mail is meant for only the intended=20
recipient of the transmission, and may be a communication privileged by=20
law, confidential and/or otherwise protected from disclosure. If you=20
received this e-mail in error and you are not the intended recipient,=20
any review, use, dissemination, distribution, or copying of this e-mail=20
or attachment is strictly prohibited. Please notify us immediately of=20
the error by return e-mail and please delete this message from your=20
system.=C2=A0</span><br>
      </font>
    </p></div></div></div><br></div></div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Mon, May 3, 2021 at 8:39 PM One Data=
 Model Group &lt;<a href=3D"mailto:onedm@iotliaison.org" target=3D"_blank">=
onedm@iotliaison.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">Hi,<br>
<br>
Here are some follow-on thoughts from today&#39;s OneDM discussion about se=
nsor modeling and sensor types, quantities, and units.<br>
<br>
asdf cc&#39;d for interest <br>
<br>
I think, to some extent, the ambiguity around handling quantities and units=
 comes from multiple sources:<br>
<br>
- We don&#39;t have a good system model<br>
<br>
In the general sense, the system model is underspecified. We are modeling s=
ystems of interconnected devices, not physical systems with devices install=
ed at well-defined instrumentation and control points. We might compensate =
by building more into the models, based on assumptions of autonomy and agen=
cy in the system, both computational agency as well as descriptive/configur=
ation agency. We assume that devices need to be able to discover each other=
 and interoperate autonomously. We see system intermediaries as a sign of a=
rchitectural weakness, and somehow extend that to external system models.<b=
r>
<br>
So the models end up embodying some of what might be system level informati=
on, and the boundary is unclear. Ideally the model organization would suppo=
rt the pattern found in the O&amp;M ontology, roughly:<br>
<br>
Physical feature (FoI) &lt;--&gt; measurement situation (sensing element) &=
lt;--&gt; sensing process (logial affordances, q+u, scale) &lt;--&gt; commu=
nication system (device and network) &lt;--&gt; application logic<br>
<br>
I used to think we could bypass a lot of this for &quot;simple IoT devices&=
quot;, but I&#39;m beginning to see the advantage of decoupling the relatio=
nships in the modeling to make it easier for those who just want simple dev=
ices. In OneDM we model the logical affordances. We might consider scales, =
quantities, and units to be part of instance bindings, especially as these =
can easily be converted and adapted.<br>
<br>
- It&#39;s not clear where the product/instance constraints and customizati=
on is introduced.<br>
<br>
Does an IPSO Smart Object model represent a device or a function block? Wel=
l, obviously it&#39;s a function block. Hmm but it seems to encapsulate a l=
ot of the system features like specialization around a particular measureme=
nt quantity. For example, an industrial temperature transmitter is a specif=
ic product that contains some specialized sensing element with common confi=
guration, processing, and communication. Most of the product is interchange=
able and only gets the specialization when it&#39;s assembled.<br>
<br>
Our models are similar. Having units and range information allows customiza=
tion, and we define a &quot;Temperature Sensor&quot; as an object type. Wha=
t is the particular tradeoff being made here? Temperature sensor in many wa=
ys seems more like a composed type than a building block. Temperature sensi=
ng seems to be a specialization that may add some unique qualities but for =
the most part only sets the quantities, units, and range.<br>
<br>
A good counterpoint is concentration sensing in mixtures. There are only a =
few units (mol/mol, ppm...), but many potential components (CO, CO2, O2, me=
thane, total HC, and so on). Here is seems to make sense to define a concen=
tration sensor and provide a category enum for what material is being sense=
d.<br>
<br>
Maybe it would make sense to move some specialization to the sdfThing layer=
 as a practice, and think about maximum reuse of object definitions. What i=
f we had generic sensing building blocks and a good type system for quantit=
ies and units that can become part of a system model and device models. The=
n we can assemble product descriptions for things on the shelf, as well as =
measurement descriptions that are agnostic to the product or device being u=
sed.<br>
<br>
Maybe there will be interoperability levels, with conformance to the more a=
bstract object building blocks (affordances) on a fundamental level, and co=
nstrained object/thing definitions (units, quantities, etc.) working on a m=
ore practical level. <br>
<br>
Best regards,<br>
<br>
Michael<br>
<br>
</blockquote></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div><font size=3D"4"><b>Bruce =
Nordman</b></font><br><span style=3D"color:rgb(0,0,153)">Lawrence Berkeley =
National Laboratory</span><br><b><span style=3D"color:rgb(0,102,0)"><a href=
=3D"http://nordman.lbl.gov" target=3D"_blank">nordman.lbl.gov</a></span></b=
><br>BNordman@LBL.gov<br></div>510-486-7089; m: 510-501-7943<br></div></div=
>

--000000000000c1348e05c198519c--


From nobody Tue May 18 07:19:35 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: asdf@ietf.org
Delivered-To: asdf@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D3653A1434; Tue, 18 May 2021 07:19:22 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: asdf@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.29.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162134756241.21087.2943625489155958868@ietfa.amsl.com>
Date: Tue, 18 May 2021 07:19:22 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/eE4AMFDLuIycSxfLIaaIddyCl-4>
Subject: [Asdf] A Semantic Definition Format for Data and Interactions of Things (asdf) WG Virtual Meeting: 2021-06-02
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 May 2021 14:19:34 -0000

The A Semantic Definition Format for Data and Interactions of Things (asdf) WG will hold
a virtual interim meeting on 2021-06-02 from 17:00 to 18:00 Europe/Stockholm (15:00 to 16:00 UTC).

Agenda:
1. Note Well.  https://www.ietf.org/about/note-well/

2. Logistics for Meeting.

	2a. CodiMD for notes https://codimd.ietf.org/notes-ietf-interim-2021-asdf-02-asdf

	2c. Agenda bash

3. WG status update				
		
4. SDF.next
      
5. AOB? 

Information about remote participation:
https://ietf.webex.com/ietf/j.php?MTID=m1c76ec067cec2124744ad29ccce6c616

