#!/bin/bash # Install required packages apt-get update apt-get install python3-pip pip3 install paho-mqtt