Commit graph

81 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
ec843236df widgets: DE_ICE: Add empty case for NO_INFO, just for documentation 2023-09-10 14:39:09 +02:00
embr
ed09b66359 widgets: DE_ICE: better icon for good WiFi connection 2023-09-10 14:38:45 +02:00
embr
f17ad342e9 DE_ICE: Add connection speed indicator 2023-03-06 21:35:44 +01:00
embr
7524d79a1e DE_ICE: Parse connectivity status (HIGH, WEAK, UNSTABLE) 2023-02-20 08:41:14 +01:00
embr
8cfae681d6 widgets: DE_ICE: Print 'ICE 703' instead of 'ICE-703' 2023-02-20 08:40:46 +01:00
embr
db43af69d7 widgets: DE_ICE: Add arrival time for next stop 2023-02-20 08:26:24 +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
53bada3b54 widgets: _icomera: Print provider as well
Going from the DB format: 🚄 ICE-420 💨 69 km/h
To an SJ (icomera) train: 💨 69 km/h

Looks a bit silly. Better? 🚄 SJ 💨 69 km/h
2023-02-16 12:05:34 +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
809e5ed823 widgets: DE_ICE: Fix train number 2022-10-30 17:51:19 +01:00
embr
ed52c314d7 widgets: DE_ICE: Handle missing train numbers 2022-10-26 16:32:04 +02: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
027fa3c088 ambient_get_ssid: fall back to nmcli if iw has no ssid 2022-10-26 16:22:21 +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
embr
d4a9c8d11a
Merge pull request #9 from tjarksaul/master
ICE updates
2022-10-04 16:57:02 +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
a7766bdd7e README: i3s-rs example updates every 10s by default 2022-07-20 10:36:58 +02:00
embr
3385cfae5a README: add i3status-rs 2022-07-20 10:08:52 +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
embr
2cb14704fe
Merge pull request #11 from rrika/master
Add TransPennine Express to list of recognized SSIDs
2022-03-12 13:36:28 +01:00
Erika
2e01f6552e trains/_icomera: add rudimentary widget 2022-03-11 19:22:28 +00:00
Erika
913cc85e1a trains/_icomera: add TransPennine Express to list of recognized SSIDs 2022-03-11 19:00:34 +00:00
Erika
3647cef82a ambient_get_ssid: don't truncate SSID at first space 2022-03-11 18:59:26 +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
Tjark Saul
633c8ec932 Update ICE map URL 2020-09-27 19:16:43 +02:00
embr
28b7c9d3bf
Merge pull request #8 from fenhl/bitbar-config
Allow hiding BitBar plugin when inactive
2020-02-25 12:02:31 +00:00
embr
aea62b5bf9
Merge pull request #6 from mltnhm/icomera
Icomera hotspot support
2020-02-25 12:02:00 +00:00
Fenhl
912b0f37c5 bitbar: Fix config lookup 2020-02-16 05:50:59 +00:00
Fenhl
6ed62b1d9b Document the config option 2020-02-16 05:22:06 +00:00
Fenhl
d508212ca4 Make BitBar plugin configurable to hide when empty 2020-02-16 05:13:22 +00:00
embr
44d9f33546
Merge pull request #7 from fenhl/bitbar-path
bitbar: Amend PATH
2020-02-14 21:22:45 +00:00
Fenhl
56b0150a13 bitbar: Amend PATH 2020-02-14 18:20:11 +00: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
embr
ce911c5d25
Merge pull request #5 from tjarksaul/master
Support for Bitbar on macOS
2020-01-30 12:12:12 +00:00
Dominik M. Kwiatek
c47a7e4bd6 Key icomera vars by provider 2020-01-27 17:35:04 +00:00
Tjark Saul
97159ab6b5 Always use Emoji for widgets 2020-01-23 19:23:46 +01:00