Ubidots Community

Help with Boolean Variable

Hi everyone, I am testing the functionality of this dashboard to receive data from an azure service bus via http post. Everything works fine except for boolean variables (true or false) :

“var1”: 115540,
“var2”: true

the first var1 is correctly received on the device of my dashboard while the second is not. No error on http post. Some advice? thank you

Hello, @alcos

Thanks for reaching out,

Boolean values are not supported but you can store a boolean value as part of a context, as indicated in our documentation here. For example, a payload like this is accepted:

{   "var1":115540,
    "var2": {
        "value": 1,

I hope you find this information useful.



Thank you @santiago

I’ll try to make my device send some boolean numeric values