It provides a way to run InfluxDB Query. Before adding InfluxDB Read Action, user has to define a InfluxDB Connection. User need to provide following parameters to add InfluxDB Read Query Action.
Here the "payload" object and "Query" String object available in the code which is directly executed on InfluxDB Connection.
"payload" object is supplied from Action Trigger like Rules, Action Command etc.
//Example 1Query = "select Count(Result) from MY_MEASUREMENT WHERE time > now() - 24h GROUP BY time(30m) order by time desc"
//Example 2Query = `SELECT * FROM "ienergyDigital" WHERE "Current" = 4.17`
User need to provide Connection ID of InfluxDB database connection.
Please note the following points: