rjaros87/pm-home-station

[desktop] Autodetect RPi built-in UART and its serial port (Raspbian)

pskowronek opened this issue · 1 comments

Autodetect RPi built-in UART and its serial port (Raspbian) by looking for /dev/ttyS0 (confirmed on RPi Zero). Useful if PMS device is directly connected to PIN 8 & 10 (GPIO 14 & 15) of RPi.

Built-in UART in RPi can be enabled by editing /boot/config.txt and setting: enable_uart=1 or via command raspi-config.

committed to 'new_device' branch