[core] [senML] Adding more semantic information in to senML measurements

Shantanoo Desai <desai@uni-bremen.de> Wed, 19 December 2018 12:44 UTC

Return-Path: <desai@uni-bremen.de>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 91E4D130934 for <core@ietfa.amsl.com>; Wed, 19 Dec 2018 04:44:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=uni-bremen.de
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 cf-APg8tnvTG for <core@ietfa.amsl.com>; Wed, 19 Dec 2018 04:44:49 -0800 (PST)
Received: from smtp.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F5F612D4ED for <core@ietf.org>; Wed, 19 Dec 2018 04:44:48 -0800 (PST)
Received: from uni-bremen.de (webmail-1.zfn.uni-bremen.de [134.102.50.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 12DC020545 for <core@ietf.org>; Wed, 19 Dec 2018 13:44:47 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=dkim; t=1545223487; bh=aY6t6Yhn/dxxWJ7/EhReIz7Q+Lo7cnJMknVVUn+NUBU=; h=To:Date:From; b=GB5B7nk/IpgwkvxNabkTJWIEXpQuVmGOBdUqgSbK7RlsaF6tmIYSxLCLO74VMayn1 iAWQ6vtcgW0f5kppqpC/3T74FkoPYT+R02cyBvp3se9cvEhXiLP4wzEHiQmnrJ/DXW X9n/x1gLKPEk90mQolK8pISWfWKvMVjltLq7WEgU=
To: core@ietf.org
Date: Wed, 19 Dec 2018 13:44:46 +0100
Message-ID: <003601d49798$9f720560$de561020$@uni-bremen.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0037_01D497A1.013757C0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdSXlyfitLTYq4C+RQKoT4wMzRZNjw==
Content-Language: de
User-Agent: Horde Application Framework 5
From: Shantanoo Desai <desai@uni-bremen.de>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/eIaRCnvh_NtzWecRG8xP39iSuf8>
Subject: [core] [senML] Adding more semantic information in to senML measurements
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2018 12:44:53 -0000

Hello all,

 

I wish to add a bit more context semantically to the measurements in senML,
viz. if I have a sensor node that provides me Environmental data like
temperature, humidity, pressure in the following way:

 

[

  {

      "bn": "urn:dev:mac:aabbccddee/env/",

      "n": "temperature",

       "u": "Cel",

       "v": 23.3

  },

  {

     "n": "humidity",

      "u": "%RH",

      "v": 30

  },

  {

     "n": "pressure",

      "u": "Pa",

      "v": 100013

  }

]

 

This provides me information about the sensor node's environmental data
acquisition however it provides me no information about where this sensor is
placed for e.g. "outside"/"inside"/"car"/"gate1". When it comes to indoor
localization there are no gps coordinates and hence adding some context to
the SenML base-record does not seem to be a bad idea. However the RFC
mentions nothing pertaining to some additional meta-data.

 

Is it recommended to use "vs" in the base record to add such information or
is there something I should look for somewhere else?

 

 

Regards,

 

Shan