IND400 with API

In this tutorial, we continue exploring the Mettler Toledo IND400 Smart Weighing Indicator, focusing on how to utilize the REST API and WebSocket interfaces to access real-time weighing data.

📺 Video Tutorial

Smart Weighing with MQTT- IND400 in ACTION

The Mettler Toledo IND400 is a smart weighing indicator designed for industrial applications. It supports modern protocols such as MQTT, OPC UA, and Ethernet/IP, making it IIoT-ready for digital factories.

🔑 What you’ll learn

  • How to log in and authenticate with the IND400 using the REST API

  • Sending GET/POST requests to read and write data

  • Understanding the difference between REST (request/response) and WebSocket (real-time streaming) communication

  • Setting up a WebSocket connection to continuously receive live weighing data

  • Demo: Visualizing the data in Node-RED

⚙️ Example REST API Request

POST http://192.168.0.58/v1.0.0/login
Content-Type: application/json

{
  "username": "002",
  "password": "yourpassword"
}

Response (with access token):

{
  "accessToken": "eyJhbGciOiJIUzI1NiIs...",
  "expiresIn": 3600
}

🌐 WebSocket Example

Global variables defined in POSTMAN:

Connection URL:

ws://192.168.0.58/v1.0.0/measurements/00000000-0401-0500-0000-00C516882663?stable=true&threshold=5&unit=kg&Authorization=Bearer YOURTOKEN

Once connected, the IND400 continuously streams real-time weight values.


📊 Applications

  • Real-time monitoring of weighing processes

  • Continuous data logging into databases or historians

  • Feeding streaming data into dashboards, MES, or cloud platforms

  • Seamless integration with IIoT and Industry 4.0 architectures

Key notes:

Node-RED Example Code

The Node-RED flow used in the video can be found in the GitHub repository mentioned below:

♥️ Work With Me

I regularly test industrial automation and IIoT devices. If you’d like me to review your product or showcase it in my courses and YouTube channel:

📧 Email: [email protected] or drop me a message on LinkedIn

Last updated

Was this helpful?