Browse Source

Tfw forgot to change a hardc0dded mention of ledstrip lel

Wazakindjes 1 year ago
parent
commit
3da52044ee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      serbur/rem0t0.pl

+ 2 - 2
serbur/rem0t0.pl

@@ -223,7 +223,7 @@ sub runscheduler {
 			my $out = "day \#$wday -- week \#$weeknum -- on: $on -- off: $off -- hm: $hm";
 
 			if(($lightson == 0 || $lightson == -1) && $hm_sec >= $on_sec && ($on_sec > $off_sec || $hm_sec < $off_sec)) {
-				printem("LEDSTRIP SCHEDULER FIRED: ON");
+				printem("[$remotename] SCHEDULER FIRED: ON");
 				printem($out, 1);
 				foreach my $cmd(@cmd_on) {
 					irsendem({ remotename => $remotename, cmd => $cmd, forcecontinuous => 0, cancel => 0, tabs => 1 });
@@ -231,7 +231,7 @@ sub runscheduler {
 				$lightson = 1;
 			}
 			elsif(($lightson == 1 || $lightson == -1) && $hm_sec >= $off_sec && ($off_sec > $on_sec || $hm_sec < $on_sec)) {
-				printem("LEDSTRIP SCHEDULER FIRED: OFF");
+				printem("[$remotename] SCHEDULER FIRED: OFF");
 				printem($out, 1);
 				foreach my $cmd(@cmd_off) {
 					irsendem({ remotename => $remotename, cmd => $cmd, forcecontinuous => 0, cancel => 0, tabs => 1 });