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.

10.1.1 Prerequisites​

HTTPS Requirement​

The Excel Add-In connects to IDMP over HTTPS only. The default port is 6034.

IDMP terminates TLS at the frontend nginx. Clients reach nginx over HTTPS, and nginx reverse-proxies to the backend over HTTP. The installation package and Docker images already expose this HTTPS endpoint. The backend does not enable TLS. On a native install, application.yml keeps ssl-port: -1 and ssl.enabled: false.

After installation, confirm that clients can open https://<server-address>:6034.

Built-in test certificate. The package and images include a test certificate valid for 3 months and bound to idmp.tdengine.net. This certificate is intended solely for demonstration and testing. Under no circumstances shall it be deployed in production environments; otherwise, severe security vulnerabilities may arise. For how to replace the HTTPS certificate in production, see Chapter 14, section 14.3.3 Configuration File Reference: TLS/HTTPS Certificate Configuration.

For a self-signed certificate with a longer validity period, see Certificate Configuration.

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 2021 or later (Windows or macOS)
PermissionsAdministrator rights required on Windows
NetworkNetwork access is required to download the installation script and connect to the IDMP service
Node.jsNode.js 22.3 or later required on Windows if logging is enabled

10.1.2 Online 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.

10.1.3 Offline Installation​

If the client machine cannot access the public internet, download the installation files on a machine with network access, then copy them to the target machine for installation.

Download Installation Files​

FileDownload URL
install.shinstall.sh
manifest.xmlmanifest.xml

On a machine with internet access, download the files (they can be saved to different directories). Create the directories first if they do not exist:

mkdir -p ~/Downloads ~/manifest
curl -fsSL https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/install.sh -o ~/Downloads/install.sh
curl -fsSL https://taosinstallers.blob.core.windows.net/tdengine-excel-add-in/manifest.xml -o ~/manifest/manifest.xml
chmod +x ~/Downloads/install.sh

Copy the downloaded files to the target macOS machine, then run:

~/Downloads/install.sh install --force-close --url https://idmp.tdengine.net:6034 --manifest-dir ~/manifest --enable-logging

Replace https://idmp.tdengine.net:6034, ~/Downloads/install.sh, and ~/manifest with your actual IDMP HTTPS address, install script path, and the directory containing manifest.xml.

Parameters:

ParameterDescription
--manifest-dirLocal directory containing manifest.xml; when set, the manifest is not downloaded from the network
--force-closeForce-closes Excel during installation. Save your work before running.
--urlThe IDMP HTTPS service address
--enable-loggingEnables installation and runtime logging
warning

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

info

During offline installation, the target machine must still be able to reach the IDMP HTTPS service. Offline installation only avoids downloading the install script and manifest from the public internet.

10.1.4 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

10.1.5 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.