Z-Wave Binding: UNINITIALIZED - HANDLER_MISSING_ERROR

  • Platform information:
    • Hardware: Raspberry Pi 3
    • OS: openhabian
    • openHAB version: 2.5.1

Hello Together,

I’ve updated from OpenHAB 2.4 to 2.5.1. Since then my Z-Wave controller is restarting every 30 seconds, then all devices get in “UNINITIALIZED - HANDLER_MISSING_ERROR” state.

I’ve found a entry in the forum where they resolved this problem by fixing problems with add-ons. But as far as i see there is no such problem. Here my addon.config:

:org.apache.felix.configadmin.revision:=L"3"
action="telegram,mqtt"
binding="kodi,mqtt1,wol1,mqtt,gpio1,zwave"
felix.fileinstall.filename="file:/var/lib/openhab2/etc/org.openhab.addons.cfg"
misc="openhabcloud"
package="expert"
persistence="jdbc-mariadb"
remote="true"
service.pid="org.openhab.addons"
transformation="map,regex,xslt,exec,javascript,scale,xpath,jsonpath"
ui="basic,paper,habmin,habpanel"

I already uninstalled the z-wave binding, stopped OH2, cleaned the cache, restarted OH2, reinstalled Z-Wave binding but this doesn’t resolve my problem.

I restarted the pi several times but nothing gets better.

Does anyone of you have similar problems and found a solution? Or is there anyone who can give me a hint what to do?

Thanks to all in advance and best regards

Flo

It seems the time range of restarting the z-wave controller is not so strict:

2020-01-26 17:26:59.019 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-01-26 17:29:59.475 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-01-26 17:31:01.373 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller

If you have any invalid addons (such as restdocs which moved) the loader restarts ALL addons every minute trying to load the invalid one. Check your addons.config file in userdata.

1 Like

This is the content of /srv/openhab2-userdata/config/org/openhab/addons.config

:org.apache.felix.configadmin.revision:=L"3"
action="telegram,mqtt"
binding="kodi,mqtt1,wol1,mqtt,gpio1,zwave"
felix.fileinstall.filename="file:/var/lib/openhab2/etc/org.openhab.addons.cfg"
misc="openhabcloud"
package="expert"
persistence="jdbc-mariadb"
remote="true"
service.pid="org.openhab.addons"
transformation="map,regex,xslt,exec,javascript,scale,xpath,jsonpath"
ui="basic,paper,habmin,habpanel"

and this is the content of /var/lib/openhab2/config/org/openhab/addons.config

:org.apache.felix.configadmin.revision:=L"3"
action="telegram,mqtt"
binding="kodi,mqtt1,wol1,mqtt,gpio1,zwave"
felix.fileinstall.filename="file:/var/lib/openhab2/etc/org.openhab.addons.cfg"
misc="openhabcloud"
package="expert"
persistence="jdbc-mariadb"
remote="true"
service.pid="org.openhab.addons"
transformation="map,regex,xslt,exec,javascript,scale,xpath,jsonpath"
ui="basic,paper,habmin,habpanel"

Do you see something strange?

Thanks for looking at my problem!

They are both the same file :smiley:
If you are going to edit that file, stop openHAB first.sudo systemctl stop openhab2.
I do not know what is correct but it looks strange to me to see mqtt listed as action & binding.

I would shut down OH, make a copy of that file and remove both the mqtt entries. You can then re-install mqtt after restarting OH.

Ah, sorry! :smiley:

Thanks a lot for this hint. I removed all 3 entries and reinstalled mqtt binding afterwards. After that there was only one restart of the Z-Wave binding and now for the last 10 minutes nothing from this side.

2020-01-26 18:29:50.411 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-01-26 18:32:57.822 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller

It seems that the problem is solved. I have to thank you a lot!! :slight_smile:

Have a nice evening

Flo

1 Like

Folders off /srv are symbolic links for easy access.

I’m getting the neverending reset of my zwave controller. Do you see anything? I removed almost all bindings to no avail.
Sorry, same as the original poster.

RPI3
Ubuntu
Oh 2.5.1

Just upgraded from 2.4 to 2.5

======
:org.apache.felix.configadmin.revision:=L"13"

action=“xmpp,mail”

binding=“ntp,zwave”

felix.fileinstall.filename=“file:/var/lib/openhab2/etc/org.openhab.addons.cfg”

misc=“openhabcloud”

package=“standard”

persistence=""

remote=“true”

service.pid=“org.openhab.addons”

transformation=“javascript,jsonpath,exec”

ui=“basic,paper,habpanel,habmin,homebuilder,habot”

Nope. not even version of OH, Java, what platform, whether this is an upgrade, etc.

How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community

How to use code fences - Tutorials & Examples - openHAB Community

Sorry, same as the original poster.

RP3
Ubuntu
Oh 2.5.1

Just upgraded from 2.4 to 2.5