2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 02:59:22 +00:00

OWX: fix get owx alarms with ds2480 busmaster

git-svn-id: https://svn.fhem.de/fhem/trunk@4348 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2013-12-08 22:06:00 +00:00
parent a6aa26567c
commit f6c460e108

View File

@ -162,8 +162,8 @@ sub OWX_Define ($$) {
#-- Dummy 1-Wire ROM identifier, empty device lists #-- Dummy 1-Wire ROM identifier, empty device lists
$hash->{ROM_ID} = "FF"; $hash->{ROM_ID} = "FF";
$hash->{DEVS} = (); $hash->{DEVS} = [];
$hash->{ALARMDEVS} = (); $hash->{ALARMDEVS} = [];
#-- First step: check if we have a directly connected serial interface or a CUNO/COC attached #-- First step: check if we have a directly connected serial interface or a CUNO/COC attached
if ( $dev =~ m|$owgdevregexp|i){ if ( $dev =~ m|$owgdevregexp|i){
@ -267,7 +267,7 @@ sub OWX_Alarms ($) {
my @owx_alarm_names=(); my @owx_alarm_names=();
$hash->{ALARMDEVS}=(); $hash->{ALARMDEVS}=[];
if ($hash->{INTERFACE} eq "firmata") { if ($hash->{INTERFACE} eq "firmata") {
FRM_OWX_Alarms($hash); FRM_OWX_Alarms($hash);