Благодарю за ответ, но
Первое - режим работы был выбран - Standart, paperUI в том числе с Homebuilder Habpanel BasicUI присутствует
Второе - в консоли - я так понимаю пользуюсь Putty - пишет
[11:33:20] openhabian@722:~$ bundle:list
-bash: bundle:list: command not found
Третье - по адресу /usr/share/openhab2/addons/ искомый файл присутствовал
Все манипуляции проделал с чистого листа -
установлен дистрибутив openhabianpi-raspbian-201804031720-gitdba76f6-crc9e93c3eb.img, обновлен до версии 2.4.0-1
Созданы файлы : .tings создан в папке /srv/openhab2-conf/things ; .items /srv/openhab2-conf/items
c соответствующими кодами для версии openhab 2
org.openhab.binding.megad_2.4.0.jar лежит в /usr/share/openhab2/addons/
в итоге после просмотра логов в
http://openhabian:9001/ пишет следующее
2019-04-02 10:53:51.412 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 10:53:51.450 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 10:53:54.623 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 10:53:54.708 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 10:53:54.710 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 10:53:55.835 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 10:59:12.933 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 11:00:00.268 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:00:02.425 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:00:02.432 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:10:57.094 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 11:11:42.562 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:11:44.080 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:11:44.086 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:13:23.821 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 11:13:46.328 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:13:48.625 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:13:48.630 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:16:42.705 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 11:17:04.910 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:17:06.712 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:17:06.720 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:17:41.678 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-02 11:18:27.550 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:18:29.671 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:18:29.679 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:21:00.705 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.megad_2.4.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.megad [191]
Unresolved requirement: Import-Package: org.apache.commons.codec.binary
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
2019-04-02 11:29:31.739 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
==> /var/log/openhab2/events.log <==
==> /var/log/openhab2/openhab.log <==
2019-04-02 11:30:17.834 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-02 11:30:19.480 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
http://192.168.0.241:8080
2019-04-02 11:30:19.486 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at
https://192.168.0.241:8443
2019-04-02 11:30:19.528 [ERROR] [org.openhab.binding.megad ] - FrameworkEvent ERROR - org.openhab.binding.megad
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.megad [191]
Unresolved requirement: Import-Package: org.apache.commons.codec.binary
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
2019-04-02 11:30:20.794 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.megad_2.4.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.megad [191]
Unresolved requirement: Import-Package: org.apache.commons.codec.binary
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
2019-04-02 11:30:30.856 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.megad_2.4.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.megad [191]
Unresolved requirement: Import-Package: org.apache.commons.codec.binary
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
==> /var/log/openhab2/events.log <==
2019-04-02 11:32:16.535 [thome.event.ExtensionEvent] - Extension 'package-standard' has been installed.
==> /var/log/openhab2/openhab.log <==
2019-04-02 11:32:22.778 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-04-02 11:32:22.903 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-04-02 11:32:22.978 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
==> /var/log/openhab2/events.log <==
2019-04-02 11:32:23.516 [thome.event.ExtensionEvent] - Extension 'ui-homebuilder' has been installed.
2019-04-02 11:32:23.522 [thome.event.ExtensionEvent] - Extension 'ui-basic' has been installed.
2019-04-02 11:32:23.525 [thome.event.ExtensionEvent] - Extension 'ui-habpanel' has been installed.
2019-04-02 11:32:23.527 [thome.event.ExtensionEvent] - Extension 'ui-paper' has been installed.
==> /var/log/openhab2/openhab.log <==
2019-04-02 11:32:30.899 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.megad_2.4.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.megad [191]
Unresolved requirement: Import-Package: org.apache.commons.codec.binary
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
в paperUI в разделе Inbox chevron_right Choose Binding пусто
может, что-то нужно сделать еще? Или вовсе не переходить на версию 2 ?
Petros писал(а): ↑22 мар 2019, 11:26
Первое. До установки плагина нужно выбрать режим работы опенхаба, чтобы все дополнения встали. т.е. по адресу :8080 был paperUI
Второе в консоли вводим bundle:list и ищем наш биндинг
И третье - file:
/usr/share/openhab2/addons/