From f10ae2616be85e6b0a6fff968b99565842f4c308 Mon Sep 17 00:00:00 2001 From: Masoko Date: Mon, 27 Apr 2020 16:48:35 +0300 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4e4b11c..e674ddc 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,15 @@ on a Raspberry Pi computer and publish the data to a MQTT server. # Installation: Install these two modules needed for the script + RUN pip install paho-mqtt + RUN sudo apt-get install python-pip + Rename config.py.example to config.py and populate the needed variables + Test the script. + Create a cron entry like this: + */2 * * * * /usr/bin/python /home/pi/scripts/cpu_mqtt.py