Shop Forum More Submit  Join Login
Do I Need a Jacket? 2.0 (beta 2016-04-10) by FlyingHyrax Do I Need a Jacket? 2.0 (beta 2016-04-10) by FlyingHyrax

"Do I Need a Jacket?"

Because there aren't enough Rainmeter weather skins

Update in progress of the old "Do I Need a Jacket?" skin.
(Last updated 10 April 2016)

Improvements thus far:
:bulletblue: Uses Lua instead of trying to cram logic into the skin file
:bulletblue: Many more adverbs (though it's probably less witty overall)
:bulletblue: Instead of trying to incorporate wind speed into the jacket equation, just checks the Wind Chill temperature value
:bulletblue: Simplified settings: location, English/Metric, jacket temperature threshold, coat temperature threshold
:bulletblue: Can change the size by scrolling the mouse over the skin
:bulletblue: Text alignment (left, right, centered) selectable from the skin context menu




The latest version uses Weather.com's wxdata feed - you will need a Weather.com location code.
The code can be found in the URL on the forecast page for your location on Weather.com, using jsmorley 's WXDataWeather skin, or via http://wxdata.weather.com/wxdata/search/search?where=YOUR_LOCATION.

A fix for the old version, which used a Yahoo! weather feed, can be found here: forum.rainmeter.net/viewtopic.…
Add a Comment:
 
:icontadaaki:
Tadaaki Featured By Owner 4 days ago  New Deviant
hello I have a qustion can you (be you i mean me) change what it said's"you need a jacket" too something like "you need a top hat" or "you need a ice cream cone" in coding , is there a way how?

Reply
:iconlkaboooml:
lkaboooml Featured By Owner 5 days ago
when i change to metric system, it always shows you need a coat no matter what i put on thresholds
Reply
:iconalexandersct:
AlexanderSct Featured By Owner Mar 6, 2018
I found a way to get the location code automatically, ask me if you want to know
Reply
:iconsquidyscribble:
SquidyScribble Featured By Owner Apr 30, 2018  Hobbyist Digital Artist
How?
Reply
:iconalexandersct:
AlexanderSct Featured By Owner May 1, 2018
a measure like this would work. just copy and paste.

it needs a finishaction so it changes the code and updates the skin afterwards, but you should be able to add that yourself.


[wxdataWeatherCode]
Measure=WebParser
URL=www.iplocationtools.com/
RegExp=(?siU)Station.*\((.*)\)
StringIndex=1
DynamicVariables=1
Reply
:iconmissplatinumgamer:
missplatinumgamer Featured By Owner Feb 22, 2018  Hobbyist Digital Artist
i checked the clickthrough option so i dont accidently scroll and adjust its size,  but then i cant hover over it and see the temperature. anything i can do to keep it unchecked but not accidently scroll on it>?

Reply
:iconsynfloodinc:
SynFloodINC Featured By Owner Apr 12, 2018
I found a way to diable the scrolling while still being able to hover over. All you need to do is open the dinaj.ini file and search for "scrolling" without the " and delete the bottom 2 lines that show up which describe the scroll function.
Reply
:iconmissplatinumgamer:
missplatinumgamer Featured By Owner Apr 13, 2018  Hobbyist Digital Artist
ty so much
Reply
:icondpower20:
Dpower20 Featured By Owner Edited Jan 29, 2018
Hi there. I am having an issue with your widget: when I switch it to Celsius, the display gets stuck at 'loading.' I am using a Canadian location.

UPDATE: Fixed, refer to 'berryaaku' solution below.
Reply
:iconheartkinz17:
heartkinz17 Featured By Owner Jan 26, 2018  Hobbyist General Artist
Im sorry if you don't take request but can you make a moon phases skin? thx
Reply
:iconstealthscar:
stealthscar Featured By Owner Dec 22, 2017
thank you very much.

@KwaQ-GFX yes it does work for people in the UK.
Reply
:iconkwaq-gfx:
KwaQ-GFX Featured By Owner Dec 20, 2017
It doesn't work for people in England
Reply
:iconrain-petals:
rain-petals Featured By Owner Dec 3, 2017  Hobbyist Digital Artist
Hi,

I recently downloaded your skin and must say it is amazing.
However, I have set my location code to Fremont, OH and it is still saying Chicago, IL.

This is my code:
; Weather.com location code
; Go to weather.com and search for your location.
; The location code is in the URL on the page for your location.
; e.g. for Chicago:
; weather.com/weather/today/l/US…
;                                     ^^^^^^^^
location=USOH0329

Any help would be appreciated. Thanks!
Reply
:icontinkermonkey:
TinkerMonkey Featured By Owner Jan 17, 2018  Hobbyist General Artist
Did you refresh the skin?
Reply
:iconrain-petals:
rain-petals Featured By Owner Jan 19, 2018  Hobbyist Digital Artist
Ah, sorry. I must not have edited it. It has been working fine, but thank you for your concern!
Reply
:iconemanzzkie:
EmanzzKie Featured By Owner Oct 12, 2017
what to adjust if temperature is in metric system? 
Reply
:icond0persie:
d0persie Featured By Owner Oct 7, 2017  Student Artist
i made the Indonesian Language version of this skin :D
Reply
:iconkaizzuu:
kaizzuu Featured By Owner Sep 16, 2017
Can it be set to show you're needing a jacket when it's raining or unstable weather?
Reply
:iconstarwolf160:
Starwolf160 Featured By Owner Sep 5, 2017  Hobbyist Writer
Does anyone know how to switch the top and bottom texts?
Reply
:icongemjonno:
GemJonno Featured By Owner Jun 24, 2017
Hey.. It seems DINAJ is stuck on loading for me. I've tried refreshing and re-loading.. Any help? 
Reply
:icondrb0201:
DRB0201 Featured By Owner Jun 18, 2017
Someone knows a good temperature for Celsius?
And does it selects Celsius automatically if you enter a country that uses Celsius?
Reply
:iconjuicethehedgehog:
juicethehedgehog Featured By Owner Jun 7, 2017  Professional General Artist
YAAS!
Reply
:iconpixelloyd:
PixeLloyd Featured By Owner May 29, 2017  Hobbyist Digital Artist
Is there any way to change the font? Because the default font is too thin, Please Respond
Reply
:iconaihehe:
aihehe Featured By Owner Edited Apr 20, 2017  Hobbyist Interface Designer
update : fixed. 

Keep up the great work.
Reply
:iconkanashimi-tenshi:
Kanashimi-Tenshi Featured By Owner Apr 18, 2017
I really love this skin. I live in the desert, so I do wish there was some more variations for when it was hot (such as a 100 F for example). I'd love to be edit or change more of the terms or sayings as well. Otherwise, super solid and thanks a ton!
Reply
:iconodoug5:
Odoug5 Featured By Owner Mar 24, 2017
Mine always says 'You Need A Coat It's Frosty Outside' and i'm not an expert but I think tend not to wear coats if it's 30 degrease C.
Reply
:icondiedoktor:
dieDoktor Featured By Owner Apr 12, 2017
You can edit the trigger point in the ".ini". Go to wherever you have your rainmeter installation (if default then it will be "C:\Users\"Your User Name"\Documents\Rainmeter]Skins\DINAJ2" Open the settings file "dinaj.ini" and scroll down the the [Variable] block, here you can find the lines "jacket_temp=65" and "coat_temp=40".

Edit the numeric values for the value that you want, save, and refresh the skin.
Reply
:iconmikkel989:
mikkel989 Featured By Owner Mar 15, 2017
Mine is stuck on "Loading"
When I mouse over the icon it just shows: ","
I've tried many of the suggestions here, but it doesn't work? :3
Reply
:iconpopnomatron1:
Popnomatron1 Featured By Owner Feb 25, 2017
It always says I need a coat even when it's warm out, how do I fix this?
Reply
:iconkronotic:
Kronotic Featured By Owner Mar 9, 2017
I found a fix, apparently it has something to do with not recognizing temperature in the metric system. 
Open dinaj.lua with your favorite text editor and change the lines 70, 71. 

The values "15" and "10" at the end will be the default values for you in the imperial system.
Change them to the metric system's values and all should be fine, I personally set them to 15 and 10. 


-----
Settings.Jacket_Limit = SELF:GetNumberOption(props.JacketThreshold, 15)
Settings.Coat_Limit = SELF:GetNumberOption(props.CoatThreshold, 10)
-----

Hope this works helps.
Reply
:iconpopnomatron1:
Popnomatron1 Featured By Owner Mar 23, 2017
Hey, sorry for the late reply I just noticed this problem again after forgetting about it shortly after asking and came back to check if there was a solution. Sure enough, there was your fix and it worked flawlessly. Thank you!
Reply
:iconkronotic:
Kronotic Featured By Owner Mar 24, 2017
You're welcome. Glad I could help :) 
Reply
:iconeasysid:
easysid Featured By Owner Jan 13, 2017
conky port of this skin

easysid.deviantart.com/art/Do-…
Reply
:icondamb-lole:
damb-lole Featured By Owner Jan 5, 2017
I'm having the same problem as Takoyaki147 
Reply
:icontakoyaki147:
Takoyaki147 Featured By Owner Jan 5, 2017
Even after fixing the URL for weather.com, DINAJ2 still says Loading.... I've restarted my computer, etc.
Reply
:iconklossel:
Klossel Featured By Owner Feb 16, 2017
Same problem with me
Reply
:iconparadoxcode:
ParadoxCode Featured By Owner Jan 6, 2017
I tried berryaaku's answer:

   Editing 
[mTemperature] and [mFeelsLike] RegExp values respectively to 

   
RegExp=<tmp>(-?\d+)</tmp>
   RegExp=<flik>(-?\d+)</flik>


This seemed to fix the loading issues for me.
Reply
:icondamb-lole:
damb-lole Featured By Owner Jan 7, 2017
Thanks, this fixed it for me, too!
Reply
:iconsealthrux:
SealthruX Featured By Owner Edited Dec 28, 2016
Hey, any way of it saying jacket instead of coat ? as in like always, cuz I'll never use coats
Reply
:iconparadoxcode:
ParadoxCode Featured By Owner Edited Jan 6, 2017
IIRC it uses "coat" instead of "jacket" because it's extra cold out. Lower temps will show "coat", while milder temps will show "jacket".

EDIT: You can change this to just show "jacket" by going into the .ini file and changing the value: 

coat_temp=40

to 

coat_temp=-40

This way, it will only use "coat" when it's -40 out. (Depending on where you live, you may need it lower. I doubt it though.)
Reply
:icongsyrba:
gsyrba Featured By Owner Dec 3, 2016
I've edited the colors and font sizes to match other skins I have on my desktop.  One thing I could not figure out... how do you change the fonts to upper case?
Reply
:iconheythoro:
heythoro Featured By Owner Nov 17, 2016
mine doesn´t stop loading, and i´ve already changed the .lua file
Reply
:iconitsopaz:
ItsOpaz Featured By Owner Nov 7, 2016
I have problem with temperature display when hovering over the text. It's shows like this : Light Snow, C (Feels like -16 C). So the real temperature is missing. Can someone please help?
Reply
:iconsaiiqb:
saiiqb Featured By Owner Edited Oct 16, 2016
Its just stuck on "loading..." for me, any help?
Reply
:iconberryaaku:
berryaaku Featured By Owner Edited Nov 11, 2016
I just had the same issue, for me, it was because the [mTemperature] and [mFeelsLike] in the .ini file needed its last line changed to (respectively):
   RegExp=<tmp>(-?\d+)</tmp>

   RegExp=<flik>(-?\d+)</flik>

S0hva posted the change for that below for mFeelsLike but seems like mTemperature had the same issue :P. The change is to allow the value to be a negative number (for me it was feels like -3C and so it was being all screwy).


I also went ahead and changed the Lua file's min to -40F since it can get to be that cold here:
   RANGE_MIN = -40,
   RANGE_MAX = 120,

Though from browsing other comments, if it goes over the range max/min it appears to just default to the lowest/highest phrase. Didn't wanna risk it though! Hopefully changing the mTemp and mFeelsLike helps!
Reply
:iconwhenueatpie:
whenueatpie Featured By Owner Oct 11, 2016
My location is USDE0025, and its getting it correct but its getting the temperature wrong. Does anyone know how to fix this?
Reply
:iconnovadestin:
Novadestin Featured By Owner Oct 13, 2016
Weather.com and Rainmeter have not been communicating all that well lately: www.reddit.com/r/Rainmeter/com…
Reply
:icondarkboxer:
DarkBoxeR Featured By Owner Oct 4, 2016  Hobbyist Interface Designer
we can edit it to say what ever we want??
Reply
Add a Comment:
 
×





Details

Submitted on
November 15, 2014
File Size
4.4 KB
Link
Thumb

Stats

Views
183,851 (50 today)
Favourites
296 (who?)
Comments
186
Downloads
75,788 (14 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×