@URBANsUNITED wrote:
Hi!
I am struggling getting data from my influxdb.
This is what i have:
SELECT mean("value") AS "mean_value" FROM "telegraf"."autogen"."mqtt_consumer" WHERE time > :dashboardTime: AND time < :upperDashboardTime: AND "topic"='hometop/ht/ch_Tflow_desired' GROUP BY time(:interval:) FILL(null)
This is my code:
- platform: influxdb host: a0d7b954-influxdb port: 8086 username: User password: Pass queries: - name: ch_Tflow_desired unit_of_measurement: '"°C"' measurement: '"telegraf"."autogen"."mqtt_consumer"' where: 'hometop/ht/ch_Tflow_desired' database: telegraf group_function: last field: value
Problem is that I don’t get the sensor.
Is the above code correct? If no, what do I have to change?Thanks fpr your help!!
Cheers
URBANsUNITED
Posts: 1
Participants: 1