Thank you for your comments.
@Dim, apparently that’s the solution.
Maybe the tutorial [Migration from openHAB 1.x to openHAB 2] (http://docs.openhab.org/tutorials/migration.html#text-based) is not 100% clear about that or at least for me:
In the Migration Tutorial:
binding = - a comma separated list of the bindings from openHAB 1.x that
you use. If you are in doubt of the name of a binding, look in openhab.cfg for
that binding’s configurations. The first part of the tag in openhab.cfg will be
that name of the binding. For example, the configuration parameters for the
MQTT Binding start with “mqtt” in openhab.cfg so the name of the binding is
“mqtt”. For those bindings that have a 2.0 version, use the name followed by a
> “1”, for example, to use the 1.9 SNAPSHOT version of the Astro binding instead
> of the 2.0 version, use the name “astro1”. You can find the list of 2.0
bindings here.
My comment about this:
- there’s no 2.0 binding for mqtt so it’s not clear that i must use the number ‘1’ after the mqtt in addons.cfg
Then, in the same Tutorial:
An example addons.cfg:
…
binding = zwave,astro1,http,mqtt,nest,networkhealth,ntp
my comment is:
- the example file is using mqtt as a binding, and not mqtt1
- the example file is using http as a binding, and not http1
So probably, those bindings were uninstalled as in my system. (?)
now, my binding addons.cfg section looks like:
# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
binding = mqtt1,http1,ntp,mqttitude1
two weird things:
When i execute ‘service restart’; in the events.log ile it says all the items are removed:
...
2017-02-02 13:17:05.026 [ItemRemovedEvent ] - Item 'CamLogiMotion' has been removed.
2017-02-02 13:17:05.029 [ItemRemovedEvent ] - Item 'ledAmarillo' has been removed.
2017-02-02 13:17:05.031 [ItemRemovedEvent ] - Item 'ledVerde' has been removed.
2017-02-02 13:17:05.033 [ItemRemovedEvent ] - Item 'locationMaxi' has been removed.
2017-02-02 13:17:05.035 [ItemRemovedEvent ] - Item 'mqttPositionMaxiRaw' has been removed.
...
...
Why??? Could you point me out where should i read about it? thanks!
Then, openhab2 won’t start again, i have to execute:
sudo service openhab2 start
The good point is i don’t have to install those bindings again (as before).