TOGGLE COMMAND

  • Why DDD API enables to use 'toggle' as an alternative parameter to the command turn="off" or "on" , while Cloud Control API accepts only "on" or "off" and throws an error with "toggle"? I would expect the same rules/parameters for both APIs.

    This would be much easier to use toggle in cloud API than trying to fetch the device status first and then decide if to use off or on? The number of subsequent requests in Cloud API is limited , which makes the approach difficult to use. Is there as way (or at least a plan to introduce) to toggle the relay status using the Cloud Control API? In my application I need the Cloud access not the local DDD.