dWoolridge
21ae79b386
weathergov.js: Removed weatherEndpoint definition ( #2936 )
...
Removed weatherEnpoint definition in defaults. It is not used in the
weathergov.js provider.
2022-10-07 19:03:52 +02:00
Veeck
d5e855dd6d
Use fetch instead of XMLHttpRequest in weatherprovider ( #2935 )
...
small update to the fetchData method to use the fetch helper instead of
the old XCMLHttpRequest.
Also fixes some typos :-)
Co-authored-by: veeck <michael@veeck.de>
2022-10-06 19:44:16 +02:00
dWoolridge
a86e27a12c
Added fetchWeatherHourly functionality to Weather.gov provider ( #2933 )
...
Added fetchWeatherHourly functionality to:
modules/default/weather/providers/weathergov.js
2022-10-06 09:56:32 +02:00
Malte Hallström
8212d30c4c
fix(weather/smhi) Correctly reference apparent temp method ( #2931 )
...
This PR addresses [this
comment](48756e8774 (commitcomment-85772193)
),
which points out an issue with #2902 .
Looks like the apparent temp calculation method was incorrectly
referenced 😅
2022-10-04 11:07:40 +02:00
Malte Hallström
50f72f09ac
refactor: fix linting & code style issues
2022-08-30 10:06:34 +02:00
Malte Hallström
02cf9b37e2
refactor: use const
instead of let
2022-08-29 20:08:27 +02:00
Malte Hallström
0a1067ec7d
feat(weather/smhi): support custom location names
2022-08-28 20:31:54 +02:00
Malte Hallström
48756e8774
feat(weather/smhi): calculate apparent temperature
2022-08-28 20:31:54 +02:00
Malte Hallström
4915ad8fc7
feat(weather/smhi): support hourly forecasts
2022-08-28 20:31:54 +02:00
veeck
2c0c62c89b
Remove default weatherEndpoint
2022-08-17 09:18:35 +02:00
veeck
ec13c952d9
Use type value from config instead just only weatherEndpoint
2022-08-16 22:39:30 +02:00
Davide Cavalca
39c1b37726
Drop executable bit where not needed
2022-07-02 14:38:10 -07:00
veeck
eca339ad60
Fix weird code in weathergov, still returns no data though
2022-03-22 21:11:44 +01:00
rejas
b72cb52a71
Remove windspeed conversion from openweathermap
2022-03-22 20:46:15 +01:00
Michael Teeuw
e12f57d872
Merge pull request #2815 from 10bias/weather-provider-weatherflow
...
Weather provider weatherflow
2022-03-11 15:43:22 +01:00
tobias
9056abaf4a
add function to switch units
2022-02-26 11:09:41 +01:00
tobias
3c27fd10b6
fix a problem with sunrise
2022-02-25 18:30:01 +01:00
tobias
4048d79fc5
run lint:prettier
2022-02-22 11:14:28 +01:00
tobias
212e60c12d
fix copy and paste mistake in comment
2022-02-22 11:12:17 +01:00
tobias
e791a663c8
add weatherprovider for weatherflow
2022-02-21 14:54:35 +01:00
philna
d0838d53c2
fix parsing of feels like for weathergov
2022-02-08 21:07:08 -06:00
Michael Teeuw
da90412cea
Merge pull request #2798 from khassel/cors
2022-01-28 11:22:43 +01:00
Kristjan SCHMIDT
6f27e5ae07
MagicMirror -> MagicMirror²
2022-01-26 23:47:51 +01:00
Kristjan SCHMIDT
a5668b1b99
Magic Mirror -> MagicMirror²
...
Consistent spelling
2022-01-26 23:09:26 +01:00
Karsten Hassel
f04dd6b6cd
introduce useCorsProxy, per default only enabled for darksky and envcanada
2022-01-26 22:44:20 +01:00
Karsten Hassel
c622db918b
working version, use corsUrl in weather providers
2022-01-25 23:42:42 +01:00
Karsten Hassel
7cfc7b9d74
first cors approach
2022-01-25 00:43:57 +01:00
rejas
d4168f6b5d
Use feels_like data from openweathermap instead of calculating it
2021-10-02 22:15:21 +02:00
rejas
0bf3ff9c17
Refer to new docs page for development documentation
2021-09-04 22:49:40 +02:00
rejas
221b6325f6
Cleanup some docs in the weather modules
2021-09-04 13:50:21 +02:00
veeck
a7756cec13
Inline some functions
2021-09-02 20:37:41 +02:00
veeck
9ee11654a6
Update jsdocs
2021-09-02 20:35:43 +02:00
veeck
a273266e5e
Remove useless returns and now unused jsdoc variables
2021-09-02 20:35:25 +02:00
rejas
c132206543
Use new method in ukmetofficedatahub provider
2021-09-01 20:02:45 +02:00
rejas
d7429a4812
Add eslint rule for === vs == and fix its occurence
2021-08-31 23:39:40 +02:00
rejas
be76d5ce9a
Use new method in smhi provider
2021-08-31 23:34:22 +02:00
rejas
43eb760bce
Use isDayTime method
2021-08-31 22:01:30 +02:00
rejas
a7684e3e9f
Add common method for determining if it is daytime
2021-08-31 21:55:43 +02:00
rejas
8949aa3bec
Add common method for updating suntimes
2021-08-31 21:41:27 +02:00
Adam Piontek
1a8413d8f0
update weathergov provider to try fetching not just current but also forecast when API URLs available
2021-08-10 18:54:34 -04:00
rejas
3a5052c871
Final jsdoc comments
2021-08-05 16:38:57 +02:00
rejas
cd18794fca
Update jsdocs
2021-08-01 09:53:28 +02:00
veeck
36d6a5bc15
Start cleaning up some jsdoc
2021-07-14 10:41:29 +02:00
rejas
2619f92d09
More var -> let/const conversions
2021-07-14 10:41:29 +02:00
veeck
bcff953fbb
Fix warning in weather provider
2021-07-14 10:41:29 +02:00
veeck
bcc0cc599d
Fix == usages
2021-07-14 10:41:29 +02:00
Michael Teeuw
7fdf7de11c
Merge pull request #2600 from njwilliams/njw/openweathermap-onecall-fix
2021-06-25 11:32:49 +02:00
Nick Williams
775d1091db
typo when not using /onecall - was getting forecast from wrong attr
2021-06-24 21:39:32 -04:00
Nick Williams
e686611890
update One Call API results for openweathermap
...
The results from the /onecall endpoint were not
being parsed correctly in current and forecast mode - it was
assuming the current/forecast endpoint API, and the return
datasets are different. The effect was that the module
would simply display "Loading..." when in /onecall mode, since
it has no way of displaying error status (ideally, it should,
but leave that for another day)
2021-06-17 19:30:56 -04:00
Kevin G
0ecb66c99e
Fixed precipitation unit conversion logic
...
Found an error that precipitation amount was not being calculated correctly when config.js is asking for Imperial units. This has been fixed.
2021-06-02 16:15:44 -04:00