Contents x
- User Manuals
- Platform
- Data Acquisition
- ABB VIP Client
- Aurora Client
- BACnet Client
- CAISO ADS Client
- Custom Client
- Data Importer
- DLMS Client
- DNP Client
- Domino Client
- Farell Client
- IEC 102 Client
- IEC 104 Client
- Mettler Toledo Client
- Modbus Client
- MQTT Client
- OPC DA Client
- OPC UA Client
- OPC XML Client
- REST API Client
- Siemens Client
- SMA Client
- SolarMax Client
- SNMP Client
- SQL Client
- Data Delivery
- Edge and Visualization
- Tutorials and How-Tos
- Resource Guides
- Fleet Manager
- SparkPipe
- License Manager
Article summary
Did you find this summary helpful?
Thank you for your feedback
How to create a Custom Payload
Note:
This feature is new in N3uron version 1.21.3
- Step 1: Create the module: (Config => Modules =>Model=> New module)
- Step 2: Provide a name for the module (in this case MQTTClient), assign the module type to MqttClient and save the new configuration.
- Step 3: Configure the Logger and API sections (usually the default values are sufficient). Save the configuration.
- Step 4: Create the connection to the MQTT Server. Each connection is an independent MQTT client.
- Step 5: Configure the MQTT Client. In this case, select version MQTT 5.
- Step 6: Once configured, let's create a new Publisher. To do this, click on Agents and select New Publisher MQTT 5.
- Step 7: Now, select Custom in Serialization, to allow the creation of a Custom Payload.
- Step 8: As we can see, when Custom is selected, the possibility to create the corresponding script is available. To do so, click on the button to the left of the Script field.
- Step 9: The following figure shows an example of a script that can be used to parse events to the custom payload.
Was this article helpful?
Thank you for your feedback! Our team will get back to you
How can we improve this article?
Your feedback
Comment
Comment (Optional)
Character limit : 500
Please enter your comment
Email (Optional)
Email
Please enter a valid email