online

Data type: BOOL.

Method of use: device status is stored and cannot be changed.

Purpose: shows the availability status of a device:

  • true - the device can also be accessed via the network. You can manage the device, such as turn it on or off.
  • false - the device is currently unavailable. For example, it may be off power.

Devices with this feature

This is a basic function maintained by every device.

Sample voice commands

Users cannot use the function, there are no voice commands. If the user tries to give a command to a device that is offline, the virtual assistant will reply that there is no connection to the device.

Function description in the device model

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

Sample description of a function state

In the sample, the function status is online, i.e. the device can be accessed via the network.

{
    "states": [
        {
            "key": "online",
            "value": {
                "type": "BOOL",
                "bool_value": true
            }
        }
    ]
}