I am running openhabian 2.4.0-1 on my Raspberry Pi 3 B+.
When I add the Aeotec z-stick gen5 to my things it won’t connect.
I have a fresh install of openhabian, this is my first attempt at adding something.
This is what I get in the log viewer:
2019-03-13 21:06:49.432 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyAMA0'
2019-03-13 21:06:49.441 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-03-13 21:06:49.445 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-03-13 21:06:49.448 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
What have I already tried?
Added EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0" to /etc/default/openhab2
Run openhabian-config, go to 30 System Settings, 35 Serial Port, make sure that option 3 “Add common serial ports to openHAB JVM” is checked. Then go to 10 “Apply the latest improvements to the basic openHABian setup” and 14 “Fix Permissions” .
My Gen5 stick is just not going online on my fresh Openhab installation on a RPi 4.
In openhabian-config when I try enable the serial port I see the follwing:
2020-07-04_10:50:25_SAST [openHABian] Updating Linux package information …
2020-07-04_10:50:25_SAST [openHABian] Configuring serial console for serial port peripherals… ATTENTION: This function is not yet implemented.
Removing ‘dtoverlay=miniuart-bt’ from /boot/config.txt
OK (Reboot needed)
I’ve done a hard reset onthe device, rebooted several times etc but nothing. It worked on my previous setup. Any ideas?
Yes, this is indeed the case, I had to get one of these to make it to work with my RPi4. Belkin USB powered hub
From what I came to learn is that the Aeotec controller is not as compliant with USB standards as it should be and draws more power than it should at startup. The RPi4 doesn’t like this and disables the controller A powered hub alleviates the problem.