From 428186eb8624d506d6c3cb46cc086155aee6ef75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=20Schr=C3=B6ter?= Date: Sun, 13 Sep 2015 10:24:28 +0200 Subject: [PATCH] fixed debug messages --- platforms/FHEM.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/FHEM.js b/platforms/FHEM.js index fba5d01..d9f2815 100644 --- a/platforms/FHEM.js +++ b/platforms/FHEM.js @@ -604,7 +604,7 @@ FHEMAccessory(log, connection, s) { if( this.mappings.onOff ) - log( s.Internals.NAME + ' has onOff [' + this.mappings.onOff + ']' ); + log( s.Internals.NAME + ' has onOff [' + this.mappings.onOff.reading + ':' + this.mappings.onOff.cmdOn +',' + this.mappings.onOff.cmdOff + ']' ); if( this.mappings.hue ) log( s.Internals.NAME + ' has hue [0-' + this.mappings.hue.max +']' ); if( this.mappings.sat ) @@ -618,7 +618,7 @@ FHEMAccessory(log, connection, s) { if( this.mappings.direction ) log( s.Internals.NAME + ' has direction' ); -log(s); +//log( util.inspect(s) ); // device info this.name = s.Internals.NAME;