Hello guys
I'm trying to receive data from a mqtt broker in my app and I'm positive that the Arduino code works because i see my data in my app but not in a right place I also crashed my phone because I'm receiving too much data (its coming from 2 pressure sensors and they update fast)
Here in this error you are seeing one of the data that I'm sending but as I said it's not in it's label and it can't handle sending too much data
And this is my aia
HELPtest (1).aia (423.6 KB)
I made sure my extension is up to date
So it's probably a block related issue
Thanks in advance
Update: I made a change to this part
Incase there is anything else wrong with it please let me know
show the Message to a label, make sure it can be split in to a list length =4
Would you mind giving me an example, I'm new so I'm not sure what I should do, here is the full blocks
from your blocks, you are expecting receive message like 'aaa, bbb, ccc, ddd', am i right?
so remove All blocks from message received event, add: set label1. text to Message.
then to see if the text meet your expectations.
or you need to tell us how you publish your data.
Would you mind send a picture or screen shot of what you are suggesting, I have more than one topic should i set the same amount of set lable.text for them?
Here is the Arduino code for the project,
message-2.txt (6.3 KB)
Is set lable.text. message enough for 4 topics ? My data is only numbers it's x2 pressure sensors so it starts from 200 and max is 1023
from your Arduino code, you are publishing single data, with no comma .
Why you seperate the receiving Message with comma, and try to get item 2, 3,4, then join it with 0?
Try to set all your labels. text to Message.