Razberry and AMA0 problem on PI 3

Hi Ive just installed the current version of HomeAssistant as a first time user from the Imager. Previously it was running Domotics and Z-wave worked ok.

ttyAMA0 seems to be active if i use ls -lha /dev/tty* but when i try to install Z-wave, it does not detect anything on AMA0, keeps listing a 433mhz device on a USB as the only option.

What could be wrong?

Raspi 3 has only 1gb of memory and you will have problems making it work consistently with HA. Minimum recommended hardware is the pi4. See: Raspberry Pi - Home Assistant

If you want to connect a USB Dongle to HA, HA will tell you what URL to use.
The TTY ports can sometimes change internally, so it is suggested to use the /serial/by-id/ URL that always talks to your dongle by serial so it is always right.
You can find out what that is by using:

and looking for it under all hardware, something like this:

Once you have the long URL use that instead of the ttyxxx one.

If you are using a Container installation, this is how to see the /serial/by-id/ URL:
ls -l /dev/serial/by-id

Thanks, I can get the longer path, thanks for the info, but were do i put it? The z-wave app doesn’t let me enter anything?

The Razberry product mentioned in the title is a GPIO daughterboard and won’t appear as a serial device so your suggestion isn’t really applicable. RaZberry revisions

Why?

Or which part, because they both apply I believe.

I wonder if you have disabled Bluetooth. I have a Razberry board so I can vouch for that being necessary. Disable Bluetooth - Installation / Home Assistant OS - Home Assistant Community

1 Like

Good question. Because the GPIO daughterboard is using a PL011 UART, not a USB device. The paths
/dev/serial/by-id/
/dev/serial/by-path/
are symlinks created by udev rules for USB devices. The PL011 UART is integrated directly in the Broadcom SoC. It has memory mapped I/O, not a bus device.

For the Pi3 the UART is shared with bluetooth as @corpuscle mentions. You have to disable bluetooth in order to access the GPIO board.

So the Razberry device won’t show up in the commands you mentioned above like other USB serial devices.

Edit: It will show up in the Home Assistant hardware list, but won’t tell you what it is

1 Like

Yes, bluetooth is disabled and UART is enabled.

The only option that appears is the RFXcom device…

You can’t just type /dev/ttyAMA0 where it says Socket device path? (Sorry if that’s a silly question.)

Isnt that my point. It’s not detecting the Razberry. The AMA0 port is active. Ive tried a couple of different baud rates etc, still nothing.

Have you confirmed communications with the Razberry outside of the Z-wave UI? In the OS for example? Do you have access to the OS and are you comfortable in a Linux environment?