ym88659208ym87991671
Function current | Documentation SmartMarket
Skip to main content

current

Data type: INTEGER(0, 30000).

Usage method: stores the device state without changing it.

Purpose: shows the current passing through the device. E.g. current consumed by an iron connected to the socket. It takes values from the range of 0-30,000 mA at an interval of 1 mA.

When describing the device model, the range and interval of values taken by the function can be changed.

Devices with this function

Examples of voice commands

The user cannot manage the function; no voice commands provided for it.

Function description for a device model

"features": [
"current",
// ...
]

Function state description example

The example describes a device passed through by 9,000 mA current.

{
"states": [
{
"key": "current",
"value": {
"type": "INTEGER",
"integer_value": "9000"
}
}
]
}
Last updated on August 26, 2022