Re: [core-parameters] NEW INTERFACE DESCRIPTION - KNX IoT Point API

wouter.van.der.beek@gmail.com Fri, 10 November 2023 09:10 UTC

Return-Path: <wouter.van.der.beek@gmail.com>
X-Original-To: core-parameters@ietfa.amsl.com
Delivered-To: core-parameters@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BB9EC17061C for <core-parameters@ietfa.amsl.com>; Fri, 10 Nov 2023 01:10:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lXPLUH_OXPTQ for <core-parameters@ietfa.amsl.com>; Fri, 10 Nov 2023 01:10:09 -0800 (PST)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9648AC15C2B7 for <core-parameters@ietf.org>; Fri, 10 Nov 2023 01:10:08 -0800 (PST)
Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c50fbc218bso22333731fa.3 for <core-parameters@ietf.org>; Fri, 10 Nov 2023 01:10:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699607407; x=1700212207; darn=ietf.org; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HPCyZW36r167j2QEa7+O2HFikjPzNLyTGCcEdfMBlzg=; b=KTQgM73To+hHYrke1vHTiIovn8ma3NzdBaW3gvnH8E0/ywOGxfYJbvaps27aRZRNXf f+K07cbmSZW22yXFR2Z7IfDlp/MOi9B+syI7ZBKvgHydMHiqfzujF8GGYikKvNmwYXpr 45+HqUf35rPhDZrSDHlADt0GKNEHbb0fsQfBWqBn5KkuEQVQKHgwSDSVIdrIazcbn/Hd LiE1KjzaE2iaXR/qhN/wBxJW3B4ixltWJCVwxx7qHy3ofUkLUnmfmyBeEluZIGG02zeY Alh5TmZ3jV+C/HkKrfzWOAPetOVQXO0Z0BOvBxB/zOGl/zAdlGFV7ILMF7QyFLwLcArl m6hA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699607407; x=1700212207; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HPCyZW36r167j2QEa7+O2HFikjPzNLyTGCcEdfMBlzg=; b=lAh2euXjayihK8zk2EIRfOB2xus5e/m66jbaFdjPHrRN7t4xE9mzqijBzequBD6x07 /GDtL+stQKMHA+qJXASMpwt5uNIKx/kH/wOOY1DLDVERTyE4gnvrs//w9v2T9KMP3SAK ExBy4daWQnNwf/q6W7HC3nJwR0e0Vr0k6i0Y3aIF/jiGueiCj2lyyvK8zowPuNptRJ46 ezjp53ctggNOqWaRit1EAQO/UZmpudw4KCOKpzQ5/vlh6ps8VNVy8Rx5KResL6o0GQEv j3hO5GuTYlc+ooNtfq45AmAQZqPFIOUlyCWPnubyEP+AaZsb2DHHOBSD9zfBhD7MikF+ Najw==
X-Gm-Message-State: AOJu0YzfMJSj/fjRKlNZ+XhziYkuWL11cQYcEX3yrzme65ncTr0mrhM8 yFC0pERfZHn//dYvEUfC+1o=
X-Google-Smtp-Source: AGHT+IHa0R7j+PFCVS7ilsneskweiFWgnf/N7pXmJBDwOXG5gMQU/ghec8lwM91QVLNMP0M+L3ShGA==
X-Received: by 2002:a2e:a7c7:0:b0:2c3:c75e:18cf with SMTP id x7-20020a2ea7c7000000b002c3c75e18cfmr8368866ljp.0.1699607406180; Fri, 10 Nov 2023 01:10:06 -0800 (PST)
Received: from LAPTOPL39HIA21 ([212.129.86.106]) by smtp.gmail.com with ESMTPSA id w21-20020a05600c475500b003feae747ff2sm4611494wmo.35.2023.11.10.01.10.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2023 01:10:05 -0800 (PST)
From: wouter.van.der.beek@gmail.com
To: 'Esko Dijk' <esko.dijk@iotconsultancy.nl>, 'Michael Critchfield' <michael.critchfield@knx.org>, core-parameters@ietf.org
Cc: 'Joost Demarest' <joost.demarest@knx.org>, 'André Hänel' <ahaenel@knx.org>, 'Steven De Bruyne' <steven.debruyne@knx.org>, 'Wouter van der Beek' <w.vanderbeek@cascoda.com>
References: <AS8P251MB0199CD157A86EC31EF8845E7FFE6A@AS8P251MB0199.EURP251.PROD.OUTLOOK.COM> <DU0P190MB19784B616972400C29DEDEB7FDE6A@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <AS8P251MB0199DACAF9FD9F0A59C7023FFFE6A@AS8P251MB0199.EURP251.PROD.OUTLOOK.COM> <DU0P190MB1978E2DDF3873750B8C5F970FDE5A@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <002001d9dcf0$58ea4470$0abecd50$@gmail.com> <DU0P190MB19783FA9F29CF2EB3AC9445FFDE9A@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <011c01d9f872$26fb8bc0$74f2a340$@gmail.com> <DU0P190MB1978265EBD4DC2B7B53AA6EBFDCCA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB1978265EBD4DC2B7B53AA6EBFDCCA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
Message-ID: <033301da13b5$b26d8060$17488120$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_000_0334_01DA13B5.B27B14F0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGuvTCMMqcb2s4cXBj2B7w4oD5B5wKkTElkAqcWE60BmCkpFQGTo+ZQATCpKzUBs0UR9gJTiqM9sFx7lGA=
Content-Language: en-ie
Archived-At: <https://mailarchive.ietf.org/arch/msg/core-parameters/qFHNsURpmYd2b5xx0rli3IaM6fA>
X-Mailman-Approved-At: Mon, 11 Dec 2023 02:15:47 -0800
Subject: Re: [core-parameters] NEW INTERFACE DESCRIPTION - KNX IoT Point API
X-BeenThere: core-parameters@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Expert review of CoAP parameters." <core-parameters.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core-parameters>, <mailto:core-parameters-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core-parameters/>
List-Post: <mailto:core-parameters@ietf.org>
List-Help: <mailto:core-parameters-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core-parameters>, <mailto:core-parameters-request@ietf.org?subject=subscribe>
Date: Fri, 10 Nov 2023 09:54:42 -0000
X-Original-Date: Fri, 10 Nov 2023 09:10:05 -0000
X-List-Received-Date: Fri, 10 Nov 2023 09:54:42 -0000

