2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

Move xml file under subdir lib, otherwise it won't be deployed during update

Add ID keyword substitution

git-svn-id: https://svn.fhem.de/fhem/trunk@6177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rr2000 2014-06-29 11:09:17 +00:00
parent 50e3f1bace
commit 6ea4f8c4f5
6 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,7 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 37_SHC.pm: Move xml file under subdir lib, otherwise it won't be
deployed during update
- bugfix: 70_PIONEERAVR.pm: player commands are now available for more inputs
"play" was not in the drop down list of available set commands
check every 120s if the data connection to the Pioneer AV receiver is still up

View File

@ -19,7 +19,7 @@
# You should have received a copy of the GNU General Public License along
# with smarthomatic. If not, see <http://www.gnu.org/licenses/>.
###########################################################################
# $Id: 37_SHC.pm xxxx 2014-xx-xx xx:xx:xx rr2000 $
# $Id$
package main;

View File

@ -19,7 +19,7 @@
# You should have received a copy of the GNU General Public License along
# with smarthomatic. If not, see <http://www.gnu.org/licenses/>.
###########################################################################
# $Id: 37_SHCdev.pm xxxx 2014-xx-xx xx:xx:xx rr2000 $
# $Id$
package main;

View File

@ -21,7 +21,7 @@
# You should have received a copy of the GNU General Public License along
# with smarthomatic. If not, see <http://www.gnu.org/licenses/>.
##########################################################################
# $Id: 37_SHC_Dev.pm xxxx 2014-xx-xx xx:xx:xx rr2000 $
# $Id$
package SHC_util;

View File

@ -46,7 +46,7 @@
# 3.) Get send string: $str = $parser->getSendString($receiverID);
# 4.) Send string to base station (over UART).
##########################################################################
# $Id: 37_SHC_Dev.pm xxxx 2014-xx-xx xx:xx:xx rr2000 $
# $Id$
package SHC_parser;
@ -97,7 +97,7 @@ sub new
sub init_datafield_positions()
{
my $x = XML::LibXML->new() or die "new on XML::LibXML failed";
my $d = $x->parse_file("FHEM/SHC_packet_layout.xml") or die "parsing XML file failed";
my $d = $x->parse_file("FHEM/lib/SHC_packet_layout.xml") or die "parsing XML file failed";
for my $element ($d->findnodes("/Packet/Header/EnumValue[ID='MessageType']/Element")) {
my $value = ($element->findnodes("Value"))[0]->textContent;