Commit graph

248 commits

Author SHA1 Message Date
Bradley M. Kuhn
a496a9c1cc Don't duplicate completely equivalent weather alerts. 2014-01-01 15:56:45 -05:00
Bradley M. Kuhn
c6c9f7095c Better formatting. 2014-01-01 15:53:55 -05:00
Bradley M. Kuhn
94c6f646f5 Don't call espeak directly. 2013-12-31 16:51:11 -05:00
Bradley M. Kuhn
b070e8719e Remove errant debugging print statement. 2013-12-31 16:51:02 -05:00
Bradley M. Kuhn
7229eac400 Handle different wind field. 2013-12-31 16:50:19 -05:00
Bradley M. Kuhn
b2a67fcc24 Hopefully last and final hack to fix the VPOS situation for images. 2013-12-31 16:50:11 -05:00
Bradley M. Kuhn
80583bd631 Popup/speak information about weather alerts, but don't do it repeatedly. 2013-12-31 16:49:37 -05:00
Bradley M. Kuhn
7afe9c2ecb Improve finding of proper update time. 2013-12-29 17:55:47 -05:00
Bradley M. Kuhn
45ec43d85d Add weather conditions to output. Fix windspeed. 2013-12-29 16:53:43 -05:00
Bradley M. Kuhn
7516706de1 Correct details about figuring out if we have forecast data from first source
or not.
2013-12-29 16:53:29 -05:00
Bradley M. Kuhn
e63a51ed16 Only modify this if it's defined. 2013-12-29 16:52:54 -05:00
Bradley M. Kuhn
27aa3c975f Corrected reversed variable. 2013-12-29 16:26:48 -05:00
Bradley M. Kuhn
f8d27ac1fd Print a header for conky-related output. 2013-12-29 16:22:45 -05:00
Bradley M. Kuhn
0822103e07 Remove blank line. 2013-12-29 16:22:12 -05:00
Bradley M. Kuhn
c8644ae826 Support for accuweather forecast in addition to USA National Weather Service.
By default, the script now "falls back" to accuweather forecast data if the
USA National Weather Service data appears not to be there (based on the
'updatetime' field.

The accuweather plugin uses a different nomenclature, and as such, the
LOCATION input can now have a '|' in it, and the | left hand side is for the
National Weather Service and the right hand side is for the accuweather
location.

Note finally that you can get *just* the Accuweather data by putting
'FORCE_ACCUWEATHER' as the left hand side of the | symbol.
2013-12-29 16:22:07 -05:00
Bradley M. Kuhn
6ce1883e20 Add windSpeed to the values we ignore when empty or N/A. Fix empty on others. 2013-12-29 16:03:09 -05:00
Bradley M. Kuhn
0161986fc5 Properly handle missing windgust and feelsLike values. 2013-12-29 16:01:01 -05:00
Bradley M. Kuhn
63196d6d10 Script to run calendar and handle git details. 2013-11-30 14:59:08 -05:00
Bradley M. Kuhn
8cb5021d40 Do not duplicate lines in the proposed diary. 2013-11-30 14:58:51 -05:00
Bradley M. Kuhn
0d08eb65f4 Add filename to the emacs proposed file. 2013-11-30 14:49:37 -05:00
Bradley M. Kuhn
f1f3d31199 Fix bad paste from -import script. 2013-11-30 14:45:43 -05:00
Bradley M. Kuhn
b590029675 Print lines to standard output. 2013-11-30 14:45:22 -05:00
Bradley M. Kuhn
8aa1ba669e use -q option on git; import User info. 2013-11-30 14:37:56 -05:00
Bradley M. Kuhn
381fefddd7 Create a temp file in the middle to avoid Emacs prompting. 2013-11-30 14:37:30 -05:00
Bradley M. Kuhn
12eb15927c Corrected name of git. 2013-11-30 14:20:49 -05:00
Bradley M. Kuhn
d42a102bf4 Better test for executable. 2013-11-30 14:20:07 -05:00
Bradley M. Kuhn
1a2d1359dc Add missing imports. 2013-11-30 14:14:46 -05:00
Bradley M. Kuhn
7299b95a22 Check that gitBinary is executable too. 2013-11-30 14:12:28 -05:00
Bradley M. Kuhn
b58047cb7c Copy ReadConfig function from -export script. 2013-11-30 14:11:02 -05:00
Bradley M. Kuhn
da78998795 Warn really only needs one arg. 2013-11-30 14:08:56 -05:00
Bradley M. Kuhn
746bc48850 Bring over lock and log code from calendar-export, and its license. 2013-11-30 14:07:55 -05:00
Bradley M. Kuhn
6920a57e53 Fix spacing in licensing comments. 2013-11-30 14:07:37 -05:00
Bradley M. Kuhn
0eaae363eb Fix various typos and problems. 2013-11-30 14:06:14 -05:00
Bradley M. Kuhn
0fd3c3256d First pass at ParseEventAndAddProposed 2013-11-30 14:05:00 -05:00
Bradley M. Kuhn
883d9f8f51 HandlePropose function. 2013-11-30 13:41:49 -05:00
Bradley M. Kuhn
1cde493a58 Generate Diary from new events first hack. 2013-11-30 13:37:44 -05:00
Bradley M. Kuhn
a706e3c17c Skeleton of new calendar import script. 2013-11-30 13:37:20 -05:00
Bradley M. Kuhn
1a31551d37 Add proper locking code. 2013-11-30 13:36:52 -05:00
Bradley M. Kuhn
68d950a036 Silently remove. 2013-11-29 17:15:23 -05:00
Bradley M. Kuhn
792465c4d7 Properly extract value. 2013-11-29 16:31:45 -05:00
Bradley M. Kuhn
1f55b78af5 use strict/warnings and fix bug that was obvious once used. 2013-11-29 16:27:00 -05:00
Bradley M. Kuhn
c8e8171253 Make a default for calendarStyle. 2013-11-29 16:26:17 -05:00
Bradley M. Kuhn
b0b0e4f438 $icsFullFile is no longer used here. 2013-11-29 16:26:01 -05:00
Bradley M. Kuhn
753b25be6e Use paplay from espeak. 2013-11-29 16:25:47 -05:00
Bradley M. Kuhn
e3156d8606 MergeList function from SFLC. 2013-11-29 16:17:28 -05:00
Bradley M. Kuhn
8f9ce9b676 Newlines were appearing on end of all settings! 2013-11-29 16:16:56 -05:00
Bradley M. Kuhn
1f172c36f7 Emacs binary setup. 2013-11-29 16:16:47 -05:00
Bradley M. Kuhn
dc1ec84056 Add SVN code. 2013-11-29 15:58:22 -05:00
Bradley M. Kuhn
cded96d49b Finish first past at adaptation for new usage. 2013-11-29 15:52:35 -05:00
Bradley M. Kuhn
6f6b97483d Remove syslog call. 2013-11-29 15:52:12 -05:00