influxdb-flux

Query InfluxDB v2 time-series data using the Flux language.

2|Updated Nov 9, 2021
One-click install
npx skills add https://github.com/adampetrovic/dotfiles --skill influxdb-flux
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: influxdb-flux
Source: https://github.com/adampetrovic/dotfiles/tree/main/dot_pi/agent/skills/influxdb-flux
Command: npx skills add https://github.com/adampetrovic/dotfiles --skill influxdb-flux

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill allows users to query and explore data stored in InfluxDB v2 using the Flux query language, simplifying data analysis for time-series data.

Core Features & Use Cases

  • Data Querying: Execute Flux queries against InfluxDB v2 to retrieve specific data points.
  • Schema Discovery: Understand the structure of your InfluxDB data, including measurements, tags, and fields.
  • Credential Management: Securely handles InfluxDB credentials using environment variables or prompts.
  • Use Case: Analyze Home Assistant energy consumption data or IotaWatt power readings to identify trends or troubleshoot issues.

Quick Start

Use the influxdb-flux skill to find the average temperature in Celsius from the 'homeassistant' bucket over the last 24 hours.

Frequently Asked Questions about influxdb-flux

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query InfluxDB v2 time-series data using Flux?

To query InfluxDB v2 time-series data using Flux, you can execute Flux queries directly against your database to retrieve specific data points, explore schemas, and analyze trends. This process requires your InfluxDB URL, organization, and token.

What is the best way to analyze Home Assistant energy consumption data stored in InfluxDB?

Analyzing Home Assistant energy consumption data stored in InfluxDB is best done by executing Flux queries to retrieve specific data points and identify trends. This allows detailed time-series analysis and troubleshooting of your power readings.

How do I discover the schema of my InfluxDB measurements, tags, and fields?

Discovering the schema of your InfluxDB measurements, tags, and fields is done by executing Flux exploration queries. This allows you to understand the underlying structure of your time-series data before running detailed analysis or reports.

Do I need environment variables to securely handle InfluxDB credentials?

Yes, you need environment variables to securely handle InfluxDB credentials. The system requires variables for your InfluxDB URL, organization, and token, and will prompt for user input if these fallback credentials are not configured.

Can I use Flux to query IotaWatt power readings in InfluxDB v2?

Yes, you can use Flux to query IotaWatt power readings in InfluxDB v2. The system supports IotaWatt data sources, enabling detailed time-series analysis and reporting to identify trends or troubleshoot power monitoring issues.