It's likely only to work if there is current flowing through the wire (= a magnetic field) - if it's just electricity it could be more difficult.
@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.
It's likely only to work if there is current flowing through the wire (= a magnetic field) - if it's just electricity it could be more difficult.