hasl-sensor / integration

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor
https://hasl.sorlov.com
Apache License 2.0
36 stars 8 forks source link

SLAPI_API_Error 5322: None (Departure Board) #61

Closed PerJarlemark closed 1 year ago

PerJarlemark commented 1 year ago

I started to get this Error about 2023-08-23 and the sensors are not updated anymore

Logger: custom_components.hasl3.slapi
Source: custom_components/hasl3/slapi/slapi.py:176
Integration: Svensk Kollektivtrafikssensor (HASL) (documentation, issues)
First occurred: 08:34:41 (229 occurrences)
Last logged: 18:18:29

SLAPI_API_Error 5322: None (Departure Board)

Home Assistant 2023.7.2 Supervisor 2023.08.1 Operating System 10.3

grobius commented 1 year ago

+1

System info:

Home Assistant 2023.8.4 (also on 2023.8.3) Supervisor 2023.08.1 Operating System 10.5

dankfred commented 1 year ago

Seems like this is an issue on the SL API side, getting the same when requesting the data from the API directly:

{ "StatusCode": 5322, "Message": "Could not retrive information for buses, trains, trams or metro.", "ExecutionTime": 127, "ResponseData": { "LatestUpdate": "0001-01-01T00:00:00", "DataAge": 0, "Metros": [], "Buses": [], "Trains": [], "Trams": [], "Ships": [], "StopPointDeviations": [] } }

See http://status.trafiklab.se/2412460

PerJarlemark commented 1 year ago

It seems the API is still having issues found a thread on their site discussing the issue and why this old API not beeing replaced yet

https://support.trafiklab.se/org/trafiklabse/d/frekvent-felmeddelande/

Also the status page show it's been down for some time now http://status.trafiklab.se/2412460

DSorlov commented 1 year ago

Not a HASL error =(