Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SmartHome » Receiving Items state(Receiving Items state from binding)
Receiving Items state [message #1782556] Mon, 26 February 2018 12:55 Go to next message
Vitalii vlasiuk is currently offline Vitalii vlasiukFriend
Messages: 1
Registered: February 2018
Junior Member
Hi all.
I am developing binding and It requires sending multiply items states to hardware.
I have channels names, but I cannot find API that allows return Items, linked to this channels.
Could someone help with this?
How to get Items linked to Binding Channel?
Re: Receiving Items state [message #1783713 is a reply to message #1782556] Fri, 16 March 2018 08:19 Go to previous message
Henning Treu is currently offline Henning TreuFriend
Messages: 37
Registered: April 2017
Hi Vitalii,

a binding is not supposed to know any items. Items are the abstraction layer for user interfaces, rules, etc.
Please read the documentation about concepts here and binding development here.
The framework will send commands and state updates to linked channels and your binding is supposed to forward these to the hardware. On the other direction, state updates you detect on your hardware (by polling or events) should be given to the framework as state updates for the corresponding channel.
The framework will take care of updating items state.

Previous Topic:ESH Console extensions
Next Topic:Depencies in Eclipse Smart Home, howto import?
Goto Forum:

Current Time: Wed Jun 20 21:15:23 GMT 2018

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

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

Back to the top