mirror of
https://github.com/lehanspb/tuya-mqtt.git
synced 2025-12-16 17:54:36 +00:00
Move configuration file
Configuration file should not be versioned, let's give an example one to copy. Signed-off-by: Gérondal Thibault <contact@tycale.be>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
|||||||
devices/
|
devices/
|
||||||
test/
|
test/
|
||||||
|
config.json
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
|
|||||||
@@ -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
|
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
|
Start command
|
||||||
```
|
```
|
||||||
node tuya-mqtt.js
|
node tuya-mqtt.js
|
||||||
|
|||||||
Reference in New Issue
Block a user