It is currently November 14th, 2019, 7:46 am

Weather about to break Kaelri's Enigma skin (again)?

Help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3596
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather about to break Kaelri's Enigma skin (again)?

eclectic-tech » January 21st, 2019, 9:08 pm

Excellent! :thumbup:
tuxedosammy
Posts: 1
Joined: May 6th, 2019, 3:54 am

Re: Weather about to break Kaelri's Enigma skin (again)?

tuxedosammy » May 6th, 2019, 4:15 am

Not sure if this is the right place to ask but i'm getting strange symbols for the degree sign. Heres a picture

https://gyazo.com/a0f0f98ab8e3f42d3162b79c273e42c9

if the picture doesn't work basically the degree symbols area replaced with "¿1/2" symbols. Never even seen that symbol before.

I tried playing around with the encoding but no luck. Any tips?

Thanks
User avatar
balala
Rainmeter Sage
Posts: 9039
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather about to break Kaelri's Enigma skin (again)?

balala » May 6th, 2019, 2:40 pm

tuxedosammy wrote:
May 6th, 2019, 4:15 am
Not sure if this is the right place to ask but i'm getting strange symbols for the degree sign. Heres a picture

https://gyazo.com/a0f0f98ab8e3f42d3162b79c273e42c9

if the picture doesn't work basically the degree symbols area replaced with "¿1/2" symbols. Never even seen that symbol before.
Try to use in the Text option the following string to show the degree symbol: [\x00B0].
For example using the Text=30[\x00B0]C option, the shown string will look like 30°C.
If you don't succeed, please post a code of the skin you have problems with.
cynthb
Posts: 2
Joined: May 23rd, 2019, 12:28 am

Re: Weather about to break Kaelri's Enigma skin (again)?

cynthb » May 23rd, 2019, 12:51 am

Hi! Apologies for the necro post, and thanks for getting the Enigma weather working again!

I am having issues with the world skins not displaying the correct time. I have three cities set: Ottawa (Canada), Halifax (Canada), and Reykjavik (Iceland), and they are all displaying the incorrect time. I updated both Rainmeter and Enigma and followed the OP's instructions. My computer clock is correct. I am seeing:

Ottawa: UTC -3 (should be -4)
Halifax: UTC -2 (should be -3)
Reykjavik: UTC +1 (should be +0)

Is there some variable that is adding daylight savings time twice?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3596
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather about to break Kaelri's Enigma skin (again)?

eclectic-tech » May 23rd, 2019, 4:32 am

cynthb wrote:
May 23rd, 2019, 12:51 am
Hi! Apologies for the necro post, and thanks for getting the Enigma weather working again!

I am having issues with the world skins not displaying the correct time. I have three cities set: Ottawa (Canada), Halifax (Canada), and Reykjavik (Iceland), and they are all displaying the incorrect time. I updated both Rainmeter and Enigma and followed the OP's instructions. My computer clock is correct. I am seeing:

Ottawa: UTC -3 (should be -4)
Halifax: UTC -2 (should be -3)
Reykjavik: UTC +1 (should be +0)

Is there some variable that is adding daylight savings time twice?
It appears the information from WXDATA does not correct for daylight savings; the data shows my timezone as -4, but it should be -5. I can not change what they are sending, so any "fix" for DST now, would need to be manually changed back when DST ends... :thumbdown:

You can "fix" it now by modifying 3 measures in "Enigma\Sidebar\World\World.inc" file.
Change TimeZone=[MeasureTimeZone] to TimeZone=([MeasureTimeZone]-1) so it looks like below.
This will have to be manually set back to TimeZone=[MeasureTimeZone] when DST ends this fall.

Code: Select all

[MeasureTime]
Measure=Time
TimeZone=([MeasureTimeZone]-1)
DynamicVariables=1

[MeasureReal1]
Measure=Time
TimeZone=([MeasureTimeZone]-1)
DynamicVariables=1
Format="%#H.%M.%S  ·  %a"
Substitute="Sun":"SUN","Mon":"MON","Tue":"TUE","Wed":"WED","Thu":"THU","Fri":"FRI","Sat":"SAT"

