Plug

May 16, 2026 ยท View on GitHub


Device List Information

KeyValue TypeDescription
deviceIdStringdevice ID
deviceNameStringdevice name
deviceTypeStringdevice type. Plug
enableCloudServiceBooleandetermines if Cloud Service is enabled or not for the current device
hubDeviceIdStringdevice's parent Hub ID. 000000000000 when the device itself is a Hub or it is connected through Wi-Fi.

Device Status

KeyValue TypeDescription
deviceIdStringdevice ID
deviceTypeStringdevice type. Plug
powerStringON/OFF state
versionStringthe current Wi-Fi firmware version, e.g. V4.2
hubDeviceIdStringdevice's parent Hub ID. 000000000000 when the device itself is a Hub or it is connected through Wi-Fi.

Control Commands

deviceTypecommandTypeCommandcommand parameterDescription
PlugcommandturnOndefaultset to ON state
PlugcommandturnOffdefaultset to OFF state