ControlByWeb Digital Input Module Monitor & Simulator
Click the buttons below to toggle inputs. Your Pi at 10.0.0.2 can poll:
https://cloud-scale.us/api/x408/sim/state.xml
| Endpoint | Description |
|---|---|
/api/x408/sim/state.xml | Get state in XML format (like real X-408) |
/api/x408/sim/state.json | Get state in JSON format |
/api/x408/sim/toggle/1 | Toggle input 1 (1-8) |
/api/x408/sim/set/1/1 | Set input 1 to ON |
/api/x408/sim/pulse/1?duration_ms=500 | Pulse input 1 for 500ms |
/api/x408/sim/reset | Reset all inputs to OFF |