This adapter enables the integration of IO-Link sensor data produced by an ifm IO-Link Master (e.g., AL1350) with Apache StreamPipes. To use this adapter, you need to configure your IO-Link master to publish events to an MQTT broker. This can be achieved through a REST interface or via the browser at http://##IP_OF_IO_LINK_MASTER##/web/subscribe
. For detailed instructions, please refer to the ifm documentation.
The JSON events should include the following information:
deviceinfo.serialnumber
port[0]
).timer[1].datachanged
can be used as a trigger. Using this adapter, you can create a stream for sensors of the same type.This version supports a single IO-Link master. If you want to connect multiple masters, they must have the same setup. If you have different requirements, please inform us through the mailing list or GitHub discussions.
Here is a list of the configuration parameters you must provide.
Enter the URL of the broker, including the protocol (e.g. tcp://10.20.10.3:1883
)
If necessary, provide broker credentials.
Select the ports that are connected to the IO-Link sensors.
Choose the type of sensor you want to connect. (IMPORTANT: Currently, only the VVB001 is supported)
The output includes all values from the selected sensor type. Here is an example for the VVB001 sensor
:
{ "aPeak": 6.6, "aRms": 1.8, "crest": 3.7, "out1": true, "out2": true, "port": "000000001234", "status": 0, "temperature": 22, "timestamp": 1685525380729, "vRms": 0.0023 }