I’ve got an items file which I copied from OH1, but I’ve been trying to add some new features, such as battery.
I had PaperUI in simple mode, and for this reason (I guess) it autocreated a bunch of items. I’ve now disabled Simple mode and have been trying to go through and remove them, and/or link the Thing to the correct item.
This isn’t going so well. Can PaperUI/Habmin not edit the .items file? If so, this is a bit confusing.
Concrete example of my confusion: I have a Siren for which I never created a battery item in OH1. Looking at the Thing in Habmin I see an autogenerated item linked to the channel. Deleting this, I see the following in the log:
2016-10-03 14:23:18.377 [INFO ] [thome.io.rest.core.item.ItemResource] - Received HTTP DELETE request at ‘items/zwave_device_fb6ff0c0_node31_battery_level’ for the unknown item ‘zwave_device_fb6ff0c0_node31_battery_level’.
Anyway, now I want to create a new item, so I click on the + in the blue box next to the channel. This gives me a popup for a new(?) item called “zwave_device_fb6ff0c0_node31_battery_level” (again). I renamed this “Siren Battery” and then clicked on Save. I get a pop up saying “Error saving item Battery Level. HTTP 404 Not Found”. So it looks like it maybe got the name wrong?
If I try this in PaperUI, then I get a “405 Method not allowed error”
Hopefully this isn’t permissions related? I’m currently running OpenHab2 from my Openhab account installed under /Users/XXX/openhab (I’m running macOS Sierra)