I don't know if your Espruino has Serial2 but have you tried Serial1 like you did in your previous example?
@parasquid 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.
I don't know if your Espruino has Serial2 but have you tried Serial1 like you did in your previous example?