alpaca_switch_set_value
Set the value of a switch on an ASCOM Alpaca switch device. Ensure the device is connected first.
Instructions
Set the value of a switch on an ASCOM Alpaca switch device. Note: Device must be connected first using alpaca_device_connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address of the Alpaca server | |
| port | Yes | Port number of the Alpaca server | |
| value | Yes | Switch value | |
| switch_id | Yes | Switch ID | |
| device_number | No | Device number (default: 0) |