2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

22_HOMEMODE: v1.5.10 - change url for IP check

git-svn-id: https://svn.fhem.de/fhem/trunk@28058 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
deespe 2023-10-16 19:10:30 +00:00
parent b2e8fb8d42
commit 8548b52da6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# 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.
- change: 22_HOMEMODE: change url for IP check
- bugfix: 14_Hideki.pm: fixed partial carp error
- feature: 70_ESCVP21net: add reading stateP for on/off
- feature: 74_AutomowerConnect: Commandref update, add Setter for work zone

View File

@ -15,7 +15,7 @@ use Time::HiRes qw(gettimeofday);
use HttpUtils;
use vars qw{%attr %defs %modules $FW_CSRF};
my $HOMEMODE_version = '1.5.9';
my $HOMEMODE_version = '1.5.10';
my $HOMEMODE_Daytimes = '05:00|morning 10:00|day 14:00|afternoon 18:00|evening 23:00|night';
my $HOMEMODE_Seasons = '03.01|spring 06.01|summer 09.01|autumn 12.01|winter';
my $HOMEMODE_UserModes = 'gotosleep,awoken,asleep';
@ -3446,9 +3446,8 @@ sub HOMEMODE_checkIP($)
my ($hash) = @_;
return if ($hash->{helper}{RUNNING_IPCHECK});
$hash->{helper}{RUNNING_IPCHECK} = 1;
my $name = $hash->{NAME};
my $param = {
url => 'http://icanhazip.com/',
url => 'https://icanhazip.com/',
timeout => 5,
hash => $hash,
callback => \&HOMEMODE_setIP