Home » Archived » Eclipse SmartHome » Updating the Thing Structure
| | | | | |
Re: Updating the Thing Structure [message #1708352 is a reply to message #1699380] |
Tue, 15 September 2015 18:51 |
Haris Sibonjic Messages: 6 Registered: April 2015 |
Junior Member |
|
|
Hi,
Thanks for fast reply. I tried today to add channels, and it works but now I have a different issue, the new channels are not displayed in Paper UI. I am calling the thingStructureChanged() within the initialize() method of thingHandler. The channels are displayed in REST API
{
"statusInfo": {
"status": "ONLINE",
"statusDetail": "NONE"
},
"item": {
"members": [],
"link": "http://localhost:8080/rest/items/lirc_remote_9542a251",
"state": "NULL",
"type": "GroupItem",
"name": "lirc_remote_9542a251",
"label": "lirc Binding Thing",
"tags": [
"thing"
],
"groupNames": [
"gFF"
]
},
"configuration": {},
"properties": {},
"UID": "lirc:remote:9542a251",
"channels": [
{
"linkedItems": [],
"id": "0",
"itemType": "Switch",
"properties": {}
},
{
"linkedItems": [],
"id": "test",
"itemType": "String",
"properties": {}
}
]
},
I see that my new channels are not linked, like is it the case with other hard coded channels. Am I missing something?
[Updated on: Tue, 15 September 2015 19:05] Report message to a moderator
|
|
| | | | | |
Goto Forum:
Current Time: Fri Apr 19 14:29:11 GMT 2024
Powered by FUDForum. Page generated in 0.02357 seconds
|