Hello So Iâve followed your tips.
The user was included in all groups and otherwise I could not find any error.
This one line looks like this:
EXTRA_JAVA_OPTS="-Xms250m -Xmx350m -Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0"
but should look like this:
EXTRA_JAVA_OPTS = â- Dgnu.io.rxtx.SerialPorts = / dev / ttyUSB0: / dev / ttyS0 / dev / ttyS2 / dev / ttyACM0: / dev / ttyAMA0â
if I enter this âsetcap âcap_net_raw, cap_net_admin = + eip cap_net_bind_service = + epâ $ (realpath / usr / bin / java)â on the console this comes here:
[16:57:52] openhabian @ openHABianPi: / etc / default $ setcap âcap_net_raw, cap_net_admin = + eip cap_net_bind_service = + epâ $ (realpath / usr / bin / java)
unable to set CAP_SETFCAP effective capability: Operation not permitted
Where do I have to enter this?
If I add the controller via Manuel then I can only choose / dev / ttyAMA0, I can not enter anything there myself.
If I go to save then comes immediately in the view
Status: OFFLINE - BRIDGE_OFFLINE Controller is offline
In my logfiles this comes here:
2019-06-13 17:17:37.989 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:44171fb5â changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to OFFLINE (COMMUNICATION_ERROR): Serial Error: Port {0} is in use
2019-06-13 17:17:53.238 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:44171fb5â changed from OFFLINE (COMMUNICATION_ERROR): Serial Error: Port {0} is in use to REMOVING
2019-06-13 17:17:53.262 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:44171fb5â changed from REMOVING to REMOVED
==> /var/log/openhab2/openhab.log <==
2019-06-13 17:17:54.272 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
==> /var/log/openhab2/events.log <==
2019-06-13 17:17:54.285 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:44171fb5â changed from REMOVED to UNINITIALIZED
2019-06-13 17:17:54.302 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:44171fb5â changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-06-13 17:22:35.669 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:68bd604eâ changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to REMOVING
2019-06-13 17:22:35.687 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:68bd604eâ changed from REMOVING to REMOVED
2019-06-13 17:22:36.684 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:68bd604eâ changed from REMOVED to UNINITIALIZED
==> /var/log/openhab2/openhab.log <==
2019-06-13 17:22:36.793 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
==> /var/log/openhab2/events.log <==
2019-06-13 17:22:36.820 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:68bd604eâ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-06-13 17:23:17.019 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:ae6f94ebâ changed from UNINITIALIZED to INITIALIZING
2019-06-13 17:23:17.241 [me.event.ThingUpdatedEvent] - Thing âzwave:serial_zstick:ae6f94ebâ has been updated.
==> /var/log/openhab2/openhab.log <==
2019-06-13 17:23:17.247 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port â/dev/ttyAMA0â
==> /var/log/openhab2/events.log <==
2019-06-13 17:23:17.254 [hingStatusInfoChangedEvent] - âzwave:serial_zstick:ae6f94ebâ changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
==> /var/log/openhab2/openhab.log <==
2019-06-13 17:23:17.261 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-06-13 17:23:17.264 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-06-13 17:23:17.266 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.