thing-it-device-enocean-ip
Advanced tools
Comparing version 0.0.3 to 0.0.5
@@ -88,3 +88,3 @@ module.exports = { | ||
for (var n in telegram.functions) { | ||
if (telegram.functions[n].key === 'buttonAI' && telegram.functions[n].value === 'released') { | ||
if (telegram.functions[n].key === 'motionDetected' && telegram.functions[n].value === 'true') { | ||
this.publishEvent('tic', {}); | ||
@@ -91,0 +91,0 @@ |
@@ -8,2 +8,3 @@ module.exports = { | ||
discoverable: true, | ||
tangible: false, | ||
additionalSoftware: [], | ||
@@ -158,2 +159,3 @@ actorTypes: [], | ||
// TODO Get from config | ||
this.client.setBasicAuth('admin', 'admin'); | ||
@@ -160,0 +162,0 @@ // this.client.get('devices', function (err, res) { |
{ | ||
"name": "thing-it-device-enocean-ip", | ||
"version": "0.0.3", | ||
"version": "0.0.5", | ||
"description": "[thing-it-node] Device Plugin for EnOcean IP products.", | ||
@@ -5,0 +5,0 @@ "authors": "Marc Gille", |
904
53169
16