Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » KNX in openHAB 2 / Smarthome
KNX in openHAB 2 / Smarthome [message #1403497] Thu, 24 July 2014 07:58 Go to next message
Karel Goderis is currently offline Karel GoderisFriend
Messages: 198
Registered: March 2014
Senior Member
Kai,

Could you outline how you would see KNX in an OH 2/ ESH contellation?
e.g would a KNX Actor be a Thing, and the Group Objects would become Channels?
I can not imagine that we have to virtualise every possible KNX actor in code, so, based on that / current syntax of binding:thingtypeid:thingid:channelid you would end up with something like knx:groupaddress:x/y/z:value whereby the KNX GA is the thingid, and "value" the channel


How will we define things like RollerShutters, where depending on the KNX DPT, a different Type can be (optionally) supported? How to will "main" GA and "listening" GA be dealt with? Would all of this be dealt with in the Channel definitions?

K
Re: KNX in openHAB 2 / Smarthome [message #1403607 is a reply to message #1403497] Thu, 24 July 2014 14:57 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
I do not want to go into the details of a possible new KNX binding here, but it of course makes sense to check whether this can fit into the general architecture.

> would a KNX Actor be a Thing, and the Group Objects would become Channels?
Yes.

> How will we define things like RollerShutters, where depending on the KNX DPT, a different Type can be (optionally) supported?
A rough idea was to introduce "profiles" on item-channel-links, which describe the behaviour of the link - this could then result in using different DPTs

> How to will "main" GA and "listening" GA be dealt with?
This would be probably different channels on the same item with different profiles ("standard" vs. "just-listening")

Regards,
Kai
Re: KNX in openHAB 2 / Smarthome [message #1403611 is a reply to message #1403607] Thu, 24 July 2014 15:04 Go to previous messageGo to next message
Karel Goderis is currently offline Karel GoderisFriend
Messages: 198
Registered: March 2014
Senior Member
Interesting. So, in those profiles we could then equally define transformation services a la MAP, REGEX and so on?

It would certainly overcome the confusion that currently exists on the "direction" of some items in some bindings.

Another idea would be to define filters or wildcards in those profiles, only allowing for values that match a given expression or alike.

K
Re: KNX in openHAB 2 / Smarthome [message #1403958 is a reply to message #1403611] Mon, 28 July 2014 17:41 Go to previous message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
I am not yet clear about the best design of these profiles and whether they should themselves be configurable or just a fixed, neatly defined set of behaviours. Maybe both makes sense, to have a standard set that can be easily supported within UIs and then custom complex behaviour for solutions that require it.
Previous Topic:Hierarchy of Bridges?
Next Topic:File system hierarchy
Goto Forum:
  


Current Time: Thu Apr 18 07:00:31 GMT 2024

Powered by FUDForum. Page generated in 0.23078 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top