Ds3 - dss shell interface
Version 1 (Johannes Winkelmann, 10/06/2009 08:39 am)
| 1 | 1 | Johannes Winkelmann | h1. Ds3 - dss shell interface |
|---|---|---|---|
| 2 | 1 | Johannes Winkelmann | |
| 3 | 1 | Johannes Winkelmann | There's a bash script called @ds3@ which can be found in the @tools@ directory which sends JSON requests to the @dss@. By default, it will query @localhost@, but this can be overridden by the @DSS_HOST@ environment variable. |
| 4 | 1 | Johannes Winkelmann | |
| 5 | 1 | Johannes Winkelmann | h2. Examples |
| 6 | 1 | Johannes Winkelmann | |
| 7 | 1 | Johannes Winkelmann | <pre> |
| 8 | 1 | Johannes Winkelmann | $ ds3 device getState 3504175fe0000000000012e7 |
| 9 | 1 | Johannes Winkelmann | $ ds3 zone turnOn 172 |
| 10 | 1 | Johannes Winkelmann | $ ds3 apartment callScene 5 |
| 11 | 1 | Johannes Winkelmann | |
| 12 | 1 | Johannes Winkelmann | $ DSS_HOST=otherhost ds3 apartment callScene 13 |
| 13 | 1 | Johannes Winkelmann | </pre> |