diff --git a/.gitignore b/.gitignore index 1c781a7..a2070c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ devices/ test/ - +config.json # Logs logs diff --git a/README.md b/README.md index f5c46c1..1ab67ca 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,12 @@ Ignore all Warnings. This involves MIM of the connection. Instructions can be found here: https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md +Create your configuration file: +``` +cp config.json.sample config.json +nano config.json // edit the configuration file +``` + Start command ``` node tuya-mqtt.js diff --git a/config.json b/config.json.sample similarity index 100% rename from config.json rename to config.json.sample