Part 2: Install MQTT client to control the kiosk display

This articel describes how you can install an mqtt client on the raspberry pi 4 to control a kiosk display with FullPageOS. The default configuration is done for an originl 7′ raspberry pi touch display 2.
How I install FullPageOS and adapted it to control my home automation you find in part 1 of this articels

Installation

The mqtt client is written in python and uses the paho-mqtt python library. I wrote this client. You can find it together with the installation how to on github: mqttDisplayClient

The client support the following features

  • Control brightness of the display
  • Control backlight on/off of the display
  • send configured bash commands to the display
  • switch between different configured panel pages
  • open a specific URL

Additinally the optional pyautogui feature can be activated. It supports:

  • send mouse clicks to the display
  • send keyboard commands to the display

Any feedback or bug report is welcome.