Display driver for UCTRONICS Pi Rack Pro (SKU RM0004)
The project supports running on the Raspberry Pi and HomeAssistant.
Begin by enabling the I2C interface, add the following to the /boot/config.txt file:
dtparam=i2c_arm=on,i2c_arm_baudrate=400000Add the following to the /boot/config.txt file:
dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=upReboot the system and wait for the system to restart:
sudo reboot nowgit clone https://github.com/darkgrue/SKU_RM0004cd SKU_RM0004
make./display
Copy the binary file to /usr/local/bin/:
sudo cp ./display /usr/local/bin/Choose one of the following configuration options (systemd or rc.local). Systemd method is recommended:
sudo cp ./contrib/RPiRackPro.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable RPiRackPro.service
sudo systemctl start RPiRackPro.serviceOR add the startup command to the rc.local script (not recommended)
sudo nano /etc/rc.localand add the command to the rc.local file:
/usr/local/bin/display &Reboot your system:
sudo reboot now