Skip to main content

10.1 Installing the Excel Add-In

The TDengine IDMP Excel Add-In allows you to retrieve time-series data and element attributes directly inside Microsoft Excel, without writing any code or SQL.

Prerequisites

HTTPS Requirement

The Excel Add-In connects to IDMP over HTTPS only. Before installing, ensure that the IDMP HTTPS service is enabled and accessible (default port: 6034).

To enable HTTPS, add the following to the IDMP configuration file (application.yml):

quarkus:
http:
port: 6042
ssl-port: 6034
insecure-requests: enabled
ssl:
enabled: true
certificate:
files: /usr/local/taos/idmp/config/certbundle.pem
key-files: /usr/local/taos/idmp/config/privkey.pem

Built-in test certificate. IDMP ships with a test certificate valid for 3 months, bound to the domain idmp.tdengine.net. This certificate is suitable for evaluation and testing. It is not recommended for production use.

If you are using the built-in test certificate, add the following entry to the hosts file on the client machine (replace the IP with your actual server address):

192.168.1.100  idmp.tdengine.net

Hosts file locations:

  • Linux / macOS: /etc/hosts
  • Windows: C:\Windows\System32\drivers\etc\hosts

System Requirements

RequirementDetails
Excel versionExcel 2016 or later (Windows or macOS)
PermissionsAdministrator rights required on Windows
Node.jsNode.js 22.3 or later required on Windows if logging is enabled

Installation

Open a terminal and run:

curl -LsSf https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/install.sh | sh -s install --force-close --url https://idmp.tdengine.net:6034 --enable-logging

Replace https://idmp.tdengine.net:6034 with your actual IDMP HTTPS address.

Parameters:

ParameterDescription
--force-closeForce-closes Excel during installation. Save your work before running.
--urlThe IDMP HTTPS service address
--enable-loggingEnables installation and runtime logging

Log file location: ~/Library/Containers/com.microsoft.Excel/Data/tdengine_eai.log

warning

Excel will be force-closed during installation. Save all open workbooks before running the command.

Enabling and Disabling Logging

To toggle logging independently of installation:

# Enable logging
curl -LsSf https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/install.sh | sh -s enable-logging-only --force-close

# Disable logging
curl -LsSf https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/install.sh | sh -s disable-logging-only --force-close

Uninstallation

curl -LsSf https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/install.sh | sh -s uninstall --force-close
info

Uninstallation also force-closes Excel. Save all open workbooks before running the uninstall command.