There were some database export issues when 3.0.1 was released. They were resolved shortly after that. You may want to try manually installing a snapshot version of the binding. The script should work or the README has the manual instructions.
Actually, I would manually delete the jar file & install the binding from the upgrade.
After installing the snapshot binding you may need to delete the OH Thing & re-discover to get the latest settings.
Only if you installed the snapshot version. If you do use a snapshot, just remove it from the add-ons and then upgrade to the next stable version and install the version included in the stable version through the user interface. If you try the snapshot version now, uninstall the one in the user interface first, then just drop the snapshot version .jar file in the add-ons folder
@Bruce_Osborne The script is failing on a vanilla openhabian install, says it can’t remove existing unmanaged bindings (makes sense, there aren’t any yet). I ended up downloading the jar manually and will give it a shot. But, that did the trick! It recognized it without even needing to be re-included.
Hey @Bruce_Osborne and @Andrew_Rowe, I’m sorry to re-open a closed thread, and even more sorry because I’m doing it to ask some rather beginner questions…
I’m seeing this issue with another device, where it exists in the database, it appears to correctly complete the inclusion, the xml file is generated, but the device appears as unknown.
As noted previously in the thread, I’d tried the 3.1.x snapshot of the binding with OH 3.0.x (it was the only snapshot available at the time) and it worked to get the other device included, but I subsequently had some issues and went back to the vanilla binding. Since then I’ve updated, and I am now running 3.0.2 stable across the board.
I will keep digging into the issue, but I was wondering:
Do you know if the database export issues that @Bruce_Osborne referenced above also affect device identification in 3.0.2 stable? Looking at the debug log, it seems like it can’t match the device, but I’m not sure why. I see that it checks two entries for zooz_zen16, but neither results in a match. Does anything stand out to you?
How compatible are minor versions of the binding? If I need to pull in a new snapshot of the binding, should I always stick with one that matches the major/minor of my OH version (e.g. 3.0.x vs 3.1.x)?
You need to use a newer binding. 3.0.2 is from April so it presumably does not have the device that you require in the binding. The safest approach is to update to the snapshot binding as you already tried as it will have the latest database included.
I’m not sure what export issues were discussed, but I don’t think there is any problem. You need to use the snapshot version. Release versions are fixed - the code and database will not change, so downloading it again at a later time will not help.