mqtt.subscribe("test/espruino");?
mqtt.subscribe("test/espruino");
Also, I've tended to put a leading slash on all the topics I use (eg mqtt.subscribe("/test/espruino");) which might help.
mqtt.subscribe("/test/espruino");
If you want anything beginning with test then you need wildcards: mqtt.subscribe("test/#");
test
mqtt.subscribe("test/#");
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
mqtt.subscribe("test/espruino");
?Also, I've tended to put a leading slash on all the topics I use (eg
mqtt.subscribe("/test/espruino");
) which might help.If you want anything beginning with
test
then you need wildcards:mqtt.subscribe("test/#");