Aeotec Z-Wave Gen5+ Stick stays offline after container restart / Raspi reboot

Just for the sake of completeness (or more like: as a documentation for myself when I bump into the problem next time, and until I’ve come across doing @Ardanedh’s init-file fix:

  1. Log into the openHAB docker container:
    docker exec -t -i openhab /bin/bash

  2. Access the respective folder with the lock file that shouldn’t be there
    cd /var/run/lock

  3. Delete the respective file that shouldn’t be there:
    rm -f LCK..ttyACM0

  4. Restart the openHAB container (in my case via Portainer)

  5. Done.

Worked 100% of the time for me, and is at least a bit more elegant than re-creating the entire container.

2 Likes