[MeasureReal2]
Measure=Time
TimeZone=([MeasureTimeZone]-1)
DynamicVariables=1
Format="%#d %b  ·  %Y"
Substitute="Jan":"JAN","Feb":"FEB","Mar":"MAR","Apr":"APR","May":"MAY","Jun":"JUN","Jul":"JUL","Aug":"AUG","Sep":"SEP","Oct":"OCT","Nov":"NOV","Dec":"DEC"
I will see if there are any other options to get the correct time.
cynthb
Posts: 2
Joined: May 23rd, 2019, 12:28 am

Re: Weather about to break Kaelri's Enigma skin (again)?

cynthb » May 23rd, 2019, 7:28 pm

Thanks, that does the trick! Note that the 3 measures in the Taskbar\World\World.inc file have slightly different names but searching for TimeZone= will find them.

Also, changing the Windows 10 option Date & Time -> Adjust for daylight saving time automatically changes the times in the world skins, but it makes the system time wrong (obviously). I am guessing that Rainmeter / Enigma may be applying that setting on top of the time that it receives from WXDATA.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3596
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather about to break Kaelri's Enigma skin (again)?

eclectic-tech » May 23rd, 2019, 7:48 pm

Good to know that the Taskbar skins are a bit different. :thumbup:
I only looked at the Sidebar versions, so I am sure users will appreciate the additional info regarding the Taskbar versions! :great:
Gregory2001
Posts: 43
Joined: May 28th, 2010, 2:29 pm

Re: Weather about to break Kaelri's Enigma skin (again)?

Gregory2001 » May 25th, 2019, 12:49 pm

The taskbar versions are very wrong when loading Sunrise and Sunset. Will this fix that too? Thanks.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3596
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather about to break Kaelri's Enigma skin (again)?

eclectic-tech » May 25th, 2019, 1:21 pm

Gregory2001 wrote:
May 25th, 2019, 12:49 pm
The taskbar versions are very wrong when loading Sunrise and Sunset. Will this fix that too? Thanks.
No... this is a problem with the feed; Weather.com reports the same sunrise and sunset times as the first day for every day it displays.
To correct the sunrise and sunset times you would need to use a different source.
User avatar
sosen
Posts: 2
Joined: November 11th, 2019, 11:33 am

Re: Weather about to break Kaelri's Enigma skin (again)?

sosen » November 11th, 2019, 11:48 am

Hi all,

First - big thanks to eclectic-tech for making Enigma weather works!

Second - did you notice that weather for second and third day is wrong or this happens only to me?

Code: Select all

