yyrkoon94 / lovelace-idf-mobilite

Lovelace Card for IDF Mobilité (Bus, Métro, RER)
19 stars 7 forks source link

API ERROR ! #21

Open mcarbonneaux opened 5 months ago

mcarbonneaux commented 5 months ago

image

at hours in the night the bus line stop sending detail on the next stop (ex: STIF:StopArea:SP:54156: at 23h) :

we receive :

{
    "Siri": {
        "ServiceDelivery": {
            "ResponseTimestamp": "2024-01-17T23:04:00.192Z",
            "ProducerRef": "IVTR_HET",
            "ResponseMessageIdentifier": "IVTR_HET:ResponseMessage:0aededae-92d8-4ed1-ba30-8c33f58d1a5e:LOC:",
            "StopMonitoringDelivery": [{
                    "ResponseTimestamp": "2024-01-17T23:04:00.200Z",
                    "Version": "2.0",
                    "Status": "true",
                    "MonitoredStopVisit": []
                }
            ]
        }
    }
}
yyrkoon94 commented 5 months ago

Hello @mcarbonneaux,

I know that 'API ERROR' is probably not the good label. I think I will change the label to 'Indisponible' or something like that ...

mcarbonneaux commented 5 months ago

i think in my case is "Pas de transport prévu"