Commit graph

31 commits

Author SHA1 Message Date
embr
75e1d3aee4 CZ_CD: Add support for České dráhy trains (and their cross-border ECs) 2023-12-26 17:21:49 +01:00
embr
7524d79a1e DE_ICE: Parse connectivity status (HIGH, WEAK, UNSTABLE) 2023-02-20 08:41:14 +01:00
embr
2657f183f2 DE_ICE: Don't double-apply timezone offset 2023-02-20 08:23:39 +01:00
embr
68a1ea3aea _icomera: Speed is given in m/s for some reason, convert to km/h 2023-02-16 12:38:52 +01:00
embr
a4d76ca49d Revert "DE_ICE: welp, found an ICE with a public iceportal.de IP"
This reverts commit 0e25f9eb2a.
2022-10-30 18:05:17 +01:00
embr
0e25f9eb2a DE_ICE: welp, found an ICE with a public iceportal.de IP 2022-10-30 18:01:25 +01:00
embr
98a4efd1cd DE_ICE: filter out nulls 2022-10-26 16:30:43 +02:00
embr
fb44a7e32a DE_ICE: add comment for the jq type check 2022-10-26 16:24:10 +02:00
embr
942e6da0c9 DE_ICE: rewrite to use an intermediary map; handle .trip.stops being absent
If iceportal.de is having a weird day, .trip.stops in tripInfo may be null,
which would cause that entire block to throw an error.

I originally did this with just string concatenation, but an intermediary
map like this feels less dirty and makes the code a bit more readable.
2022-10-26 16:22:01 +02:00
Tjark Saul
641f9dd248
Merge branch 'master' into master 2022-10-04 16:36:21 +02:00
embr
f81be85d50 DE_ICE: Add support for WIFI@DB SSID 2022-10-04 13:42:27 +02:00
embr
a19c3ea93c DE_ICE: once in a blue moon, an ICE is on time, and there's no .navigationChange 2022-07-20 09:57:29 +02:00
embr
02917089e5 use DE_ICE rather than _icomera for WIFIonICE 2022-07-20 09:47:25 +02:00
embr
12c3bcd893 icomera: exit on non-icomera WiFi instead of if-guarding 2022-07-20 09:47:01 +02:00
embr
fbf798ab50 Thalys is a provider, not a country - for now :P 2022-07-20 09:45:33 +02:00
Erika
913cc85e1a trains/_icomera: add TransPennine Express to list of recognized SSIDs 2022-03-11 19:00:34 +00:00
Tjark Saul
d5e2ce4530 Remove removed navigationChange field 2021-03-12 17:54:43 +01:00
Tjark Saul
39b1fbd944 Update ICE check by trying to parse JSON 2020-09-28 21:32:36 +02:00
Tjark Saul
98459f0168 Make sure that ICE data is only parsed if the response is JSON 2020-09-28 21:23:37 +02:00
Tjark Saul
371a703e8c Remove DB from Icomera trains since it's not available any more 2020-09-27 21:10:44 +02:00
Tjark Saul
678205ef22 Also allow WIFI@DB network 2020-09-27 19:17:01 +02:00
Dominik M. Kwiatek
9ad960a229 Add Thalys 2020-02-04 08:17:28 +00:00
Dominik M. Kwiatek
00903104bd Restore old var names for easier scripting 2020-01-30 17:37:32 +00:00
Dominik M. Kwiatek
64f850a5cb Move icomera functions into _icomera.fish 2020-01-30 17:23:23 +00:00
Dominik M. Kwiatek
c47a7e4bd6 Key icomera vars by provider 2020-01-27 17:35:04 +00:00
Dominik M. Kwiatek
adf3220899 Fetch data from Icomera hotspots 2020-01-23 18:07:41 +00:00
Dominik M. Kwiatek
6e13f1bff0 ÖBB post-review changes 2020-01-06 20:05:18 +00:00
Dominik M. Kwiatek
77ae97cf46 Add ÖBB Railjet support 2020-01-05 17:46:53 +01:00
embr
24f1ccd0ea Eurostar hackery 2020-01-02 21:16:04 +00:00
embr
91dbae46af Don't fail horribly when not on an ICE 2020-01-02 19:52:01 +00:00
embr
26fa2f74de MVP: Pulls info from DE ICE trains 2020-01-02 15:33:37 +00:00