OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Enable/disable program through API › Reply To: Enable/disable program through API
July 18, 2019 at 9:25 am #61728
Assuming you are running firmware 2.1.8, you can use the change program (/cp) API to enable or disable an existing program. This is not yet documented in the API document, but it’s in the firmware code:
will disable the program whose index is given by pid.