summaryrefslogtreecommitdiff
path: root/driver-async.pl
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-12-09 13:10:17 +0000
committerdakkar <dakkar@thenautilus.net>2023-12-09 13:10:17 +0000
commit8bd30555a18dcab02dc95ea8b3701cdc7adbabb6 (patch)
tree4a2351d6111c8231fb04db72391ea2da5d60dbf3 /driver-async.pl
parentwe can use the new weather api (diff)
downloadHomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.gz
HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.bz2
HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.zip
new bus api
Diffstat (limited to 'driver-async.pl')
-rwxr-xr-xdriver-async.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver-async.pl b/driver-async.pl
index 0d8e86a..c074201 100755
--- a/driver-async.pl
+++ b/driver-async.pl
@@ -2,6 +2,7 @@
use strict;
use warnings;
use 5.014;
+use lib 'local/lib/perl5';
use lib 'lib';
use HomePanel::Driver;
use Path::Tiny;
@@ -18,6 +19,7 @@ my $hp = HomePanel::Driver->new({
template_file => ($config{template} || path(__FILE__)->parent->child('forecast.html.tt')),
output_file => ($config{output_file} || path(__FILE__)->parent->child('forecast.html')),
forecast_key => $config{forecast_key},
+ bus_stop_id => $config{bus_stop_id},
});
$hp->start;