diff --git a/fhem/FHEM/lib/fhem_zwave_deviceconfig.xml.gz b/fhem/FHEM/lib/fhem_zwave_deviceconfig.xml.gz index 0bb489a69..3c231ea94 100644 Binary files a/fhem/FHEM/lib/fhem_zwave_deviceconfig.xml.gz and b/fhem/FHEM/lib/fhem_zwave_deviceconfig.xml.gz differ diff --git a/fhem/FHEM/lib/openzwave_manufacturer_specific.xml b/fhem/FHEM/lib/openzwave_manufacturer_specific.xml index 34d2ef955..516d3a3b1 100644 --- a/fhem/FHEM/lib/openzwave_manufacturer_specific.xml +++ b/fhem/FHEM/lib/openzwave_manufacturer_specific.xml @@ -1558,6 +1558,7 @@ + diff --git a/fhem/contrib/zwave_alliance2open.pl b/fhem/contrib/zwave_alliance2open.pl new file mode 100644 index 000000000..9378148c7 --- /dev/null +++ b/fhem/contrib/zwave_alliance2open.pl @@ -0,0 +1,37 @@ +#!/usr/bin/perl + +# convert ZWAVE-Alliance XML description file into openzwacve format, which can +# be digested by the FHEM ZWave module. Note: only the config parameters are converted. + +if($#ARGV != -1) { + print STDERR "Usage: perl zwave_alliance2open.pl < zwavealliance.xml > openzwave.xml\n"; + exit(1); +} + +my ($inTag, $name,$desc,$pnum,$size,$dflt,$min,$max); +print "\n"; +print " \n"; + +while(my $l = <>) { + $inTag = 1 if($l =~ //); + $inTag = 0 if($l =~ //); + if($inTag) { + $name = $1 if($l =~ m/(.*)<\/Name>/); + $desc = $1 if($l =~ m/(.*)<\/Description>/); + $pnum = $1 if($l =~ m/(.*)<\/ParameterNumber>/); + $size = $1 if($l =~ m/(.*)<\/Size>/); + $dflt = $1 if($l =~ m/(.*)<\/DefaultValue>/); + $min = $1 if($l =~ m/(.*)<\/minValue>/); + $max = $1 if($l =~ m/(.*)<\/maxValue>/); + } + + if($l =~ /<\/ConfigurationParameterExport>/) { + print " \n"; + print " $desc\n"; + print " \n"; + $inTag = 0; + } +} + +print " \n"; +print "\n"; diff --git a/fhem/contrib/zwavealliance.images.parse b/fhem/contrib/zwavealliance.images.parse index 0e8af7515..062f623b5 100644 --- a/fhem/contrib/zwavealliance.images.parse +++ b/fhem/contrib/zwavealliance.images.parse @@ -44,7 +44,7 @@ for my $fn (sort { $a <=> $b } @files) { } close(FH); if($pic ne $ppi) { - printf "Problem: $pic vs. $ppi\n"; + printf "$path: CertificationNumern:$pic ne ProductPicture:$ppi\n"; # just to see new problems with pictures } if($em eq 'empty') {