-
Notifications
You must be signed in to change notification settings - Fork 6
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
zones not calling channelLinked #46
Comments
@boc-tothefuture i won't be able to check before Sat. |
No problem. Maybe @digitaldan can validate my sanity. :-) |
I'll take a look, my zones all load fine, but I don't manage my Things in files, only items and sitemaps, so that might be a clue why its working different. |
Took another look at this. channelLinked is called when the item is added from the paper UI but not from a things file. I will try and understand what could/would be different about that behavior. |
So this works:
But adding that third element is not required for thermostats or rooms. Still looking at why it is for zones. |
I am going to rescind my previous comment, even with the third element in its not calling channelLinked - there was some leftover cruft from when I was messing with paperUI that was confusing me. |
When adding things within a bridge, should it not look like:
|
@digitaldan - |
So strange, I'm sure there's a typo somewhere, I'll take a look at it on Thursday or Friday when I have a free moment. |
Ok, I also opened a thread on the community forum to ask. |
Ok. So there were a couple of issues that I tracked down by stepping through the linking of objects. Closing this issue. |
@digitaldan (I think you wrote the zone code? if not maybe its @craigham )-
I am not sure if this is an actual issue or I just need a second set of eyes here. I am NEVER seeing channelLinked called for zones. I set the breakpoint, add a zone using things and items config. It looks like this:
In items I have this
Do either of you see the same behavior? I don't see this behavior in thermostats or audio zones (only things I have migrated so far). The net result is that when openhab is restarted I have no status for my zones.
When the state of the door changes, the event is fired and the handler does get called to update the status.
The text was updated successfully, but these errors were encountered: