Gordon Williams
4fc5fa285a
update global settings
2023-11-24 08:36:29 +00:00
Gordon Williams
ed23ccfadc
Fix typo
...
Co-authored-by: Rob Pilling <robpilling@gmail.com>
2023-11-24 08:32:06 +00:00
Gordon Williams
fcebbf3ef4
Added Utils.readStorageJSON and relaxed JSON parser, and swap all interface.html over
...
to using it.
This allows Bangle.js 2v20 (or cutting edge) and later to store a relaxed
'JSON' on internal storage which (while still normal JS) is smaller and faster
(and preserves unicode better)
See https://github.com/espruino/Espruino/issues/2429
2023-11-23 12:52:48 +00:00
Martin Boonk
fe240ea27c
owmweather - Fix calling weather if it is not available
2023-05-17 22:22:48 +02:00
Martin Boonk
bd34c54eed
owmweather - Respect update interval even on boot
2023-05-17 22:05:08 +02:00
Martin Boonk
4c5e9ce74b
owmweather - Bump version
2023-05-17 22:03:37 +02:00
Martin Boonk
bd3c8b4107
owmweather - Read defaults to prevent loading weather every few seconds
2023-05-17 21:54:35 +02:00
Martin Boonk
c195c85b2c
Bump versions
2022-10-30 16:47:56 +01:00
Martin Boonk
0d145328a0
owmweather - Schedule the first update for 5s after boot
2022-10-30 16:41:28 +01:00
Martin Boonk
6b5176c086
owmweather - Do not wrap in function
2022-10-30 16:41:28 +01:00
Marco H
a256bbed00
Use official writing of OpenWeatherMap
...
Short documentation on how to get a OWN API key
2022-07-06 08:12:33 +02:00
Martin Boonk
05d9018025
owmweather - Adds weather.json as data to metadata file
2022-07-03 11:44:25 +02:00
Martin Boonk
51439c74b1
owmweather - Fix check for the last update
2022-07-03 11:41:13 +02:00
Martin Boonk
f286d7b4b6
owmweather - Only try to pull if BT is connected
2022-07-03 11:18:13 +02:00
Martin Boonk
16418fa364
owmweather - Remove dependency to weather, some apps just use weather.json
2022-07-03 11:12:16 +02:00
Martin Boonk
f9cb4629d6
owmweather - Add settings file to metadata
2022-07-02 23:41:46 +02:00
Martin Boonk
729628ca0f
owmweather - Move pulling code to lib
2022-07-02 23:41:46 +02:00
Martin Boonk
76cd112a13
owmweather - Show message during save
2022-07-02 23:26:18 +02:00
Martin Boonk
b6c6ca3c86
owmweather - Show hint if pull method not available
2022-07-02 22:49:09 +02:00
Martin Boonk
d26c33aef6
owmweather - Set 3h refresh default value
2022-07-02 22:48:45 +02:00
Martin Boonk
f406df4210
owmweather - Adds interface to change API key in browser
2022-07-02 21:23:46 +02:00
Martin Boonk
97b96114d5
owmweather - Get location on every pull
2022-07-02 16:52:42 +02:00
Martin Boonk
650af83736
owmweather - Do not enable by default
2022-07-02 16:44:28 +02:00
Martin Boonk
1e9d708d8c
owmweather - Use default random ID
2022-07-02 16:42:58 +02:00
Martin Boonk
1abeaa45d1
owmweather - Cleanup code
2022-07-02 16:39:59 +02:00
Martin Boonk
4d46df3082
owmweather - Adds default config
2022-07-02 16:31:30 +02:00
Martin Boonk
09e5c8cadc
owmweather - Display error on unexpected data
2022-07-02 16:31:05 +02:00
Martin Boonk
8a14255c5f
owmweather - Show notice if not textinput is installed
2022-07-02 16:11:02 +02:00
Martin Boonk
c8fc3046d4
owmweather - Read settings on every refresh
2022-07-02 16:10:01 +02:00
Martin Boonk
2fbe9cd6c1
owmweather - Add dependency to weather app
2022-07-02 15:42:49 +02:00
Martin Boonk
2e35162f84
owmweather - Adds notice on location
2022-07-02 15:41:55 +02:00
Martin Boonk
8a49ca06ab
owmweather - Update readme and metadata
2022-07-02 15:29:04 +02:00
Martin Boonk
3132dcb46e
owmweather - Add settings
2022-07-02 15:24:46 +02:00
Martin Boonk
27062fdbc0
owmweather - Get weather on boot if older than refresh period
2022-07-02 15:24:11 +02:00
Martin Boonk
37df546df0
owmweather - Correctly handle the http promise
2022-07-02 14:29:29 +02:00
Martin Boonk
7a7499d20e
owmweather - Only start new request if not already waiting for one
2022-07-02 12:25:04 +02:00
Martin Boonk
d7f34c5cab
owmweather - Use new Bangle.http api
2022-07-02 12:19:40 +02:00
Martin Boonk
8e788a608a
Initial proof of concept
2022-07-02 12:02:04 +02:00