It is currently April 19th, 2024, 11:33 pm

Rainmeter stopped working

General topics related to Rainmeter.
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Re: Rainmeter stopped working

Post by ms310 »

I'm using this one for now: https://openweathermap.org/api

It requires you to get an API key but allows a generous 60 calls/minute.

It has some limitations - the icon scheme is different and there are fewer icons. There are also some strange language things now and then - like "shower rain" instead of "rain shower" - but a simple substitution solves that.

I will use my hacked weather skin until the genius skinners create something new and much more clever than my hacking.
valka777aaa
Posts: 16
Joined: October 1st, 2019, 6:40 pm

Re: Rainmeter stopped working

Post by valka777aaa »

Can I take data anyhow from accuweather so that rainmeter applications could work- for example - the url- wxdata-changed to accuweather?
dfghrngsdkg
Posts: 43
Joined: February 16th, 2019, 8:40 pm

Re: Rainmeter stopped working

Post by dfghrngsdkg »

Is this in now confirmed? No longer weather? If so, I find it disgusting when it comes to monetizing every single bit (no pun intended)! What's the problem with it? Monopolizing? Data Collecting for the purpose of privatizing it? It's just a darn string of code that was put together by WXData - collected from weather stations they neither own nor pay for (for the information they harvest for free!)! Their client-base of big player already guarantee WXData a stable income so what the fuzz to let a channel open for the rest of the world that does do no harm to their finances?

Where is the darn middle-finger emoji if you need one?
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: Rainmeter stopped working

Post by mak_kawa »

Hi valka777aaa

You can take data from Accuweather API site with skin code something like this. Only basic variables and measures are given. So, needless to say, you have to describe meters and additional skin codes as you like.

Code: Select all

[Variables]
PlaceCode=(your place code)
tZone=(your time zone: with "+09:00" format)
APIkey=(your API key)
URL=http://dataservice.accuweather.com/currentconditions/v1/#PlaceCode#?apikey=#APIkey#&details=true

[MeasurerValues]
Measure=WebParser
URL=#WebSite#
RegExp=(?siU).*"LocalObservationDateTime":"(.*)\#tZone#".*"WeatherText":"(.*)".*"Temperature".*"Value":(.*),"Unit".*"RelativeHumidity":(.*),".*"Wind".*"Direction".*"Localized":"(.*)".*"Speed".*"Value":(.*),.*"UVIndex":(.*),"UVIndexText":"(.*)",.*"Visibility".*"Value":(.*),".*"CloudCover":(.*),.*"Pressure".*"Value":(.*),.*"PressureTendency".*"LocalizedText":"(.*)".*

[MeasureUpdate]
Measure=WebParser
URL=[MeasureValues]
StringIndex=1

[MeasureWeatherText]
Measure=WebParser
URL=[MeasureValues]
StringIndex=2

[MeasureWeatherIcon]
Measure=String
String=[MeasureWeatherText]
Substitute=#WeatherIcon#
DynamicVariables=1

[MeasureTemp]
Measure=WebParser
URL=[MeasureValues]
StringIndex=3

[MeasureHumidity]
Measure=WebParser
URL=[MeasureValues]
StringIndex=4

[MeasureWindDirection]
Measure=WebParser
URL=[MeasureValues]
StringIndex=5

[MeasureWindSpeed]
Measure=WebParser
URL=[MeasureValues]
StringIndex=6

[MeasureUVIndex]
Measure=WebParser
URL=[MeasureValues]
StringIndex=7

[MeasureUVIndexText]
Measure=WebParser
URL=[MeasureValues]
StringIndex=8

[MeasureVisibility]
Measure=WebParser
URL=[MeasureValues]
StringIndex=9

[MeasureCloudCover]
Measure=WebParser
URL=[MeasureValues]
StringIndex=10

[MeasurePressure]
Measure=WebParser
URL=[MeasureValues]
StringIndex=11

[MeasurePressureTendency]
Measure=WebParser
URL=[MeasureValues]
StringIndex=12
Probably, you have to prepare weather icons, and appropriate substitute expression for conversion of weather texts to their icon file names.
valka777aaa
Posts: 16
Joined: October 1st, 2019, 6:40 pm

Re: Rainmeter stopped working

Post by valka777aaa »

Thanks for the help, but I hardly know anything about programming :(
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Rainmeter stopped working

Post by balala »

ryanchuang wrote: October 2nd, 2019, 5:54 am Right now,you need to pay for wxdata service.
Very bad! In this case we probably will have to look for an alternative source.
iron2000
Posts: 15
Joined: June 6th, 2011, 3:47 am

Re: Rainmeter stopped working

Post by iron2000 »

Oh no.
The worst has happened.
They finally cut us off.

Its going to be a chore to use another provider.
Not in the mood to code now.
Urgh RegEx...

Think I'll go OpenWeatherMap as I already signed an API key for it some time ago.
Until I get over that mental wall lol
User avatar
ryanchuang
Posts: 30
Joined: September 13th, 2019, 4:23 am

Re: Rainmeter stopped working

Post by ryanchuang »

balala wrote: October 2nd, 2019, 12:13 pm Very bad! In this case we probably will have to look for an alternative source.
Somehow,one of xxenium skins:MiniWeatherHD 3.0 still streaming fine since he has written different codes on his skins and that skin is using The Weather Channel (weather.com).

I was trying to recreate the same theme I liked,but xxenium's codes are really not very conventional to understand,felt defeated,maybe some of you can figure out how to get the correct StringIndex to make skins worked.
Last edited by ryanchuang on October 2nd, 2019, 1:27 pm, edited 2 times in total.
msdobrescu
Posts: 5
Joined: October 11th, 2017, 6:46 pm

Re: Rainmeter stopped working

Post by msdobrescu »

Ha ha ha! The services requiring a key are such a good way to track you!
User avatar
ryanchuang
Posts: 30
Joined: September 13th, 2019, 4:23 am

Re: Rainmeter stopped working

Post by ryanchuang »

dvo wrote: October 2nd, 2019, 1:24 pm after changing the location it's gone to on MINIWeatherHD 3.0 ... :o :-(
Huh?? Mine is still working fine.