No serial port found for RaZberry Z-Wave Controller
Posted: Tuesday 24 November 2020 12:59
Hi,
I just started my first smart home adventure and picked Domoticz on Raspberry Pi for this.
This is my setup:
What I did so far is:
Installed and updated Ubuntu Server
Created a new user "domo" und added it to the group "dialout" because this is the owner group of /dev/ttyAMA0.
User "domo" installed Domoticz with this command:
Added "dtoverlay=disable-bt" to /boot/firmware/usercfg.txt which is included by /boot/firmware/config.txt.
Removed "console=serial0,115200 console=tty1" from /boot/firmware/cmdline.txt.
In /boot/firmware/config.txt there was "enable_uart=1" already set, so I just kept this line.
Stopped and disabled the getty service:
I'm not sure what the following command is good for, but I took it from this thread Using Domoticz with the RaZberry Z-Wave Controller
After a system reboot I logged in as user "domo" and run Domoticz with the following command:
After connecting to Domoticz with a web browser I chose "Setup -> Hardware" from the menu and selected "OpenZWave USB" as type.
Unfortunately the drop-down field "Serial Port" then stayed empty. I coudl not select or enter anything in that field. The "Add"-Button did not work.
I'm not sure if "OpenZWave USB" is correct because the Razberry board is connected to GPIO, not to USB, but due to Using Domoticz with the RaZberry Z-Wave Controller it should be the right choice.
The log file of Domoticz shows only two messages:
Active notification Subsystems: fcm, http (2/13)
Starting shared server on: :::6144
shows
serinfo:1.0 driver revision:
0: uart:PL011 rev2 mmio:0x3F201000 irq:81 tx:0 rx:0 CTS
shows that the service is really not running.
I also tried "dtoverlay=pi3-disable-bt" instead of "dtoverlay=disable-bt" but with no effect.
Any ideas what I could try or check further on to get my setup working?
I just started my first smart home adventure and picked Domoticz on Raspberry Pi for this.
This is my setup:
- Raspberry Pi 3 with latest firmware Update
- RaZberry 2 Z-Wave Controller Board
- Ubuntu Server 20.04 LTS
- Domoticz Version 2020.2, Build Hash b63341bc0
What I did so far is:
Installed and updated Ubuntu Server
Created a new user "domo" und added it to the group "dialout" because this is the owner group of /dev/ttyAMA0.
User "domo" installed Domoticz with this command:
Code: Select all
sudo curl -L install.domoticz.com | sudo bash
Removed "console=serial0,115200 console=tty1" from /boot/firmware/cmdline.txt.
In /boot/firmware/config.txt there was "enable_uart=1" already set, so I just kept this line.
Stopped and disabled the getty service:
Code: Select all
systemctl stop [email protected]
systemctl disable [email protected]
Code: Select all
sudo stty -F /dev/ttyAMA0 9600
Code: Select all
domoticz -www 8080 -verbose 1 -loglevel 1 -nocache -log /home/domo/domoticz/log.txt
Unfortunately the drop-down field "Serial Port" then stayed empty. I coudl not select or enter anything in that field. The "Add"-Button did not work.
I'm not sure if "OpenZWave USB" is correct because the Razberry board is connected to GPIO, not to USB, but due to Using Domoticz with the RaZberry Z-Wave Controller it should be the right choice.
The log file of Domoticz shows only two messages:
Active notification Subsystems: fcm, http (2/13)
Starting shared server on: :::6144
Code: Select all
cat /proc/tty/driver/ttyAMA
serinfo:1.0 driver revision:
0: uart:PL011 rev2 mmio:0x3F201000 irq:81 tx:0 rx:0 CTS
Code: Select all
systemctl status [email protected]
I also tried "dtoverlay=pi3-disable-bt" instead of "dtoverlay=disable-bt" but with no effect.
Any ideas what I could try or check further on to get my setup working?