Grafana Home Dashboard  

Developer: VTMikel's Plugins     Like this plugin? Show your appreciation!
Category: Reporting/UI/Control Pages
Github: Github Repo
Assistance: Get help!    Check the online documentation
Plugin ID: com.vtmikel.grafana
Latest release: v2.0.1 released on June 9, 2022
Requires: Indigo v2022.1.0 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

Grafana Home Dashboard Plugin for Indigo

GitHub release License

An Indigo plugin that logs device and variable states to InfluxDB for visualization with Grafana. Create beautiful time-series dashboards to track your home automation data over time.

Features

  • InfluxDB Client: Connects to your external InfluxDB 1.7 or 1.8 server
  • Granular Control: Advanced inclusion/exclusion criteria to control which devices and states are logged
  • Data Filtering: Prevent erroneous values from being logged with min/max ranges and percentage change thresholds
  • Smart Updates: Configurable minimum update frequency to avoid gaps in graphs
  • Utility Functions: Device and state exploration tools to help configure your dashboards

Requirements

Indigo Requirements

  • Indigo 2025.1 or higher
  • macOS with Python 3.11+

External Server Requirements

  • InfluxDB 1.7 or 1.8 (NOT compatible with 2.x)
    • Docker: docker run -p 8086:8086 -v /path/to/data:/var/lib/influxdb influxdb:1.8
    • Homebrew: brew install influxdb@1
    • Download: https://portal.influxdata.com/downloads/
  • Grafana (for visualization, optional but recommended)
    • Docker: docker run -p 3000:3000 grafana/grafana
    • Homebrew: brew install grafana
    • Download: https://grafana.com/grafana/download

Installation

  1. Download the latest release from GitHub Releases
  2. Double-click the .indigoPlugin file to install
  3. Configure your InfluxDB connection in the plugin configuration

Configuration

InfluxDB Connection

