Open NicTanghe opened 4 years ago
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.
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
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.
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
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.
Honestly if its just for me don't bother. If you just add that to the readme everyone will know and just change the settings themselves.
i think it broke again
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 ?