summaryrefslogtreecommitdiff
path: root/driver-async.pl
diff options
context:
space:
mode:
Diffstat (limited to 'driver-async.pl')
-rw-r--r--driver-async.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/driver-async.pl b/driver-async.pl
new file mode 100644
index 0000000..19b6c21
--- /dev/null
+++ b/driver-async.pl
@@ -0,0 +1,18 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.014;
+use HomePanel::Driver;
+use Path::Tiny;
+
+my $template =
+my $key=$ARGV[0];
+
+my $hp = HomePanel::Driver->new({
+ template_file => path(__FILE__)->parent->child('forecast.html.tt'),
+ output_file => path(__FILE__)->parent->child('panel.html'),
+ forecast_key => $ARGV[0],
+});
+
+$hp->start;
+$hp->loop->run;