Configure the connection to your InfluxDB server in the plugin configuration:

  • InfluxDB Server Host: Hostname or IP address of your InfluxDB server (e.g., localhost, 192.168.1.100)
  • Use SSL: Enable if your InfluxDB server uses HTTPS
  • InfluxDB HTTP Port: HTTP API port (default: 8086)
  • InfluxDB User: Username for authentication
  • InfluxDB Password: Password for authentication
  • InfluxDB Database: Database name (will be created if it doesn't exist)
  • Retention Policy: How long to keep data (6 months, 1 year, 2 years, 5 years, or forever)

Inclusion / Exclusion Criteria

Control which devices and states are logged:

How it works: 1. Excluded devices will never have any information sent to InfluxDB 2. Included devices will have ALL states sent to InfluxDB 3. All other devices will have only the global include states sent

Global Include States: These states will be logged for all devices (unless excluded). Default states include: - onState, state.onOffState - energyCurLevel, energyAccumTotal - sensorValue, value.num - batteryLevel - HVAC states (coolSetpoint, heatSetpoint, state.hvac_state)

Minimum Update Frequency: Configure how often to send updates even if values haven't changed. This prevents gaps in graphs for infrequently changing devices. Options: 5, 10, 15, 30, or 60 minutes.

Advanced Features

Data Filters

Create sophisticated filtering rules to prevent bad data from reaching InfluxDB:

  • Min/Max Value Filtering: Only log values within a specific range
  • Percentage Change Filtering: Only log values if they haven't changed by more than a specified percentage
  • Per-Device or Global Rules: Apply filters to specific devices or all devices
  • Lock Minimum Updates: Pause minimum frequency updates for devices that fail filters

Access via: Plugins → Grafana Home Dashboard → Configure data filters (advanced)

Device Exploration

Utility tools to help you understand what data is available:

  • Explore Device: Print all states for a specific device to the Indigo Event Log
  • Explore State: Find all devices that have a specific state

Access via: Plugins → Grafana Home Dashboard → Explore device/state

Grafana Dashboard Setup

  1. Install Grafana on your network
  2. Add InfluxDB as a data source:
    • URL: http://your-influxdb-host:8086
    • Database: Same as configured in the plugin
    • User/Password: Same as configured in the plugin
  3. Create dashboards or import community dashboards
  4. Query the device_changes measurement for device data
  5. Query the variable_changes measurement for variable data

Example Query

SELECT "energyCurLevel" FROM "device_changes"
WHERE "name" = 'Living Room Light'
AND time >= now() - 24h

Data Structure

Device Changes

  • Measurement: device_changes
  • Tags: name, folderId, folder (if in a folder)
  • Fields: All device states (based on inclusion criteria)

Variable Changes

  • Measurement: variable_changes
  • Tags: varname
  • Fields: name, value, value.num (if numeric)

Version History

v2025.0.0 (Modernization Release)

BREAKING CHANGES: - Removed bundled InfluxDB and Grafana servers - Plugin now requires external InfluxDB 1.7/1.8 server - Updated to Indigo SDK 2025.1 (Python 3.11+)

Improvements: - Upgraded all Python dependencies to latest versions - Simplified architecture: InfluxDB client only - Removed ~500 lines of server management code - Switched to pip requirements.txt for dependency management - Calendar versioning adopted (2025.0.0)

v2.0.1 (Previous Version)

  • Bundled InfluxDB 1.7 and Grafana servers
  • Python 3 compatibility
  • Server management and auto-recovery

Migration from v2.x

Important: Version 2025.0.0 is a breaking change that removes the bundled InfluxDB and Grafana servers. You must set up external servers before upgrading.

  1. Install InfluxDB 1.8 on your network (see Requirements section)
  2. Migrate existing data (if you have existing data from v2.x): ```bash # On your Indigo server, export data from old plugin location influxd backup -portable -database indigo /path/to/backup

    # On new InfluxDB server, restore data influxd restore -portable -db indigo /path/to/backup ``` 3. Install Grafana separately (see Requirements section) 4. Update plugin to v2025.0.0 5. Configure connection to your external InfluxDB server 6. Reconfigure Grafana to point to new InfluxDB server

Support & Documentation

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

  • Original author: Mike Lamoureux
  • JSON Adaptor: Dave Brown (Copyright 2017, 2018)
  • InfluxDB: InfluxData Inc.
  • Grafana: Grafana Labs

Disclaimer

This plugin is provided as-is with no warranty. While it has been tested with Indigo 2025.1, use at your own risk. Always backup your Indigo database before installing plugins.

Release details
Released on: June 9, 2022
Requires: Indigo v2022.1.0+
Changes in this release

fix for influx stop.

Release details
Released on: Dec. 21, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Upgrade Grafana to v7.3.6

Release details
Released on: Aug. 4, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 10 times 
Changes in this release

Upgrade Grafana to 7.1.1

Release details
Released on: June 6, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Upgrade Grafana to 7.0.3

Release details
Released on: Dec. 24, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Upgrade of Grafana Bump of plugin version

Release details
Released on: Nov. 28, 2019
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Upgrades to the Grafana and Influx Servers

Release details
Released on: July 3, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 3 times 
Changes in this release

Upgrade of Grafana to v6.2.5 Bump plugin version

Release details
Released on: May 12, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Updates Grafana to 6.1.6 Updates InfluxDB to 1.7.6

Release details
Released on: Feb. 25, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Upgrade of Grafana to v6 Upgrade of Discrete panel to latest Upgrade of Piechart panel to latest Removed automatic updates of the plugin Bumped plugin version to v1.0.11

Release details
Released on: Feb. 2, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

bug fixes and improvements

Release details
Released on: Jan. 20, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Added missing dependencies.

Release details
Released on: Jan. 6, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 2 times 
Changes in this release

Update to Grafana 5.4.2 Update to InfluxDB 1.7.2

Release details
Released on: Nov. 25, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Updated Grafana and InfluxDB to latest stable versions.

Release details
Released on: Sept. 13, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Upgrades to the Grafana and Influx server

Release details
Released on: July 19, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Updated Grafana to v5.2.1 Fixed bug with configuration dialog where it becomes slow after the plugin has ran for a long period of time

Release details
Released on: June 26, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Addresses a problem with the performance of the configuration dialog Updates Grafana to v5.1.4 Updates InfluxDB to v1.5.4

Release details
Released on: June 7, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Updated Discrete panel fixed a bug that refreshes the config dialogs migrated the plugin update function

Release details
Released on: May 29, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Fixed a bug with the config dialog when adding devices to the include list upgraded Grafana to 5.1.3 upgraded InfluxDB to 1.5.3

Release details
Released on: May 17, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Initial release to the Indigo Plugin Store

Release details
Released on: May 16, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Adds a menu option to review logs of data filter failures Overall stability improvements

Release details
Released on: May 15, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Enhancements to data filters

Release details
Released on: May 13, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Upgrade to Grafana 5.1.2 Implementation of advanced filter rules

Release details
Released on: May 8, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

improvements to configuration dialog only.

Release details
Released on: May 7, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Minor upgrade of Influx server. Fixes to the configuration validation code.

Release details
Released on: May 7, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

added logic to automatically save your plugin preferences when the validation routine discovers a missing state, or device. This will reduce the number of warnings given.

Release details
Released on: May 4, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Upgrade to Grafana 5.1. Upgrade Discrete panel to v0.0.8. PhantomJS now works.

Release details
Released on: April 20, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release
  • Fixed some issues with the servers starting up properly when the Indigo server is initially started
  • Fixed some issues with connecting to an external Influx server when the Indigo server is initially started
  • Simplified the initial dashboard setup
  • Added phantomJS to the Grafana server, but awaiting a fix from Grafana to make this feature complete
  • Improvements to documentation and configuration dialogs
  • Improvements to logging and debugging
  • Improvements to upgrading from a previous instance of the plugin
Release details
Released on: April 14, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Improvements to first time setup, in particular the data directories.

Release details
Released on: April 7, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Improvements to the initial setup process, and upgrade process SSL for remote InfluxDB servers

Release details
Released on: April 6, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Adds plugin update function Adds menu items to rebuild the servers manually RC2

Release details
Released on: April 6, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Fixes missing files from previous release for Grafana server