Date: Fri, 29 Mar 2024 08:50:14 +0000 (UTC) Message-ID: <864038698.7.1711702214214@f82e5b65f4fd> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6_218479432.1711702214213" ------=_Part_6_218479432.1711702214213 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
An action is needed to initiate a remote command from the Cloud.=
Here is an XML code to switch a fan on and off, which we will take as ex= ample to create a new action.
<a= ction action_id=3D"fan_output" device_id=3D"dev_X20BC0087"> <commands> <command command_id=3D"ON">write_single_coil(16,[1])</comman= d> <command command_id=3D"OFF">write_single_coil(16,[0])</com= mand> </commands> </action>
Next steps: