System Command action

The command action starts system functions on the IRControl System. Interessting in this relation are only the commands described at this place.

The command action has the following attributes:

Command NameThe operation that is executed
ParameterAdditional parameter depending on the operation (command name)
ValueAdditional value depending on the operation (command name)

AddRefreshTimer

IRConntrol sends a Refresh-30 event every 30 seconds for relaoding data for some controls. With this command you can install an addtional timer on your page with sends Refresh events. As Parameter you have to enter the invervall in milli seconds.

Exit

IRControl App will be closed.

fireAlive

Sends a ping to the Gateway defined in the Parameter (ID). You can determine with this command if a Gateway is online on Network. The System does send an Event (connected) if it is connected.

ScanNetwork

ScanNetwork let the IRControl System search for new control devices on network. This is maybe interessting if you switch on your equipment with controllable powerswitch (MyStrom or Intertechno). So you can scan your network for devices after certain time (as long your equipment needs to start).

fireDynamicProperty

A dynamic property can be fired. (see also Dynamic Attributes).

SendEvent

An additional command action is „SendEvent“. With it you can send events inside the IRControl system to other subsystems or controls. With this functionality it is possible to generate dynamic layouts, which extends the possibility of layout design seriously. For more information about useing events read the chapter events.

SetPageParameter

With this parameter you can manipulate some attributes of your page. The following attributes are possible to set:

setupbutton.visibletrue/false, the setup button (gear wheel) will be set invisible
setupbutton.bitmapPath to bitmap (change the bitmap of the setup button)
menubutton.visibletrue/false, the Menu button (used with Context Slider) will be set to invisible
menubutton.bitmapPath to bitmap (change the bitmap of the menu button)
pageindicator.visibletrue/false, disabling of page indicators (with sub fragments)
pageindicator.on.colorChange the color of (selected) page indicators (format #FFFFFF)
pageindicator.off.colorChange the color of (unselected) page indicators (format #FFFFFF)

Sleep

Sleep makes sence only to configure it within a macro. The sleep time (parameter) is to enter in milliseconds. So you could interrupt the execution of a macro for a certain time.

A use case of ScanNetwork and Sleep could be, that you create a macro, wich first enable the power switch, then waits specific time (time the devices switched on need to connect to the network, and finally search on the network for devices just turned on.