Skip to content

Commit

Permalink
Insteon: Max/Min Hops Setting Not Saved on Reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
krkeegan committed Jul 23, 2013
1 parent 09c5456 commit 4835bd9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Insteon/BaseInsteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ sub new
$self->restore_data('default_hop_count', 'engine_version');

$self->initialize();
$$self{max_hops} = 3;
$$self{min_hops} = 0;
$$self{level} = undef;
$$self{flag} = "0F";
$$self{ackMode} = "1";
Expand Down Expand Up @@ -200,6 +202,9 @@ sub group
Sets the maximum number of hops that may be used in a message sent to the device.
The default and maximum number is 3. $int is an integer between 0-3.
This value is NOT saved on reboot, as such likely should be called in a $Reload loop.
=cut

sub max_hops {
Expand All @@ -212,6 +217,9 @@ sub max_hops {
Sets the minimum number of hops that may be used in a message sent to the device.
The default and minimum number is 0. $int is an integer between 0-3.
This value is NOT saved on reboot, as such likely should be called in a $Reload loop.
=cut

sub min_hops {
Expand Down

0 comments on commit 4835bd9

Please sign in to comment.