2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-27 20:34:52 +00:00

95_YAAHM.pm: Neue Version 1.3 mit neuen Features

git-svn-id: https://svn.fhem.de/fhem/trunk@15543 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
phenning 2017-12-02 18:52:31 +00:00
parent eb2e24b57b
commit dcc1be799d
2 changed files with 7 additions and 6 deletions

View File

@ -50,7 +50,7 @@ my $yaahmname;
my $yaahmlinkname = "Profile"; # link text
my $yaahmhiddenroom = "ProfileRoom"; # hidden room
my $yaahmpublicroom = "Unsorted"; # public room
my $yaahmversion = "1.21";
my $yaahmversion = "1.30";
my $firstcall = 1;
my %yaahm_transtable_EN = (
@ -1838,8 +1838,7 @@ sub YAAHM_sayWeeklyTime($$$) {
if( ($ton =~ /(\d?\d):(\d\d)(:(\d\d))?/) && ($tom ne $ton) ){
$hw = $1*1;
$mw = $2*1;
$pt = sprintf("%d:%02d",$hw,$mw)." ".lc($yaahm_tt->{"today"});
$pt = sprintf("%d:%02d",$hw,$mw)." ".lc($yaahm_tt->{"tomorrow"});
$msg .= " ".lc($yaahm_tt->{"tomorrow"})." ".$yaahm_tt->{"exceptly"}." $hw ".$yaahm_tt->{"clock"};
$msg .=" $mw"
if( $mw != 0 );
@ -2873,7 +2872,9 @@ sub YAAHM_timewidget($){
my $name = $FW_webArgs{name};
$name =~ s/'//g;
my @size=split('x',($FW_webArgs{size} ? $FW_webArgs{size} : '400x400'));
my $sz = ($FW_webArgs{size} ? $FW_webArgs{size} : '400x400');
$sz =~ s/'//g;
my @size=split('x',$sz);
$FW_RETTYPE = "image/svg+xml";
$FW_RET="";

View File

@ -1,6 +1,6 @@
//########################################################################################
// yaahm.js
// Version 1.14
// Version 1.30
// See 95_YAAHM for licensing
//########################################################################################
//# Prof. Dr. Peter A. Henning