26 lines
440 B
JavaScript
26 lines
440 B
JavaScript
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
client.on("error", function (err) {
|
||
|
console.log("Redis Error " + err);
|
||
|
});
|
||
|
|
||
|
client.on("connect", function () {
|
||
|
client.set("24:77:03:a9:f3:f4","lucas");
|
||
|
client.set("3c:97:0e:22:b7:68","lucas");
|
||
|
client.set("a0:0b:ba:c7:98:e5","lucas");
|
||
|
client.set("b8:27:eb:7d:6f:d2","rpi2");
|
||
|
client.set("b8:27:eb:7b:9b:9a","rpi3");
|
||
|
client.set("a8:88:08:10:a0:c5","pascal");
|
||
|
client.set("c8:97:9f:72:8f:67","fisch");
|
||
|
|
||
|
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|