roomba-iot – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
Line 2... | Line 2... | |||
2 | ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
|
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
|
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
|
5 | ########################################################################### |
5 | ########################################################################### |
|
Line -... | Line 6... | |||
- | 6 | |
||
6 | |
7 | # The path to a file to log to. |
|
Line -... | Line 8... | |||
- | 8 | log: "logs/roomba-iot.log" |
||
- | 9 | |
||
- | 10 | # The serial device connected to the Roomba. |
||
- | 11 | serial_device: "/dev/serial0" |
||
- | 12 | # Time in milliseconds to poll sensors and push onto MQTT. |
||
- | 13 | sensor_poll_interval: 1000 |
||
7 | log: "logs/roomba-iot.log" |
14 | |
|
8 | |
15 | # Parameters for MQTT. |
|
9 | mqtt: |
16 | mqtt: |
|
10 | url: "mqtt://myserver.home" |
17 | url: "mqtt://mqtt.home" |
|
Line 11... | Line 18... | |||
11 | # The topic to subscribe to. |
18 | # The topic to subscribe to. |
|
12 | topic: "roomba/#" |
19 | topic: "1986" |
|
13 | |
- | ||
14 | # The GPIO pin connected to Device Detect (DD) Roomba lead. |
- | ||
15 | wake: 18 |
- | ||
16 | |
- | ||
17 | # Roomba command sequences. |
- | ||
18 | ROOMBA: |
- | ||
19 | safe: |
- | ||
20 | - 131 |
- | ||
21 | start: |
- | ||
22 | - 128 |
- | ||
23 | spot: |
- | ||
24 | - 134 |
- | ||
25 | clean: |
- |