Hi Esko,

 

Any news on this topic?

 

Kind Regards,
Wouter

 

From: Esko Dijk <esko.dijk@iotconsultancy.nl> 
Sent: Wednesday 11 October 2023 09:53
To: wouter.van.der.beek@gmail.com; 'Michael Critchfield'
<michael.critchfield@knx.org>; core-parameters@ietf.org
Cc: 'Joost Demarest' <joost.demarest@knx.org>; 'André Hänel'
<ahaenel@knx.org>; 'Steven De Bruyne' <steven.debruyne@knx.org>
Subject: RE: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Hi Wouter,

 

I’ll raise this topic in the CoRE WG interim call of today – see if there
are some opinions on this. Some ideas: there could be an optional
‘informational’ registration of URNs allowed, or an informational RFC could
be published that lists the urn:knx:… values and explains their use.

Though, the purpose of using URNs is precisely to delegate such registration
to the organization owning the URN namespace, so trying to achieve something
contrary to this purpose may not be easy.

 

Regards

Esko

 

From: wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com>
<wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> > 
Sent: Friday, October 6, 2023 18:29
To: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> >; 'Michael Critchfield'
<michael.critchfield@knx.org <mailto:michael.critchfield@knx.org> >;
core-parameters@ietf.org <mailto:core-parameters@ietf.org> 
Cc: 'Joost Demarest' <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; 'André Hänel' <ahaenel@knx.org <mailto:ahaenel@knx.org> >; 'Steven De
Bruyne' <steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >
Subject: RE: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Hi Esko,

 

KNX has now its own urn listed at IANA (it took a while..).

 

However after the (internal) KNX meeting today we still see value for KNX to
list the interfaces mentioned below.

The reasoning behind this is the recognition (for IETF & KNX) that KNX is
actively using RFC 6690: Constrained RESTful Environments (CoRE) Link Format
(rfc-editor.org) <https://www.rfc-editor.org/rfc/rfc6690> 

Just having the urn registered does not give this kind of information.

 

How can we proceed?

 

Kind Regards,
Wouter

 

 

From: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> > 
Sent: Monday 4 September 2023 15:28
To: wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> ;
'Michael Critchfield' <michael.critchfield@knx.org
<mailto:michael.critchfield@knx.org> >; core-parameters@ietf.org
<mailto:core-parameters@ietf.org> 
Cc: 'Joost Demarest' <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; 'André Hänel' <ahaenel@knx.org <mailto:ahaenel@knx.org> >; 'Steven De
Bruyne' <steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >
Subject: Re: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Hi Wouter,

 

