Hi, I am trying to use a header board on my raspberry with a serial port. It is supposed to be on pin 8 and 10. If I understood correctly this should be
/dev/ttyAMA0
However, that serial port doesn’t show up in the device list or in the open hab GUI. Do I have to enable that somehow?
This really isn’t an OH question. But assuming you are trying to enable UART on those two pins there are tons of topics and tutorials on the Raspberry Pi forums which should help you get started.
Thanks. Since I wanted to use the device with openhab I guess it can’t hurt if the solution can also be found here. To solve this I tried quite a few solutions from the internet. Not sure which one made it work in the end. But one thing that is definitely needed is:
Connect with putty and type:
sudo nano /boot/firmware/config.txt
Then change/add:
enable_uart=1
dtoverlay=uart0,ctsrts