Hi, I’m struggling to connect via MQTT a Teltonika router capturing data from a Modbus slave. As far as I’ve read, there is a requirement to parse the MQTT message using Ubifunctions, since MQTT message from Teltonika is not correctly structured. Anyway, I’ve configured the MQTT server pointing to Ubifuncitions like here (UbiFunctions: Publish data to your UbiFunction using MQTT | Ubidots Help Center), but the ubifunction does not trigger. I can confirm there is MQTT because I can send normal messages to the platform (but they are not parsed). Could youplease help me? thanks.
I hope this note finds you well,
To effectively troubleshoot your MQTT connection issues with Ubifunctions, please follow these steps:
Verify Ubifunction Type: Ensure that your Ubifunction is set to the POST type. This configuration is crucial for receiving MQTT data. Ubifunctions set to GET will not be activated by MQTT data.
ClientID Specifications: Create a ClientID consisting of alphanumeric characters. This ID should be at least 15 characters in length to meet the necessary specifications.
Credential Verification: Carefully check the username and password in your device’s MQTT authentication settings. These credentials must be accurately entered to establish a successful connection.
JSON Payload Requirement: Confirm that you are sending a JSON payload to the Ubifunction. The proper format of the payload is essential for the function’s activation and response.
If you continue to encounter issues after these steps, please provide us with your settings details. This will allow us to conduct a more thorough examination and assist you more effectively.
I will be attentive to your comments.
Hi Thanks! Solved without ubifunctions.