2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

11_OWX_FRM.pm: Bugfix Pinnummer

git-svn-id: https://svn.fhem.de/fhem/trunk@15357 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
phenning 2017-10-30 16:23:53 +00:00
parent 3c140e34dc
commit b4d2f7b05b

View File

@ -90,7 +90,7 @@ sub Define($) {
$hash->{ASYNCHRONOUS} = 0;
#-- module version
$hash->{version} = "7.01";
$hash->{version} = "7.02";
main::Log3 $hash->{NAME},1,"OWX_FRM::Define warning: version ".$hash->{version}." not identical to OWX version ".$main::owx_version
if( $hash->{version} ne $main::owx_version);
@ -175,17 +175,16 @@ sub Alarms() {
sub Init() {
my ($self) = @_;
my $hash = $self->{hash};
my $dev = $hash->{DeviceName};
my $name = $hash->{NAME};
my $hash = $self->{hash};
my $dev = $hash->{DeviceName};
my $name = $hash->{NAME};
my $pin = $hash->{pin}
my $msg;
#FRM_OWX_Init($hash,$pin);
main::Log 1,"==================> STARTING INIT of 11_OWX_FRM";
my @args = (9);
$hash->{PIN} = 9;
my @args = ($pin);
$hash->{PIN} = $pin;
my $ret = main::FRM_Init_Pin_Client($hash,\@args,PIN_ONEWIRE);
if (defined $ret){
@ -196,7 +195,6 @@ sub Init() {
my $firmata = main::FRM_Client_FirmataDevice($hash);
my $pin = $hash->{PIN};
$hash->{FRM_OWX_CORRELATIONID} = 0;
$firmata->observe_onewire($pin,\&observer,$hash);