What happens when you try it? Please provide more details what exactly you want to and what happens then, including potential errors in the browser console.
I have a working thing with five channels. Now I need to add another channel. I select a similar one, press the duplicate button, edit what is needed and press the Save button. The gray screen blinks, but the data is not saved. When I modify the existing working channel (configure), even if I do not change anything, after pressing the Done button the screen blinks and nothing is saved. In the openHAB 5.1.0.M2 version it worked without problems (mqtt binding)
Iām not sure if this is the right place for this question, but I just updated a docker running OH 5.0.3 to OH 5.1.0.M3 and have noted a few issues with sizing, spacing and displaying with my Overview page in the Main UI which I was able to correct for the most part. The one issue I am still struggling with is the use of taphold to activate a popover in some of my custom widgets. I can activate a popup without issue, but not a popover in M3. However I had no issues in 5.0.2/3 with same widget and code. I assume this has something to do with moving Vue3, but I havenāt been able to find any info in the release notes or forum that might be of help for this issue. I donāt want to spend time digging further if this is a known issue.
I think thatās a pretty safe bet, I donāt know if itās āa known issueā, but small issues, especially with layout, are found quite frequently at the moment, and I suspect that this will continue for some time. It wasnāt just Vue that was upgraded, but also Framework7, which had changed/modernized quite a lot in their āvisionā of how a UI should look, which has consequences for anybody that has tried to build anything within āthe rules that wereā.
The best thing you can do to get it resolved is probably to create an issue where you describe the problem properly, preferably with some screenshots as āvisual aidsā:
I also have the same issue with popover and sheet actions.
I created an issue in github ([MainUI] sheet and popover actions don't work in fixed grid layout pages Ā· Issue #3538 Ā· openhab/openhab-webui Ā· GitHub)
Iām seeing this issue in all layouts and in the Main UI Model as well so for me it is not limited just to Grid layouts. I am going to create an issue this morning on Git as well. For now I am using popups to get around the problem and hope it can be resolved before 5.1GA
Ok, then Iām going to edit the issue in github so it is not restricted only to grid layouts, but generally to all parts of MainUI, so we donāt have two issues for same problem.
(I use sheet and popover actions only in that one grid layout so I havnāt noticed it elsewhere)
5 posts were split to a new topic: 5.1.0.M3: Main UI shows blank screen on Android
Iāve just installed the latest Milestone build. But I seem to have an issue with the MQTT binding. All my things discovered with the HA discovery do not work anymore. In the UI I have an error āERROR:Handlerā and āHANDLER_MISSING_ERROR Handler factory not foundā Is this a known issue? And if so, what is the latest build that still functions?
Install the MQTT Home Assistant binding. It has been split off from the MQTT binding.
I have the same issue when trying to add a new channel on a thing (Generic MQTT). Iām running the latest snapshot on Openhabian.
The console shows an error in that http://openhab:8080/rest/events/states is being āBlockedā
XHRGET
http://openhab:8080/rest/events/states
Blocked
GET
http://openhab:8080/rest/events/states
Transferred0 GB (0 GB size)
Referrer Policystrict-origin-when-cross-origin
DNS ResolutionSystem
GET /rest/events/states undefined
Host: openhab:8080
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0
Accept: text/event-stream
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: http://openhab:8080/page/overview
Cookie: X-OPENHAB-SESSIONID=bb151116-37c1-4dc3-8e04-66283da170b7
Sec-GPC: 1
Priority: u=4
Pragma: no-cache
Cache-Control: no-cache
I then see a 404 Not Found error for the following url http://openhab:8080/rest/actions/mqtt:topic:mosquito:motionH ( motionH is the Thing Iām adding a channel to)
Finally, I see this error :
Uncaught TypeError: can't access property "isValid", this.$refs.thingConfiguration is null
save http://openhab:8080/assets/thing-details-C3lGRIN9.js:1256
I hope this provides a clue as to whatās going on. Meanwhile, as a workaround, I can add channels manually using the code tab.
Is anyone looking to add doing this automatically, perhaps in upgradeTool? It should be relatively easy to test is there are any HA MQTT Things and if so install the add-on.
Has anyone tried to create a Blockly rule in OH 5.1 M3? I canāt tell if itās just soemthing weird going on for me or a more general problem. Itās basically unusable right now. There is so much going on I donāt even know where to begin.
- canāt drag and drop blocks from the pallet
- blocks that should snap together donāt, but then save and reload the page and they are magically snapped together as expected
- deleting a block doesnāt delete it from the screen but it you look at the code it was deleted
I can go on but you start to get the idea. If itās not just me Iāll file an issue. Maybe itās related to the Vue 3 migration?
Itās not just you. I use firefox, and reloading the page with ctrl-F5 seems to temporarily solve some of the issues long enough to save and go back in. I have to agree that itās pretty unusable at the moment.
Same problems on Ubuntu 24.04 and Chrome. When it sometimes is possible to drag a block it splits into two and the light grey one links to help.
Not just you. Similar experience.
I fixed the issues with adding and editing channels, took a while because it was not trivial, however I took the chance and refactored to TypeScript:
@ccutrer Can you please take a look?
Can you please try it with the following Main UI build:
https://www.swisstransfer.com/d/6e83c5f2-d5f1-4a05-8a3a-8ba094a4c2fc
It includes the Blockly upgrade Moved to blockly v11 and respective plugin versions by jsjames Ā· Pull Request #3398 Ā· openhab/openhab-webui Ā· GitHub.
Thanks Florian! This was my issue indeed.