dbGetItem v1.0.1

Example how to retreive data from the database. Right now we only support mysql. You should change the SQL query and add info about the raw data.

Input arguments are:

  • device
  • type, you need to put here database type, today we support only “mysql”

Required properties:

  • device
  • type

External Settings:

  • DB_HOST
  • DB_USER
  • DB_PASSWORD
  • DB_DATABASE

States:

  • Found
  • Not Found
  • Not Supported