It's the requirement in RFC 6690 Section 7.4:

 

   URIs are reserved for free use as extension values for these attributes
and MUST NOT be registered

 

The registration is not useful in this case because the owner of the URI/URN
is able to freely define the values and what they mean within that
namespace.

If KNX registers the "urn:knx" namespace, then it can fully define the
contents of this in own specs and registration at IETF should not be
needed/desired.

 

In RFC 3986 section 1.1.3 it explains how URNs are a subclass of URIs, and
specs may refer to "URI" to include "URN"s.

 

If the goal would be to register "knx.if.foo" entries instead of
"urn:knx.if.foo", then registration in the CoRE Parameters Registry would be
required.

 

(Also with URNs there's always the risk that someone could start using a URN
namespace without having registered it; even when that person doesn't own
the namespace formally. 

Same thing for using "knx.foo" type CoRE attributes - anyone could start
misusing these. )

 

Esko

  _____  

From: wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com>
<wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> >
Sent: Friday, September 1, 2023 18:21
To: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> >; 'Michael Critchfield'
<michael.critchfield@knx.org <mailto:michael.critchfield@knx.org> >;
core-parameters@ietf.org <mailto:core-parameters@ietf.org>
<core-parameters@ietf.org <mailto:core-parameters@ietf.org> >
Cc: 'Joost Demarest' <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; 'André Hänel' <ahaenel@knx.org <mailto:ahaenel@knx.org> >; 'Steven De
Bruyne' <steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >
Subject: RE: NEW INTERFACE DESCRIPTION - KNX IoT Point API 

 

Hi Esko,

 

Based on which RFC is the urn not required or possible to register? There
must be some evidence for such position.

 

Note that these values are used in the public wellknown core, hence having a
clash that someone else would use the urn:knx prefix would not be good for
an SDO like KNX.

Hence why KNX (as organisation) wants to register it.

 

Kind Regards,
Wouter

 

From: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> > 
Sent: Thursday, August 31, 2023 12:32 PM
To: Michael Critchfield <michael.critchfield@knx.org
<mailto:michael.critchfield@knx.org> >; core-parameters@ietf.org
<mailto:core-parameters@ietf.org> 
Cc: Joost Demarest <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; André Hänel <ahaenel@knx.org <mailto:ahaenel@knx.org> >; Steven De Bruyne
<steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >;
wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> 
Subject: RE: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Sure, no problem. So my take is that registration is not required nor
possible for any URN values for CoRE attributes. If others on this list want
to comment on that, I’m happy to hear about it.

 

Regards

Esko

 

From: Michael Critchfield <michael.critchfield@knx.org
<mailto:michael.critchfield@knx.org> > 
Sent: Wednesday, August 30, 2023 22:43
To: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> >; core-parameters@ietf.org
<mailto:core-parameters@ietf.org> 
Cc: Joost Demarest <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; André Hänel <ahaenel@knx.org <mailto:ahaenel@knx.org> >; Steven De Bruyne
<steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >;
wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> 
Subject: AW: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Thank you Esko, we did request the URN namespace registration like you
suggested as well, right after requesting the Interface registration here.

But there we got feedback requesting more information (from your colleague
Ted Hardie) and will discuss internally how to respond.

I will get back to you here once that is clarified.

Can you hold the registration request until then?

 

Best regards,

Michael

 

Von: Esko Dijk <esko.dijk@iotconsultancy.nl
<mailto:esko.dijk@iotconsultancy.nl> > 
Gesendet: Mittwoch, 30. August 2023 17:59
An: Michael Critchfield <michael.critchfield@knx.org
<mailto:michael.critchfield@knx.org> >; core-parameters@ietf.org
<mailto:core-parameters@ietf.org> 
Cc: Joost Demarest <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; André Hänel <ahaenel@knx.org <mailto:ahaenel@knx.org> >; Steven De Bruyne
<steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >;
wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> 
Betreff: RE: NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Thanks Michael, I would like to check with other list members/experts if
registration is possible at all.

 

The interface names all are URNs. RFC 6690 states for URIs (which includes
all URNs) a registration MUST NOT be made in the registry. All URNs are free
to use by the respective namespace owner.

 

So what KNX would need to do , is register its (top level) URN namespace at
the registry over here:
https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml .

Then KNX can define all the items in there as it wants without requiring any
IETF/CoRE expert involvement.

 

Regards

Esko 

 

