diff options
author | dakkar <dakkar@thenautilus.net> | 2023-12-09 14:07:20 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-12-09 14:07:20 +0000 |
commit | 1a37c7e52d5433e8182d444d12a55fdd9b8a2770 (patch) | |
tree | 2f0ed93dd07e6c078a5fb03cb9539ec93772fe23 /driver-async.pl | |
parent | bump perl (diff) | |
parent | sort buses (diff) | |
download | HomePanel-1a37c7e52d5433e8182d444d12a55fdd9b8a2770.tar.gz HomePanel-1a37c7e52d5433e8182d444d12a55fdd9b8a2770.tar.bz2 HomePanel-1a37c7e52d5433e8182d444d12a55fdd9b8a2770.zip |
Merge branch 'new-api'
Diffstat (limited to 'driver-async.pl')
-rwxr-xr-x | driver-async.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver-async.pl b/driver-async.pl index 0d8e86a..701a8cd 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,9 @@ 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}, + forecast_latitude => $config{forecast_latitude}, + forecast_longitude => $config{forecast_longitude}, + bus_stop_id => $config{bus_stop_id}, }); $hp->start; |