Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I still Get Retreiving Weather ... #1

Open
NicTanghe opened this issue Jul 13, 2020 · 7 comments
Open

I still Get Retreiving Weather ... #1

NicTanghe opened this issue Jul 13, 2020 · 7 comments

Comments

@NicTanghe
Copy link

Hello im on latest release and i keep getting Retrieving Weather ....

Is it becouse i live in belgium and not the US ?
Or is it becouse Weather.com shut down the API ?

@mikekscholz
Copy link
Owner

It should be working, make sure you're setting location inside of resources/includes/TWC_variables, this was a quick and dirty update and I didnt take the time to strip out the original settings dialog yet, that one has no effect anymore." Right click on the skin and theres a edit weather variables option at the top of the list. There’s instructions in the file for how to get your location code.

@NicTanghe
Copy link
Author

NicTanghe commented Jul 14, 2020

Looks like this.

[Variables]

LocationCode=8c6b0e55d5cf8568f60d839eaf3fa128975a8daf414f334c76ea19e9e1e1d3b0
LangLoc=en-US
UnitsTemp=C
;https://weather.com/weather/today/l/8c6b0e55d5cf8568f60d839eaf3fa128975a8daf414f334c76ea19e9e1e1d3b0
; =====================================
; Don't change anything below here.
; =====================================

doesnt work

@mikekscholz
Copy link
Owner

I pushed the code to reflect the releases, somehow you still have the old version of the config file. download the latest version https://github.com/mikekscholz/Simplony-Reborn/releases/download/7.15.2020/Simplony_7.15.2020.rmskin and then try something like this:

[Variables]
SIMPLONYCOLOR=255,255,255
LocationCode=663c202dc3beb0d43664d63fe2346cc9ebaffdd33c4233d334c07640a572f773

; Change to F or C to display in current temp and to control the 'UNITS' values to match Imperial(F) or Metric(C) measurements.
UnitsTemp=C

; MPH or KMH
SpeedUnit=KMH
; IN or MB
PressureUnit=MB
; MILE or KM
VisibilityUnit=KM

; You can set your language-location for TWC here
; For English and Celsius use en-CA outside of United Kingdom
LangLoc=nl-BE

; Set language here to translate entire skin
; Available Options: Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, French, German, Greek, Hungarian, Italian, Latvian, Polish, Portuguese, Romanian, Russian, Serbian, Spanish, Swedish, Turkish, Ukrainian.
Language=Dutch

Obviously Ive made some assumptions about Language/Location but this should get you in the right direction.

@NicTanghe
Copy link
Author

It's all fixed dude thanks.
Seems that changing F to C wasn't enough and I also needed to change the other settings to get it working

@mikekscholz
Copy link
Owner

mikekscholz commented Jul 17, 2020

Some of the temp units are supplied by TWC with the temps as a single string value based on langloc settings, and some are supplied as just numbers and the F or C have to be added in, thats why theres two settings for it. Life is a little too hectic at the moment to sit down and code a more elegant solution but its on the todo list.

@NicTanghe
Copy link
Author

NicTanghe commented Jul 18, 2020 via email

@NicTanghe
Copy link
Author

i think it broke again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants