Aeotech 5 gen on rpi 4

Hello
Sorry if this is a basic question. I am not to good at linux and command codes etc. so maybe I cant see a basic solution.

But I have HA os on a raspberry pi, and it worked perfectly with HA. So I tried to add my Aeotech 5 gen stick so I could integrate the Aeotech sensor. But I cant get the raspberry pi 4 to accept the Aeotech stick.

I tried to google-fu solution and found this:

But I cant get it to work still. I even have a USB 3.0 extern powered hub that was confirmed to work by a user on the threat above.

I tried to use the intregration function adding the code: /dev/ttyACM0 but always got an error. I tried to hub on the usb 2 and 3 on the rpi4 and also rebooting after every switch.

I also tried to add the code, that are explained in the offical guide:

(https://www.home-assistant.io/docs/z-wave/installation/)

zwave:
usb_path: /dev/ttyACM0
device_config: !include zwave_device_config.yaml

Sadly now I have to reinstall it since it wont start up now, after trying to messing with the config.yaml.

Does everything have a solution for this problem?

my hardwarte build is:
Raspberry pi 4, with offical power supply

3.0 usb hub:

power supply for the USB hub, 5V 2A.

Aeotech 5 gen stick

From what I read you have to use a USB 2.0 hub, not 3, as USB3.0 on the Pi is the issue.

Mine uses the cheapest nastiest USB2.0 USB Hub and works well.

Thanks, I was afraid that it was more serious issue since a guy in the other threat said he made it work with the same model usb hub I have. I will try to find an old usb2.0 extension usb, that should have the same effect I think.

Thanks again for the reply btw. Very friendly of you

Edit:
Sorry to bother you again. My rpi 4 couldn’t recognise my z wave stick with a usb 2.0 extension cord. What kind of usb 2.0 hub are you using? To be more specific, are your usb 2.0 hub a external powered model?

Also sorry for my late reply, I was having trouble installing the os again and have been using a couple of days to install it again.

I have the same problem.
I tested with Raspi Ri4, Aetoec ZWave Stick Gen5. No chance.
I tried with a USB 2.0 Hub, no external Power Supply. Did not work.


Do I have to change any of the Z-Wave Settings? (At moment, I only restored the Snapshot of the Raspberry Pi3)

Hello fellow,

I can confirm that it works with that stick on a RP4. I did spend a lot of time but found out in the end.

Start start from scratch, you need a non-powered USB 2.0 hub.
When that is plugged in, verify what is the USB path - you can check that in Supervisor -> System -> Hardware. To be sure what is the correct device, wait to plug in the Aetoec ZWave Stick , and note which devices are threre, plug in the USB and you should see the device id

  1. You need to have this in your config. file:

zwave:
usb_path: /dev/ttyXXXX(mine is called /dev/ttyACM1)
network_key: “0x04, 0x03, 0x01, 0x07, 0x09, 0x06, 0x05, 0x02, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10” (You can use this)

  1. Put the lock in inclusion mode. Either by the switch on the lock or with the Danalock app
  2. You need to “add node secure”. You do this under “Configuration” and “Z-Wave Network Management” Remember to push “heal network” afterwords.
  3. You need to toggle “get_usercode” Do this under “Developer tools” and “Services”. This step also requires inclusion mode.
  4. Calibrate the lock using the Danalock app if necessary. Maybe upgrade firmware

This helped me, so I hope you can use it.

I know this is apparently old news but it was ‘new’ to me yesterday. Thankfully I can also confirm that using the $3.88 Monoprice USB 2.0 hub (https://www.monoprice.com/product?p_id=6631) solves the problem with the Aeotech stick not working in the Raspberry PI 4.

Love this community, I would never have figured that out with out you all!

I tried it several times.

  • USB2 Hub ist connected to USB3 Interface on Raspberri Pi4
  • host_os 4.9
  • Supervisor Version 227
  • hassio version 0.110.5

With USB2 Hub connected (no ZWave Aeotec Stick), I see Supervisor -> System -> Hardware:

  • /dev/ttyAMA0

When I connect Aeotec ZWave Stick to USB2 Hub, I see:

  • /dev/ttyACM0
  • /dev/serial/by-id/usb-0658_0200-if00
  • /dev/ttyAMA0

Configuration / Integration I added Z-Wave (not OpenZwave beta):
But whatever I try to set as “USB Device Path”, I get the Error (screenshot).

What am I doing wrong?
Because Step 1. from your post is not working, I can not test step 2-5

Now it is working. :slight_smile:
I restored again the old Raspi3 config, changed USB2 Hub from USB3-Interface to USB2-Interface and rebooted.
Now it is working.
Interesting: Last time I tried this, it was not working. My changed to last testing:

  • newest Hassio Version 0.110.5
  • host_os 4.8 to host_os 4.9 update