itemsBackend
- Description:
Items backend namespace. Providing access to the openHAB backend.
- Source:
Members
(static, constant) exports.getAllItems
- Description:
Gets all Items. Utilising LokiJS to cache the Items list for better performance.
- Source:
Gets all Items. Utilising LokiJS to cache the Items list for better performance.
(static, constant) exports.getItem
- Description:
Gets a single Item by itemname.
- Source:
Gets a single Item by itemname.
(static, constant) exports.getItemsForUser
- Description:
Gets itemnames's of all allowed Items for a user. Utilising LokiJS to cache filtered Items list for better performance.
- Source:
Gets itemnames's of all allowed Items for a user. Utilising LokiJS to cache filtered Items list for better performance.
(static, constant) exports.getItemState
- Description:
Gets the state of an Item.
- Source:
Gets the state of an Item.
(static, constant) exports.getItemSemantic
- Description:
Gets the item which defines the requested semantics of an Item.
- Source:
Gets the item which defines the requested semantics of an Item.
(static, constant) exports.sendItemCommand
- Description:
Sends a command to an Item.
- Source:
Sends a command to an Item.
(static, constant) exports.sendEventsItems
- Description:
Sends list of items a SSE connection will receive state updates to.
- Source:
Sends list of items a SSE connection will receive state updates to.