Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions smartthings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Everything is configurable through UI. Available params:
| preface | Preface for topics |
| state_suffix | State topics suffix |
| command_suffix | Command topics suffix |
| retain | MQTT Retain flag option |
| bridge_port | Port bridge listening on |
7 changes: 4 additions & 3 deletions smartthings/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"command_suffix": "cmd",
"login": "login",
"password": "password",
"bridge_port": 2080

"bridge_port": 2080,
"retain": false
},
"schema": {
"broker_host": "str",
Expand All @@ -28,6 +28,7 @@
"command_suffix": "str",
"login": "str",
"password": "str",
"bridge_port": "int"
"bridge_port": "int",
"retain": "bool"
}
}
1 change: 1 addition & 0 deletions smartthings/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ mqtt:
command_suffix: {{command_suffix}}
username: {{login}}
password: {{password}}
retain: {{retain}}
port: {{bridge_port}}