diff --git a/hardware/sensorTag/79-sensorTag.html b/hardware/sensorTag/79-sensorTag.html
index 1ce0260f..19d21eb8 100644
--- a/hardware/sensorTag/79-sensorTag.html
+++ b/hardware/sensorTag/79-sensorTag.html
@@ -106,6 +106,16 @@
},
labelStyle: function() { // sets the class to apply to the label
return this.name?"node_label_italic":"";
+ },
+ oneditsave: function() {
+ var mac = $("#node-input-uuid").val();
+ //nasty hack as I can't get global replace to work
+ mac = mac.replace(/:/gi,'');
+ mac = mac.replace(/:/gi,'');
+ mac = mac.replace(/:/gi,'');
+ mac = mac.replace(/:/gi,'');
+ mac = mac.toLowerCase();
+ $("#node-input-uuid").val(mac);
}
});
diff --git a/hardware/sensorTag/README b/hardware/sensorTag/README
index b524fc69..2d6657ab 100644
--- a/hardware/sensorTag/README
+++ b/hardware/sensorTag/README
@@ -1,5 +1,5 @@
-This currently requires a slightly modified sensortag library
+This currently requires the sensortag library
To install use the following command in the Node-Red directory
-npm install sensortag@https://api.github.com/repos/hardillb/node-sensortag/tarball
+npm install sensortag