Plugin vdevice

Domogik Plugin for Virtual Device

Purpose

This plugin provides Virtual Devices to store datatype value in sensor. You just need to use the device command to update the device sensor.

There are some datatype of device available in plugin, but it will always be possible to add if necessary:

  • “vdevice.number”
  • “vdevice.binary”
  • “vdevice.switch”
  • “vdevice.openclose”
  • “vdevice.startstop”
  • “vdevice.motion”
  • “vdevice.string”
  • “vdevice.colorrgb”
  • “vdevice.colorrgbhexa”

Dependencies

No dependencies needed

Plugin configuration

No configuration needed for the plugin

<<<<<<< HEAD

Device’s type available:

_images/Domogik_Plugin_Vdevice_2.png

>>>>>>> 2.0 Create the devices ==================

Device parameters configuration

There is one parameter for device configuration:

This paremeter is use to initialize sensor’s value, only if this value is empty when plugin start:

Key Type Description
value Depends on the datatype Initial value for the device’s sensor
_images/Domogik_Plugin_Vdevice_3.png

Start the plugin

You can now start the plugin (start button) and use the created devices.

Now, there is no need to restart the plugin if a device is added or updated.

Set up your widgets on the user interface

You can now place the widgets of your devices features on the user interface.