[SOLVED] .things never loaded

  • Platform information:
    • Hardware: INTEL i7 (Windows) Raspberry 3 (chroot Debian under Openelec)
    • OS: Windows/Debian
    • openHAB version:2.2

I’m testing OpenHab 2.2 on Windows and on Debian enviroment, but in all two cases I cannot load the things.
OpenHab exposes without problems Paper UI autodetected things, but my manual things are not present.

For example in debian enviroment I have a file in “things” folder (/etc/openhab2/things) called samsungac.things and it is loaded on starting time (My log explain this) and also if I change this file with nano the log says me the changed done. I have also tried to insert wrong sintax into the file and the log expose to me the error. I think, from this considerations, that the file is in correct path and with correct syntax.

My LOG:

2018-04-13 14:31:28.425 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘home.items’
2018-04-13 14:31:28.549 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘demo.items’
2018-04-13 14:31:36.032 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘home.rules’
2018-04-13 14:31:36.930 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘demo.rules’
2018-04-13 14:31:37.156 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-04-13 14:31:37.897 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘demo.sitemap’
2018-04-13 14:31:37.939 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘home.sitemap’
2018-04-13 14:31:38.346 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘samsungac.things’ <<<-------- HERE LOG SAYS ME MY THINGS FILE LOADING
2018-04-13 14:31:38.384 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘demo.things’
2018-04-13 14:31:38.412 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘knx.things’
2018-04-13 14:31:40.621 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.9:8080
2018-04-13 14:31:40.635 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.9:8443
2018-04-13 14:31:42.456 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-04-13 14:31:42.628 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-04-13 14:31:43.369 [INFO ] [nx.internal.connection.KNXConnection] - Established connection to KNX bus on 192.168.1.41:3671 in mode TUNNEL.
2018-04-13 14:31:43.376 [INFO ] [.samsungac.internal.SamsungAcBinding] - No refresh interval configured, using default: 60000 ms
2018-04-13 14:31:43.399 [INFO ] [b.core.service.AbstractActiveService] - Samsung Air Conditioner service has been started
2018-04-13 14:31:43.487 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

My file contains:

Thing exec:command:samsungac [ command="/etc/openhab2/samsungac/control_samsung.sh %2$s", interval=0, autorun=false ]

My thing is never displayed in Panel UI and if I use “smarthome:things list” command in Karaf.

I have not problems with items, sitemaps and rules.

I’m on this problem from five days, and it is present also in Windows version.

Can you help me please?

thanks

Fausto

Do you have the exec binding installed?

Ops…
The problem was it…

Thanks.

Fausto