PS I’m noting that Table 6 shows the interface values without the URN
prefix, however, the examples in the spec and normative language make clear
that the “urn:knx:” needs to be preprended to all the items.

 

 

 

 

 

From: core-parameters <core-parameters-bounces@ietf.org> On Behalf Of
Michael Critchfield
Sent: Wednesday, August 30, 2023 16:04
To: core-parameters@ietf.org <mailto:core-parameters@ietf.org> 
Cc: Joost Demarest <joost.demarest@knx.org <mailto:joost.demarest@knx.org>
>; André Hänel <ahaenel@knx.org <mailto:ahaenel@knx.org> >; Steven De Bruyne
<steven.debruyne@knx.org <mailto:steven.debruyne@knx.org> >;
wouter.van.der.beek@gmail.com <mailto:wouter.van.der.beek@gmail.com> 
Subject: [core-parameters] NEW INTERFACE DESCRIPTION - KNX IoT Point API

 

Dear Core Parameters Team,

As KNX Association cvba, we would like to register the following Interfaces
from our KNX IoT Point API Specification with you for listing in Constrained
RESTful Environments (CoRE) Parameters (iana.org)
<https://www.iana.org/assignments/core-parameters/core-parameters.xhtml#if-l
ink-target-att-value> .

 

Reference is our KNX IoT Point API Specification available on
https://schema.knx.org.

Specifically, the KNX IoT Point API Specification is found under this link
https://knxcloud.org/index.php/s/KNjAyyO0ojm5LSc/download.

The Table below refers to the KNX IoT Information Model in various places,
you can find this on https://schema.knx.org and
https://knxcloud.org/index.php/s/E12pxbhctLEREaO/download.

If required, Registration contact shall be Joost Demarest, CTO at KNX
Association, joost.demarest@knx.org <mailto:joost.demarest@knx.org> .

 


Type 

Interface 

Method 

Description 


Link List 

urn:knx:if.ll 

GET, (OBSERVE) 

Read a linked list and, in combination with if.o, subscribe to all Points of
the list. 


Parameter 

urn:knx:if.p 

GET, PUT, (OBSERVE) 

Adjust parameter Point (see [03] "KNX Information Model"). 


Diagnostic 

urn:knx:if.d 

GET, (OBSERVE) 

Read diagnostic Point (see [03] "KNX Information Model"). 


Configuration 

urn:knx:if.c 

GET, PUT, POST, DELETE 

Configuration and programming of a device. 


Logical Input 

urn:knx:if.i 

PUT, POST 

Write and command runtime input Group Object Point (see [03] "KNX
Information Model").


Logical Output 

urn:knx:if.o 

GET, POST, OBSERVE 

Read and subscribe runtime output Group Object Point (see [03] "KNX
Information Model").


Group Communication 

urn:knx:if.g.s 

POST, GET (OBSERVE) 

Group communication (S-Mode) runtime interworking (input and output)
address. 


Batch 

urn:knx:if.b 

GET, PUT, POST 

Read or write a collection (e.g., Point list). 


Actuator 

urn:knx:if.a 

GET, PUT, POST 

Hardwired actuator (see [03] "KNX Information Model").


Sensor 

urn:knx:if.s 

GET, PUT 

Hardwired sensor (see [03] "KNX Information Model").


Security 

urn:knx:if.sec 

GET, PUT, POST, DELETE 

Configuration (read and write) of security, incl. authorization-related
data. 


Software Update 

urn:knx:if.swu 

GET, PUT, POST, DELETE 

Software update (push and pull) related data.


Programming Mode 

urn:knx:if.pm 

GET 

Data that can be read in Programming Mode. 


Manufacturer 

urn:knx:if.m.{name} 

Manufacturer-specific definition 

Manufacturer-specific interface types. 

Interface definitions and methods (from Table 6 of the KNX IoT Point API
Specification on https://schema.knx.org)

 

In the meantime, please contact me for any registration related questions in
this regard.

 

Many thanks in advance.

Best regards,

 

MICHAEL CRITCHFIELD 

ETS Product Management

 <mailto:michael.critchfield@knx.org> michael.critchfield@knx.org • T +49
151 50 666255 

 

KNX Association

De Kleetlaan 5, B-1831 Brussels-Diegem • Belgium

 <http://www.knx.org/> www.knx.org

 

 <https://knxperience.knx.org/> 

 

 

	
This email comes from outside KNX organization. 
Do not click links (with or without explicit IP addresses) or open
attachments unless it is an email you expected to receive.