@stefan.hoehn : Do you know why some community threads appear as blockly libraries? They only appear if unpublished add-ons is enabled. (see below: The last one is just this thread)
These threads are improperly placed in the Add-on Marketplace category. I missed that mistake initially on this thread, but I’ll fix it now. Any topic in the Add-on Marketplace sub-categories is assumed to be something that should be available in the UI. These extraneous ones, don’t have the correct tag so they are not “published” and only appear if you have the show unpublished option set.
Edit: I’ve fixed the other one too. Both of those should now not appear in your marketplace.
Hi.
I’ve just installed and tested some block libraries and now I want to remove them. How can I do this?
I cannot see any ‘Remove’ or ‘Delete’ button in the openHAB menu.
Did you try out the second option I described above? I just added a lib via “Developer Tools > Block Libraries > Add” and then removed it again without a problem with the second option I described above.
Yes, but I don’t have any “Select” checkbox next to the library name. Believe me, I tried to find this checkbox for a very long time, but it is simply not there. I even looked at the raw HTML code with the same result.
However I’ve just found the solution to my problem.
I used this method: “Developer tools > API Explorer > ui > DELETE”
By the way:
I know that this particular block library can be installed from Settings > Automation > Block Libraries, but I did it another way, so when I tried to re-install it from the Settings > Automation > Block Libraries I received an error message: [ity.CommunityBlockLibaryAddonHandler] - Block library from marketplace is invalid: Cannot add UI component to namespace ui:blocks, because a component with same UID (deibich:blockly:dateTime) already exists.
Unfortunately, I’ve already removed it, so my block libraries list is empty. When I add a new library it works fine now, so I cannot replicate the problem.
However I might have a clue of the root cause: when I deleted the block library using API Explorer one of my rules stopped working. I was sure I cleaned my rules from that library, but it looks like I was wrong.
Edit:
By the way, I think the “Select” link in the upper right corner is very unintuitive and I must have spent some time trying to display the checkboxes for the first time. IMHO all checkboxes should be visible all the time. Maybe you can consider this change in the next release
I agree that the “Select” approach in to right corner can be easily overlooked. However, this is a central mechanism on many pages and therefore would mean a general change on the UI (which I haven’t implemented). I new approach would probably need a bit more of a discussion how to better do it. I would recommend to open an issue for that (but not related to this page but in general on github).
You can also start the selection process by ctrl + click on any element when on any of the list pages. I don’t use the blockly libraries, but it is true on all the other pages so I assume it is true there as well.