From 50d8c44e194bb5604b370fabd835b27148904b00 Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Thu, 30 Apr 2020 01:23:17 +0300 Subject: [PATCH] formating --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e07eea7..d1f0c6d 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,14 @@ Then install this module needed for the script: $ pip install paho-mqtt ``` -Copy rpi-cpu2mqtt.py and config.py.example to a folder of your choise (I am using ```/home/pi/scripts/``` ). - -Rename ```config.py.example``` to ```config.py``` and populate the needed variables (MQTT host, user, password and main topic). +Copy ```rpi-cpu2mqtt.py``` and ```config.py.example``` to a folder of your choise (I am using ```/home/pi/scripts/``` ). +Rename ```config.py.example``` to ```config.py``` # Configuration -In config.py you can choose what messages are send and what is the delay between them. +Populate the variables for MQTT host, user, password and main topic in config.py. + +You can also choose what messages are send and what is the delay between them. This is the default configuration: ```