<weather ver="2.0">
        <head>
      <locale>en_US</locale>
      <form>MEDIUM</form>
      <ut>C</ut>
      <ud>km</ud>
      <us>km/h</us>
      <up>mb</up>
      <ur>mm</ur>
    </head>
        <loc id="PLXX0029">
      <dnam>Wroclaw, DS, Poland</dnam>
      <tm>12:18 PM</tm>
      <lat>51.11</lat>
      <lon>17.03</lon>
      <sunr>7:01 AM</sunr>
      <suns>4:10 PM</suns>
      <zone>1</zone>
    </loc>
        
        
        <cc>
        <lsup>11/11/19 12:00 PM CET</lsup>
        <obst>Wroclaw/Copernicus, DS, PL</obst>
        <tmp>8</tmp>
        <flik>7</flik>
        <t>Fair</t>
        <icon>34</icon>
        
        <bar>
          <r>999.66</r>
          <d/>
        </bar>
        <wind>
      <s>9</s>
      <gust>N/A</gust>
      <d>210</d>
      <t>SSW</t>
    </wind>
        <hmid>43</hmid>
        <vis>9.7</vis>
        <uv>
          <i>1</i>
          <t>Low</t>
        </uv>
        <dewp>-2</dewp>
        <moon>
          <icon>13</icon>
          <t>Waxing Gibbous</t>
        </moon>
      </cc>
        <dayf>
        <lsup>11/11/19 7:00 AM CET</lsup>
        <day d="0" t="Monday" dt="Nov 11">
        <hi>9</hi>
        <low>3</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>34</icon>
          <t>Mostly Sunny</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>135</d>
      <t>SE</t>
    </wind>
          <bt>M Sunny</bt>
          <ppcp>0</ppcp>
          <hmid>65</hmid>
        </part>
        <part p="n">
          <icon>26</icon>
          <t>Cloudy</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>135</d>
      <t>SE</t>
    </wind>
          <bt>Cloudy</bt>
          <ppcp>10</ppcp>
          <hmid>84</hmid>
        </part>
      </day><day d="1" t="Tuesday" dt="Nov 12">
        <hi>8</hi>
        <low>3</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>11</icon>
          <t>PM Light Rain</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>231</d>
      <t>SW</t>
    </wind>
          <bt>PM Lgt Rain</bt>
          <ppcp>80</ppcp>
          <hmid>88</hmid>
        </part>
        <part p="n">
          <icon>12</icon>
          <t>Rain</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>231</d>
      <t>SW</t>
    </wind>
          <bt>Rain</bt>
          <ppcp>90</ppcp>
          <hmid>96</hmid>
        </part>
      </day><day d="2" t="Wednesday" dt="Nov 13">
        <hi>5</hi>
        <low>0</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>12</icon>
          <t>Rain</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>338</d>
      <t>NNW</t>
    </wind>
          <bt>Rain</bt>
          <ppcp>80</ppcp>
          <hmid>95</hmid>
        </part>
        <part p="n">
          <icon>12</icon>
          <t>Rain</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>338</d>
      <t>NNW</t>
    </wind>
          <bt>Rain</bt>
          <ppcp>90</ppcp>
          <hmid>98</hmid>
        </part>
      </day><day d="3" t="Thursday" dt="Nov 14">
        <hi>6</hi>
        <low>2</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>39</icon>
          <t>AM Showers</t>
          <wind>
      <s>9</s>
      <gust>N/A</gust>
      <d>140</d>
      <t>SE</t>
    </wind>
          <bt>AM Showers</bt>
          <ppcp>40</ppcp>
          <hmid>91</hmid>
        </part>
        <part p="n">
          <icon>29</icon>
          <t>Partly Cloudy</t>
          <wind>
      <s>9</s>
      <gust>N/A</gust>
      <d>140</d>
      <t>SE</t>
    </wind>
          <bt>P Cloudy</bt>
          <ppcp>10</ppcp>
          <hmid>96</hmid>
        </part>
      </day><day d="4" t="Friday" dt="Nov 15">
        <hi>13</hi>
        <low>8</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>30</icon>
          <t>Partly Cloudy</t>
          <wind>
      <s>22</s>
      <gust>N/A</gust>
      <d>124</d>
      <t>SE</t>
    </wind>
          <bt>P Cloudy</bt>
          <ppcp>10</ppcp>
          <hmid>82</hmid>
        </part>
        <part p="n">
          <icon>27</icon>
          <t>Mostly Cloudy</t>
          <wind>
      <s>22</s>
      <gust>N/A</gust>
      <d>124</d>
      <t>SE</t>
    </wind>
          <bt>M Cloudy</bt>
          <ppcp>20</ppcp>
          <hmid>82</hmid>
        </part>
      </day><day d="5" t="Saturday" dt="Nov 16">
        <hi>14</hi>
        <low>5</low>
        <sunr>7:01 AM</sunr>
        <suns>4:10 PM</suns>
        
        <part p="d">
          <icon>39</icon>
          <t>AM Showers</t>
          <wind>
      <s>17</s>
      <gust>N/A</gust>
      <d>161</d>
      <t>SSE</t>
    </wind>
          <bt>AM Showers</bt>
          <ppcp>30</ppcp>
          <hmid>80</hmid>
        </part>
        <part p="n">
          <icon>45</icon>
          <t>Showers Late</t>
          <wind>
      <s>17</s>
      <gust>N/A</gust>
      <d>161</d>
      <t>SSE</t>
    </wind>
          <bt>Shwrs Late</bt>
          <ppcp>30</ppcp>
          <hmid>94</hmid>
        </part>
      </day>
      </dayf>    
              </weather>
Image

I checked few cities, all the time got wrong data, any ideas how to repair this?