Jump to content

conigs

Member
  • Posts

    10
  • Joined

  • Last visited

Reputation Activity

  1. Like
    conigs got a reaction from DimerHunton in Dark Sky Workflow   
    So I've been playing with this a lot today and decided to release it. @nickwynja, let me know if you're not okay with the info in the read-me. I feel I've sufficiently modified the workflow, but haven't used github and don't know how to make branches, etc.
     
    Regardless, here's my Forecast.io workflow to try out. To set it up, you'll need your own developer API. You can paste it right into the workflow by entering 'w k <api-string-here>'. For convenience, links to register or login to Forecast for Developers are included. The theme can be changed by entering 'w t' and selecting light or dark. Forecast data has been reconfigured to get a little more info in there and (hopefully) handle different times of day nicely.
     
    I've also changed the way it handles US/UK/SI units directly from the forecast api, so it shouldn't have to convert anything.
     



    [update: branched nickwynja's code on github.]
  2. Like
    conigs got a reaction from DimerHunton in Dark Sky Workflow   
    For anyone interested, I've modified the workflow quite a bit:

    Changes:
    Added weather icons (Climacons) Ability to set a dark or light theme ('w theme' command) Modified results to get a little more info in there Selecting any result will launch Forecast.io in the default browser Still have to do some testing to make sure the results work will in various times throughout the day.
  3. Like
    conigs got a reaction from DJay in Dark Sky Workflow   
    So I've been playing with this a lot today and decided to release it. @nickwynja, let me know if you're not okay with the info in the read-me. I feel I've sufficiently modified the workflow, but haven't used github and don't know how to make branches, etc.
     
    Regardless, here's my Forecast.io workflow to try out. To set it up, you'll need your own developer API. You can paste it right into the workflow by entering 'w k <api-string-here>'. For convenience, links to register or login to Forecast for Developers are included. The theme can be changed by entering 'w t' and selecting light or dark. Forecast data has been reconfigured to get a little more info in there and (hopefully) handle different times of day nicely.
     
    I've also changed the way it handles US/UK/SI units directly from the forecast api, so it shouldn't have to convert anything.
     



    [update: branched nickwynja's code on github.]
  4. Like
    conigs got a reaction from lmartins in Dark Sky Workflow   
    I've also updated the workflow to set units explicitly now. It defaults to location-based, but you can select the units you want by using 'w u' and selecting from the list.
  5. Like
    conigs got a reaction from drking in Weather Workflow (with Conditions and Forecast)   
    For anyone curious, I changed line 169 in weather.php to give a little more information…
     
    Changed
    $w->result( 'weather', 'http://www.wunderground.com'.$location, $weather->display_location->full.": ".$weather->weather, $weather->temp_f.'°F ('.$weather->temp_c.'°C)' , $icon );  
    to
    $w->result( 'weather', 'http://www.wunderground.com'.$location, $weather->display_location->full.": ".$weather->weather, round($weather->temp_f).'°F | Feels Like '.$weather->feelslike_f.'°F | Wind '.lcfirst($weather->wind_string) , $icon );  
    So now it looks like:

    (And yes, it's cold here.)
×
×
  • Create New...