Needs more error handling
because ICE wifi is as reliable as ICE timetables:
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160018762, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX': 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160019412, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX': 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160020096, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX'
: 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160020872, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX'
: 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160021423, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX'
: 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160021965, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX'
: 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
{'bapInstalled': True, 'trainType': 'ICE', 'serverTime': 1694160022610, 'internet': 'HIGH', 'serviceLevel': 'AVAILABLE_SERVICE', 'wagonClass': 'FIRST', 'gpsStatus': 'VALID', 'tileY': -191, 'series': '412', 'tileX'
: 132, 'longitude': 11.4559, 'speed': 199.0, 'latitude': 48.28808, 'tzn': 'ICE9012', 'connection': True, 'connectivity': {'remainingTimeSeconds': 600, 'nextState': 'HIGH', 'currentState': 'UNSTABLE'}}
Traceback (most recent call last):
File "/flash/sys/main.py", line 3, in <module>
File "/flash/sys/st3m/run.py", line 195, in run_main
File "/flash/sys/st3m/run.py", line 131, in run_view
File "/flash/sys/st3m/reactor.py", line 114, in run
File "/flash/sys/st3m/reactor.py", line 120, in _run_once
File "/flash/sys/st3m/reactor.py", line 145, in _run_top
File "/flash/sys/st3m/processors.py", line 58, in think
File "/flash/sys/st3m/ui/elements/overlays.py", line 83, in think
File "/flash/sys/st3m/ui/view.py", line 179, in think
File "/flash/sys/apps/rahix-FLOW3RonICE/__init__.py", line 148, in think
File "urequests.py", line 180, in get
File "urequests.py", line 93, in request
OSError: [Errno 113] ECONNABORTED