Skip to content

Commit

Permalink
Set Device Stats Interval (homieiot#451) (homieiot#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
timpur authored and jesserockz committed Mar 12, 2018
1 parent 93649a9 commit 2cddbda
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 200 deletions.
2 changes: 2 additions & 0 deletions docs/configuration/json-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Below is the format of the JSON configuration you will have to provide:
{
"name": "The kitchen light",
"device_id": "kitchen-light",
"device_stats_interval": 60,
"wifi": {
"ssid": "Network_1",
"password": "I'm a Wi-Fi password!",
Expand Down Expand Up @@ -50,6 +51,7 @@ Here are the rules:
Default values if not provided:

* `device_id`: the hardware device ID (eg. `1a2b3c4d5e6f`)
* `device_stats_interval`: 60 seconds
* `mqtt.port`: `1883`
* `mqtt.base_topic`: `homie/`
* `mqtt.auth`: `false`
Expand Down
Loading

0 comments on commit 2cddbda

Please sign in to comment.