A plugin that allows you to connect to an InfluxDB database. It makes it easy to send the desired data by simply selecting the corresponding commands from a list, which allows you to export the history so it can then be viewed using Grafana, for example.
The plugin also allows you to export Jeedom commands history to InfluxDB.
Attention
The plugin supports InfluxDB versions >= 1.8 or >= 2.0. Older versions of InfluxDBv1 < 1.8 are not supported.
| Component | Version |
|---|---|
| Debian | Bullseye(11) & Bookworm(12) |
| Jeedom | >= 4.4 |
| InfluxDB | v1.8+ & v2 |
To use the plugin, you must download, install, and activate it just like any other Jeedom plugin.
There is no specific configuration required; the plugin may use cronDaily to reset the counters.
A Jeedom device corresponds to an InfluxDB connector.
Each connector will connect to and send data to one and only one InfluxDB instance, but you can have as many connectors as you need. The plugin supports InfluxDB v1.8+ and v2; the basic principle remains the same for both versions, but the connection method differs.
For each connector, you must configure the IP address of your InfluxDB server, a username, a password, and the database name. You have the option to enable or disable HTTPS.

For v2, you must configure the URL in the format https://server.my, along with the access token, the organization, and the destination bucket (see the InfluxDB documentation).

Tip InfluxDB offers a free cloud plan for v2 that’s very easy to set up for testing—or even for long-term use if it suits your needs (limited to a single organization, in terms of data volume and history duration). For more information: https://www.influxdata.com/influxdb-cloud-pricing/
You can also choose the delivery mode, which is set to auto-refresh by default. This mode can be changed at any time without any impact.

It is entirely possible to have multiple devices connected to the same database, each configured with a different mode and different commands, if you want certain commands to be sent in real time while optimizing the load for the others.
In Auto-update mode, you can choose the schedule as well as the value to be sent as the measurement’s timestamp:
The second tab displays all the commands selected for sending to InfluxDB. You can filter the displayed rows using the “Search” field.

There are three ways to search for and select commands to send:
Search example:

To export the history, go to the Measurements tab, where you have configured the commands to be sent to your Jeedom devices.
You can:
In both cases, the next step will ask you for the start date and end date you want for the export, and then the task will be scheduled. This may take a little time depending on the amount of data to be exported, but it will be seamless because the task will run in the background.
The commands for the InfluxDB equipment/connector are displayed on the third tab:
A point in InfluxDB represents a data entry characterized by four components: the metric, a set of fields, a set of tags, and timestamp information.
Below is the link created by the plugin between InfluxDB concepts and Jeedom concepts:
| Jeedom | InfluxDB | Description |
|---|---|---|
| Command Name | Measurement | A measurement in InfluxDB is similar to an SQL table. |
| Command value date | Timestamp | This is the data’s timestamp. |
| Equipment Name | Field(key) | A field key is similar to a column name in an SQL table. |
| Command value | Field(value) | This is the data for the point. |
Tags in InfluxDB are optional pieces of additional information that can be associated with data points. They allow you to filter search results. The following tags can be associated with each data point sent; they must be selected on the device’s configuration page. This list can be expanded if you need more:
| Tag(key) | Tag(value) |
|---|---|
| Plugin | plugin name |
| Object | Name of the Jeedom object/room or “None” |
| CommandName | command name |
| GenericType | generic command type |
If you’re having a problem, start by reading the latest threads related to the plugin on community.
If you still can’t find an answer to your question, feel free to create a new thread—and don’t forget to include the plugin tag (plugin-influxdb).
At a minimum, you must provide:
Preformatted Text (use the </> button on the community), no files!