Can you post up the contents of settings->console?
Good find about the environment vars, but if you're not getting errors in the console about not finding the correct device then I'm pretty sure that bit is working. If you're getting the Bluetooth device names reported then presumably it's able to access the Bluetooth radio just fine.
You could try disabling Bluetooth from Windows, in case somehow that's confusing things... It could be that Windows (or some other device) is still trying to connect with the original Bluetooth adaptor.
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.
Can you post up the contents of settings->console?
Good find about the environment vars, but if you're not getting errors in the console about not finding the correct device then I'm pretty sure that bit is working. If you're getting the Bluetooth device names reported then presumably it's able to access the Bluetooth radio just fine.
You could try disabling Bluetooth from Windows, in case somehow that's confusing things... It could be that Windows (or some other device) is still trying to connect with the original Bluetooth adaptor.