Hi everyone,
I am trying to send CONTEXT_KEY over UDP. This is my message example ($OA_medium=WATER 100%)
b’ESP32-GPY/1.0|POST|token|UniBox_807d3a949928=>OA_oil_level:0,OA_warn_80pct:0,OA_warn_90pct:0,OA_warn_100pct:0,OA_err_sensor:0,OA_err_disconnected:0,$OA_medium=WATER 100%|end’
In Ubidots, I can see context data in wrong form
Thank you in advance for your assistance.
Regards, Vojtech
Hi @isalogi,
Thank you for your reply. I have corrected my UDP message. b'ESP32-GPY/1.0|POST|token|UniBox_840d8e121f1c=>OA_oil_level: 0,OA_warn_80pct: 0,OA_warn_90pct: 0,OA_warn_100pct: 0,OA_err_sensor: 0,OA_err_disconnected: 0$OA_medium= "WATER 100%"|end'
Thank you for the confirmation. Nonetheless, I noticed some extra symbols in the context, there is no need to include the double-quotes. Ubidots will take by default the context as shown in the following image.
Now, to display the context in the Dashboard you can use the variable table, values table, or the metric widget. Below you can find the guide to how to create them and add the context of a variable.
Please let me know if I can be of additional help.