"function":"on","device":"x": Turns on device. ’x’ could either be an integer of the device-id, or the name of the device.

"function":"off","device":"x": Turns off device. ’x’ could either be an integer of the device-id, or the name of the device.

"function":"bell","device":"x": Sends bell command to devices supporting this. ’x’ could either be an integer of the device-id, or the name of the device.

"function":"learn","device":"x": Sends a special learn command to devices supporting this. This is normally devices of ’selflearning’ type. ’x’ could either be an integer of the device-id, or the name of the device.