-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IHC / ELKO] Can’t add channel #9866
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/cant-add-channel-to-ihc-elko-binding-on-oh-3-0-0/114485/3 |
When Main UI query channel types from rest interface, some of the channel types fails (html error 204 no content). ihc:dimmer, ihc:pulse-output and ihc:rf-device-battery-level channels seems to fail, other types seems to work. Failed channel types anyhow works fine via API explorer or via curl.
|
I just recognised, that some of the channel-types are weird and doesn't match the binding channel descriptions. Example ihc-dimmer is ihc:dimmmer (additional m character). ihc:pulse-output doesn't exist at all. Main UI query channel types and get correct ones from rest interface, but some reason ask those wrong types. http://localhost:8080/rest/channel-types?prefixes=system,ihc[ { "parameters":[
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
},
} @ghys do you have any idea why Main UI query wrong channel types? |
@paulianttila on this screen the UI loads the channel types marked as extensible in the thing type, they appear to be indeed wrong here: openhab-addons/bundles/org.openhab.binding.ihc/src/main/resources/OH-INF/thing/controller.xml Line 7 in f5ee685
|
Damn, that's a really old bug. I was reading and reading the channel definitions and forget totally this extensible stuff. I was pretty sure, that the issue isn't in the binding side as channel definitions seemed to correct and it has been working fine with Paper UI 😊 Fix done. Thanks @ghys |
Expected Behavior
I was expecting that when clicking the "Add channel" button in the Channel tab on the IHC / ELKO Thing that the screen appearing would make it possible to add a channel to my IHC / ELKO Thing
Current Behavior
Instead I experience that the add channel window opens and keeps showing "Loading" for at least 8 hours (the longest I have had it wait)
Also one time the window displayed the following error message:
'Sorry
Requested content not found.
Debug information
Url: /settings/things/ihc:controller:IHCControllerBryggers/channels/new
Path: /settings/things/ihc:controller:IHCControllerBryggers/channels/new
Hash:
Params:
Query:
Route: (.*)
The error message appeared at the time where I had not enabled loading of project file and auto generation of channels
It can autogenerate channels from the file.
The log files does not provide any information on this
Steps to Reproduce (for Bugs)
Context
I am trying to add channels that will make me able to get or set values on IHC objects that are not in the auto generated channels
Your Environment
The text was updated successfully, but these errors were encountered: