sanderdw / Dutch-Gas-prices-API

To run your own Dutch Gas prices API
6 stars 6 forks source link

Unable to find sensor with url / status code is '404' #5

Open poudenes opened 11 months ago

poudenes commented 11 months ago

Hi,

Since today I see those errors:

[2023-10-16 18:19:27] INFO    : DGP initialized, launching client
[2023-10-16 18:19:27] INFO    : Connecting to mqtt host 'core-mosquitto' with clientname 'f5a8083e-dutch-gas-prices'
[2023-10-16 18:19:27] INFO    : Using username 'hassiomqtt' to connect to 'core-mosquitto'
[2023-10-16 18:19:27] INFO    : Connected with result code '0'
[2023-10-16 18:20:47] INFO    : Received payload '{"fuel_type":"euro95","radius":5,"identifier":"work","latitude":52.21533779296963,"longitude":5.201640129089356, "friendly_name_template":"[brand] ([station_street])","to_publish":5}' on topic 'dgp/gas_stations'
[2023-10-16 18:20:47] INFO    : Received payload '{"fuel_type":"euro95","radius":5,"identifier":"home","latitude":52.33345317889207,"longitude":4.870217523934618, "friendly_name_template":"[brand] ([station_street])","to_publish":5}' on topic 'dgp/gas_stations'
[2023-10-16 18:25:04] INFO    : There are '24' stations within range for fuel type 'euro95'
[2023-10-16 18:25:04] INFO    : publishing stations to mqtt
[2023-10-16 18:25:04] INFO    : publishing station_id 3660 to mqtt
[2023-10-16 18:25:05] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_work_lowest_price_1', status code is '404'
[2023-10-16 18:25:05] INFO    : publishing station_id 3670 to mqtt
[2023-10-16 18:25:06] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_work_lowest_price_2', status code is '404'
[2023-10-16 18:25:06] INFO    : publishing station_id 3681 to mqtt
[2023-10-16 18:25:07] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_work_lowest_price_3', status code is '404'
[2023-10-16 18:25:07] INFO    : publishing station_id 3692 to mqtt
[2023-10-16 18:25:08] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_work_lowest_price_4', status code is '404'
[2023-10-16 18:25:08] INFO    : publishing station_id 3726 to mqtt
[2023-10-16 18:25:09] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_work_lowest_price_5', status code is '404'
[2023-10-16 18:25:09] INFO    : publishing stations done
[2023-10-16 18:25:09] INFO    : publishing status to mqtt
[2023-10-16 18:25:10] INFO    : publishing status done
[2023-10-16 18:25:27] INFO    : There are '30' stations within range for fuel type 'euro95'
[2023-10-16 18:25:27] INFO    : publishing stations to mqtt
[2023-10-16 18:25:27] INFO    : publishing station_id 3228 to mqtt
[2023-10-16 18:25:28] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_home_lowest_price_1', status code is '404'
[2023-10-16 18:25:28] INFO    : publishing station_id 11606 to mqtt
[2023-10-16 18:25:29] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_home_lowest_price_2', status code is '404'
[2023-10-16 18:25:29] INFO    : publishing station_id 3201 to mqtt
[2023-10-16 18:25:30] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_home_lowest_price_3', status code is '404'
[2023-10-16 18:25:30] INFO    : publishing station_id 3124 to mqtt
[2023-10-16 18:25:31] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_home_lowest_price_4', status code is '404'
[2023-10-16 18:25:31] INFO    : publishing station_id 3106 to mqtt
[2023-10-16 18:25:32] WARNING : Unable to find sensor with url 'http://supervisor/core/api/states/sensor.gas_station_euro95_home_lowest_price_5', status code is '404'
[2023-10-16 18:25:32] INFO    : publishing stations done
[2023-10-16 18:25:32] INFO    : publishing status to mqtt
[2023-10-16 18:25:33] INFO    : publishing status done

When removing all sensors in HA. Remove all MQTT lines on MQTT side. Restart automation. Then everything is back again.

bgrr74 commented 10 months ago

same problem here since this week. I think it started after updating to the Home Assistant 2023.10.5 and Operating System 11.0 dutch_gas_prices_2023-10-24T15-15-07.log