Is this a JSON string?

"a parsed JSON object"

Yes, ok. But when I took that entire message to:
This site

It is valid.

So.....

Yes. Of course the whole message is valid JSON (the msg is a js object and thus stringifyable) but MQTT transmits payload and topic only. It is the payload that it tries to parse. Go on the validator site and try validating rgb,6,120,0,90.

Remember - that's why you use them "cheat" functions to shift values into and out of payload property.

1 Like

Well, I just tried it again - after running in circles for .... 10 minutes. - it works.

I really don't get what is going on or why it is happening.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.