Yes it can, see this example:
But, that doesn’t answer your question.
If I understand your problem correctly (and I’ve tried your code and what I think you used as the Node-Red flow and re-created the issue) then you need to use the Bridge node.
Here’s the Bridge Node setup, with the same auth code as you used in your connection:
Serial Monitor output:
TEST:512
CO2 Data:336
TEST:336
CO2 Data:580
TEST:580
The display widget in the app attached to V6 also gets updated.
BTW, when you post code it needs to be surrounded by triple backticks so that it displays correctly, and the quotation marks don’t get corrupted when you copy/paste it into the Arduino IDE.
I fixed it6 for you this time, but in future please add the triple backticks yourself at the beginning and end of the code.
Triple backticks look like this:
```
Pete.