Difference between revisions of "Dummy"
Jump to navigation
Jump to search
(Created page with "The DUMMY I/O Server is a virtual server that doesn’t actually connect to any external system, but simulates basic lighting and automation devices. It could be used for proj...") |
|||
Line 54: | Line 54: | ||
|- | |- | ||
+ | |||
+ | |connection | ||
+ | |online | ||
+ | |R | ||
+ | |I/O Server ready | ||
+ | |||
+ | |- | ||
+ | |||
+ | |rowspan="6" |light.<n> | ||
+ | |rowspan="2" |0 | ||
+ | |R | ||
+ | |light <n> is off | ||
+ | |- | ||
+ | |W | ||
+ | |rowspan="2" |switch off light <n> | ||
+ | |- | ||
+ | |off | ||
+ | |W | ||
+ | |- | ||
+ | |rowspan="2" |1 | ||
+ | |R | ||
+ | |light <n> is on | ||
+ | |- | ||
+ | |W | ||
+ | |rowspan="2" |switch on light <n> | ||
+ | |- | ||
+ | |on | ||
+ | |W | ||
+ | |||
+ | |- | ||
+ | |||
+ | |rowspan="7" |dimmer.<n> | ||
+ | |rowspan="2" |0 | ||
+ | |R | ||
+ | |dimmer <n> is off | ||
+ | |- | ||
+ | |W | ||
+ | |rowspan="2" |switch off dimmer <n> | ||
+ | |- | ||
+ | |off | ||
+ | |W | ||
+ | |- | ||
+ | |1 | ||
+ | |W | ||
+ | |rowspan="2" |switch on dimmer <n> | ||
+ | |- | ||
+ | |on | ||
+ | |W | ||
+ | |- | ||
+ | |rowspan="2" |1% ... 100% | ||
+ | |R | ||
+ | |the light level of dimmer <n> corresponds to the reported value | ||
+ | |- | ||
+ | |W | ||
+ | |set the light level of dimmer <n> to the specified value | ||
+ | |||
+ | |- | ||
+ | |||
+ | |rowspan="9" |autom.<n> | ||
+ | |offup | ||
+ | |R | ||
+ | |autom <n> is stopped in upper position | ||
+ | (set to this value 30 seconds after a 'up' command) | ||
+ | |- | ||
+ | |offdown | ||
+ | |R | ||
+ | |autom <n> is stopped in lower position | ||
+ | (set to this value 30 seconds after a 'down' command) | ||
+ | |- | ||
+ | |stop | ||
+ | |rowspan="3" |W | ||
+ | |rowspan="3" |stop autom <n> | ||
+ | |- | ||
+ | |off | ||
+ | |- | ||
+ | |0 | ||
+ | |- | ||
+ | |rowspan="2" |up | ||
+ | |R | ||
+ | |autom <n> is moving upwards (opening) | ||
+ | |- | ||
+ | |W | ||
+ | |move autom <n> upwards | ||
+ | |- | ||
+ | |rowspan="2" |down | ||
+ | |R | ||
+ | |autom <n> is moving downwards (closing) | ||
+ | |- | ||
+ | |W | ||
+ | |move autom <n> downwards | ||
+ | |||
+ | |} | ||
+ | |||
+ | == User Interface == |
Revision as of 14:58, 10 January 2014
The DUMMY I/O Server is a virtual server that doesn’t actually connect to any external system, but simulates basic lighting and automation devices. It could be used for project’s development, demonstrations, and to easily implement virtual devices with complex logic connecting to actual systems.
HSYCO Configuration
Options
ID | Default | Values | Description |
---|---|---|---|
discovery | true | true | automatically lists all virtual devices in the systemtopo.txt file |
false | auto-detect for devices is disabled | ||
lights | 10 | 0 ≤ <n> ≤ 10000 | generates <n> on/off light devices |
dimmers | 10 | 0 ≤ <n> ≤ 10000 | generates <n> dimmer devices |
automations | 10 | 0 ≤ <n> ≤ 10000 | generates <n> automation devices |
Datapoints
ID | Value | R/W | Description |
---|---|---|---|
connection | online | R | I/O Server ready |
light.<n> | 0 | R | light <n> is off |
W | switch off light <n> | ||
off | W | ||
1 | R | light <n> is on | |
W | switch on light <n> | ||
on | W | ||
dimmer.<n> | 0 | R | dimmer <n> is off |
W | switch off dimmer <n> | ||
off | W | ||
1 | W | switch on dimmer <n> | |
on | W | ||
1% ... 100% | R | the light level of dimmer <n> corresponds to the reported value | |
W | set the light level of dimmer <n> to the specified value | ||
autom.<n> | offup | R | autom <n> is stopped in upper position
(set to this value 30 seconds after a 'up' command) |
offdown | R | autom <n> is stopped in lower position
(set to this value 30 seconds after a 'down' command) | |
stop | W | stop autom <n> | |
off | |||
0 | |||
up | R | autom <n> is moving upwards (opening) | |
W | move autom <n> upwards | ||
down | R | autom <n> is moving downwards (closing) | |
W | move autom <n> downwards |