Open Gifford47 opened 1 year ago
I appear to have the same frustrating issue. There are no reports in the logs, sometimes linking from a channel to an item shows the list of appropriate items, sometimes it doesn't. Sometimes a restart seems to clear it (but that could be coincidence, sometimes it just works the next time I try)
Sometimes linking in the opposite direction (adding the Thing channel to the item) works, sometimes it doesn't show any channels. Again, no errors or timeouts reported in the logs, it just doesn't have anything under channels.
I've just upgraded from 2.5 to 4.1, if that could be relevant, I have created a couple of 'Points' under 'Equipment' to try out the new-to-me UI, and they always appear. The rest are defined in .item files, or items created by importing from item files.
Other than that, I can't see a pattern, sometimes it will work to link several channels, sometimes just one, then after 'a while' it will start to work again. It's very frustrating!
Installation is Openhab 4.1.1 release, running on 32-bit openhabian on a RPi 4
Java --version:
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Raspbian-1deb11u1rpt1)
OpenJDK Client VM (build 17.0.9+9-Raspbian-1deb11u1rpt1, mixed mode, emulated-client)
The problem
I have added generic MQTT Thing with several channels by http api (with python tool). When i try to link an existing (thing) channel to an existing item, the item list in the pop-up is empty. I can resolve it by linking the item to a channel from the item's page, but not always. Sometimes the channel list from the selected thing is also empty. But then i have noticed an error in my browser (didn't copy it :( ) It could reproduce the error if a add an thing with channels by api.
Expected behavior
The list is displayed as usual.
Steps to reproduce
Try to add a new thing with several channels by api (not in the OH API Explorer!). Otherwise use TasmoHab
Your environment
OH: 3.4.4 OS: Debian javaVersion: 11.0.19
Browser console
Browser network traffic
Additional information