Closed BebeMischa closed 3 years ago
Did you create a sensor?
https://github.com/skons/hassio-addons/blob/main/dutch_gas_prices/DOCS.md
Yes, it's in configuration.yaml
I think, I found a possible reason. I did dive into Portainer and see, that one of the images installed by the addon stays unused. There is no container made with that image. So, i think, the installation process of this addon fails somewhere...
Before we dive into docker, which is not completely my expertise, i want to know a few things in regards to your container setup
I think, I found a possible reason. I did dive into Portainer and see, that one of the images installed by the addon stays unused. There is no container made with that image. So, i think, the installation process of this addon fails somewhere...
I thought i could not explain this one, but it is an easy one. It is showing amd64 as unused and this is correct. It has downloaded the image and it is used as base for the DGP container. I followed the official guidelines and there is no mention of cleaning up those images. An unused image, i think, is not a problem.
1.
Where do I check that?
Sensor in configuration.yaml:
- platform: qbittorrent
url: 'http://192.168.178.47:8080'
username: XXXXX
password: XXXXXX
- platform: rest
name: Gas stations within radius
scan_interval: 600
resource_template: http://homeassistant.local:5035/api/v1/gas_stations/euro98?radius=10&longitude={{ state_attr("zone.home", "longitude") }}&latitude={{ state_attr("zone.home", "latitude") }}
method: GET
json_attributes:
- gas_stations
value_template: >
{% if (value_json.gas_stations[0].prijs) %}
{{ value_json.gas_stations | length }}
{% endif %}
# DLNA
discovery:
enable:
- dlna_dmr
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Dutch gas prices
Get gas prices from dutch gas stations
-----------------------------------------------------------
Add-on version: 2021.7.16.2
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster) (amd64 / qemux86-64)
Home Assistant Core: 2021.7.2
Home Assistant Supervisor: 2021.06.8
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:24:29] INFO: Starting dutch gas prices...
INFO: Started server process [296]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:5035 (Press CTRL+C to quit
So, the only thing missing, is the sensor...
I do not know much about Docker too, but I know, that this unused image has not been there yesterday. So I do think, that the addon tryed to install a container, but it failed... As this is my only Python based addon, I'm pretty sure, it somehow plays a role here...
It is running, but i do not see requests coming in. In your rest sensor you use http://homeassistant.local:5035, maybe use the ip of your HA?
What happens if you browse to http://homeassistant.local:5035 or even better, http://homeassistant.local:5035/docs?
Bingo, we are closer... sensor is made now. Thank's.
But, now I see an error in the log, and the sensor does not show data. So please, stay with me a little longer :-)
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Dutch gas prices
Get gas prices from dutch gas stations
-----------------------------------------------------------
Add-on version: 2021.7.16.2
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster) (amd64 / qemux86-64)
Home Assistant Core: 2021.7.2
Home Assistant Supervisor: 2021.06.8
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:24:29] INFO: Starting dutch gas prices...
INFO: Started server process [296]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:5035 (Press CTRL+C to quit)
INFO: 172.30.32.1:38576 - "GET /api/v1/gas_stations/euro98?radius=10&longitude=None&latitude=None HTTP/1.1" 422 Unprocessable Entity
As you can see the latitude and longitude have got the value None. If this is after a reboot, then it is expected and a known issue (see the docs ;) ). If your system is already up for a while, then zone.home is not set. I don’t know what to do about that, bur you could set your long and lat in the rest sensor
it was a question of patience, I see...
{'station_id': 6952, 'prijs': 1.94, 'ocr_station': 'Rijksstraatweg 248', 'timestamp': '2021-07-16T19:13:02.853179+00:00', 'status': 'Ok'}
Station id 3318 new request
{'station_id': 3318, 'prijs': 1.95, 'ocr_station': 'Gooiseweg 51', 'timestamp': '2021-07-16T19:13:04.996418+00:00', 'status': 'Ok'}
Station id 7074 new request
{'station_id': 7074, 'prijs': 1.95, 'ocr_station': 'Groenlandsekade 30', 'timestamp': '2021-07-16T19:13:06.592737+00:00', 'status': 'Ok'}
Station id 3427 new request
{'station_id': 3427, 'prijs': 1.95, 'ocr_station': 'Hogeweyselaan 177', 'timestamp': '2021-07-16T19:13:08.653924+00:00', 'status': 'Ok'}
Station id 6805 new request
{'station_id': 6805, 'prijs': 1.96, 'ocr_station': 'Hollandse Kade 1', 'timestamp': '2021-07-16T19:13:10.880465+00:00', 'status': 'Ok'}
Station id 3097 new request
{'station_id': 3097, 'prijs': 1.96, 'ocr_station': 'Parnassusweg 850', 'timestamp': '2021-07-16T19:13:13.150056+00:00', 'status': 'Ok'}
Station id 3161 new request
{'station_id': 3161, 'prijs': 1.96, 'ocr_station': 'Europaboulevard 24', 'timestamp': '2021-07-16T19:13:15.259078+00:00', 'status': 'Ok'}
Station id 3154 new request
{'station_id': 3154, 'prijs': 1.96, 'ocr_station': 'Hobbemakade 120a', 'timestamp': '2021-07-16T19:13:17.180877+00:00', 'status': 'Ok'}
Station id 6818 new request
{'station_id': 6818, 'prijs': 1.97, 'ocr_station': 'Aalsmeerderweg 497', 'timestamp': '2021-07-16T19:13:22.468087+00:00', 'status': 'Ok'}
Station id 3346 new request
{'station_id': 3346, 'prijs': 1.97, 'ocr_station': 'Diemerpolderweg 2', 'timestamp': '2021-07-16T19:13:24.583561+00:00', 'status': 'Ok'}
Station id 3271 new request
{'station_id': 3271, 'prijs': 1.97, 'ocr_station': 'Laarderhoogtweg 5', 'timestamp': '2021-07-16T19:13:26.840940+00:00', 'status': 'Ok'}
Station id 3267 new request
{'station_id': 3267, 'prijs': 1.97, 'ocr_station': 'Muntbergweg 20', 'timestamp': '2021-07-16T19:13:29.425373+00:00', 'status': 'Ok'}
Station id 3170 new request
{'station_id': 3170, 'prijs': 1.97, 'ocr_station': 'Tweede vd Helststraat', 'timestamp': '2021-07-16T19:13:32.207236+00:00', 'status': 'Ok'}
Station id 28401 new request
{'station_id': 28401, 'prijs': 1.98, 'ocr_station': 'Provincialeweg 6', 'timestamp': '2021-07-16T19:13:34.726999+00:00', 'status': 'Ok'}
Station id 3342 new request
{'station_id': 3342, 'prijs': 1.98, 'ocr_station': 'Reewijkplein 1', 'timestamp': '2021-07-16T19:13:36.843711+00:00', 'status': 'Ok'}
Station id 11441 new request
{'station_id': 11441, 'prijs': 1.98, 'ocr_station': 'Cornelis Drebbelstraat', 'timestamp': '2021-07-16T19:13:38.410386+00:00', 'status': 'Ok'}
Station id 3230 new request
{'station_id': 3230, 'prijs': 1.98, 'ocr_station': 'Gooiseweg NO 11', 'timestamp': '2021-07-16T19:13:42.687848+00:00', 'status': 'Ok'}
Station id 3321 new request
{'station_id': 3321, 'prijs': 1.997, 'ocr_station': 'Gooiseweg 50', 'timestamp': '2021-07-16T19:13:44.876055+00:00', 'status': 'Ok'}
Station id 3441 new request
{'station_id': 3441, 'prijs': 1.99, 'ocr_station': 'Gooilandseweg 2 (N23¢', 'timestamp': '2021-07-16T19:13:47.332142+00:00', 'status': 'Ok'}
Station id 3031 new request
{'station_id': 3031, 'prijs': 2.0, 'ocr_station': 'Noorddammerlaan 11-', 'timestamp': '2021-07-16T19:13:49.822714+00:00', 'status': 'Ok'}
Station id 3336 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3336, 'prijs': 2.02, 'ocr_station': 'Iburglaan 11', 'timestamp': '2021-07-16T19:13:52.426857+00:00', 'status': 'Ok'}
Station id 3102 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3102, 'prijs': 2.03, 'ocr_station': 'Beneluxbaan 9 (wz)', 'timestamp': '2021-07-16T19:13:54.589892+00:00', 'status': 'Ok'}
Station id 3106 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3106, 'prijs': 2.03, 'ocr_station': 'Beneluxbaan 10 (0z)', 'timestamp': '2021-07-16T19:13:56.620551+00:00', 'status': 'Ok'}
Station id 3362 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3362, 'prijs': 2.03, 'ocr_station': 'Muiderstraatweg 59', 'timestamp': '2021-07-16T19:13:59.136663+00:00', 'status': 'Ok'}
Station id 3085 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3085, 'prijs': 2.03, 'ocr_station': 'Oudekerkerlaan 150', 'timestamp': '2021-07-16T19:14:03.964331+00:00', 'status': 'Ok'}
Station id 3201 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3201, 'prijs': 2.03, 'ocr_station': 'Nwe Utrechtseweg 10', 'timestamp': '2021-07-16T19:14:06.525609+00:00', 'status': 'Ok'}
Station id 3227 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3227, 'prijs': 2.03, 'ocr_station': 'Johanv Hasseltweg 73', 'timestamp': '2021-07-16T19:14:08.996170+00:00', 'status': 'Ok'}
Station id 3032 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3032, 'prijs': 2.03, 'ocr_station': 'Anthony Fokkerweg 8', 'timestamp': '2021-07-16T19:14:10.956910+00:00', 'status': 'Ok'}
Station id 6860 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 6860, 'prijs': 2.03, 'ocr_station': 'Kollenbergweg 11', 'timestamp': '2021-07-16T19:14:12.733699+00:00', 'status': 'Ok'}
Station id 3238 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3238, 'prijs': 2.04, 'ocr_station': 'Herenweg 165', 'timestamp': '2021-07-16T19:14:14.231237+00:00', 'status': 'Ok'}
Station id 3425 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3425, 'prijs': 2.04, 'ocr_station': 'Singel 3', 'timestamp': '2021-07-16T19:14:16.977653+00:00', 'status': 'Ok'}
Station id 6811 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 6811, 'prijs': 2.04, 'ocr_station': 'Zuiderzeeweg 1000', 'timestamp': '2021-07-16T19:14:18.921776+00:00', 'status': 'Ok'}
Station id 3130 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3130, 'prijs': 2.04, 'ocr_station': 'Marnixstraat 250', 'timestamp': '2021-07-16T19:14:23.361161+00:00', 'status': 'Ok'}
Station id 3067 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3067, 'prijs': 2.04, 'ocr_station': 'Stadionplein 36', 'timestamp': '2021-07-16T19:14:25.602566+00:00', 'status': 'Ok'}
Station id 3534 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3534, 'prijs': 2.05, 'ocr_station': 'Rijksweg A1 Zuidzijde', 'timestamp': '2021-07-16T19:14:27.548268+00:00', 'status': 'Ok'}
Station id 3229 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3229, 'prijs': 2.05, 'ocr_station': 'Gooiseweg ZW 10', 'timestamp': '2021-07-16T19:14:29.645315+00:00', 'status': 'Ok'}
Station id 3226 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3226, 'prijs': 2.05, 'ocr_station': 'Sarphatistraat 225', 'timestamp': '2021-07-16T19:14:31.904846+00:00', 'status': 'Ok'}
Station id 3017 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3017, 'prijs': 2.05, 'ocr_station': 'Rijksweg A9 Noordzijde', 'timestamp': '2021-07-16T19:14:33.960637+00:00', 'status': 'Ok'}
Station id 3547 new request
_search_value failed: could not convert string to float: '2..'
{'station_id': 3547, 'prijs': 2.05, 'ocr_station': 'Rijksweg A1 Noordzijde', 'timestamp': '2021-07-16T19:14:36.166826+00:00', 'status': 'Ok'}
{'gas_stations': [{'brand': 'Makro', 'name': 'Amsterdam-Duivendrecht', 'latitude': 52.32508, 'longitude': 4.92542, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3228, 'prijs': 1.87, 'ocr_station': 'De Flinesstraat 9', 'timestamp': '2021-07-16T19:12:43.188189+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'Marwijk Kooij', 'latitude': 52.33421, 'longitude': 4.92868, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3233, 'prijs': 1.87, 'ocr_station': 'Verlengde v Marwijk Kc', 'timestamp': '2021-07-16T19:12:45.560964+00:00', 'status': 'Ok'}, {'brand': '', 'name': 'Maxis', 'latitude': 52.3337, 'longitude': 5.02515, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3421, 'prijs': 1.88, 'ocr_station': 'Pampusweg 1', 'timestamp': '2021-07-16T19:12:47.168052+00:00', 'status': 'Ok'}, {'brand': 'Sakko', 'name': 'Amstelveen', 'latitude': 52.28909, 'longitude': 4.86706, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3090, 'prijs': 1.9, 'ocr_station': 'Newa 2', 'timestamp': '2021-07-16T19:12:49.784398+00:00', 'status': 'Ok'}, {'brand': 'Tamoil', 'name': 'Amstelveen', 'latitude': 52.311861, 'longitude': 4.874635, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3124, 'prijs': 1.9, 'ocr_station': 'Westelijk Halfrond 70', 'timestamp': '2021-07-16T19:12:51.491295+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'Havenstraat', 'latitude': 52.34897, 'longitude': 4.85523, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3059, 'prijs': 1.91, 'ocr_station': 'Havenstraat5', 'timestamp': '2021-07-16T19:12:53.591450+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'Leeuwenveld', 'latitude': 52.31386, 'longitude': 5.04202, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3455, 'prijs': 1.91, 'ocr_station': 'Leeuwenveldseweg 21', 'timestamp': '2021-07-16T19:12:56.447098+00:00', 'status': 'Ok'}, {'brand': 'Tango', 'name': 'Hamerstraat', 'latitude': 52.38438, 'longitude': 4.92257, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3220, 'prijs': 1.92, 'ocr_station': 'Hamerstraat 16', 'timestamp': '2021-07-16T19:12:58.812748+00:00', 'status': 'Ok'}, {'brand': 'AVIA', 'name': 'XPress', 'latitude': 52.230757, 'longitude': 4.997918, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 6952, 'prijs': 1.94, 'ocr_station': 'Rijksstraatweg 248', 'timestamp': '2021-07-16T19:13:02.853179+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'Ganzenhoef', 'latitude': 52.31763, 'longitude': 4.96299, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3318, 'prijs': 1.95, 'ocr_station': 'Gooiseweg 51', 'timestamp': '2021-07-16T19:13:04.996418+00:00', 'status': 'Ok'}, {'brand': '', 'name': 'RS-Eleven', 'latitude': 52.238365, 'longitude': 4.973835, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 7074, 'prijs': 1.95, 'ocr_station': 'Groenlandsekade 30', 'timestamp': '2021-07-16T19:13:06.592737+00:00', 'status': 'Ok'}, {'brand': 'Tango', 'name': 'Weesp', 'latitude': 52.31471, 'longitude': 5.02719, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3427, 'prijs': 1.95, 'ocr_station': 'Hogeweyselaan 177', 'timestamp': '2021-07-16T19:13:08.653924+00:00', 'status': 'Ok'}, {'brand': 'Tamoil', 'name': 'Express', 'latitude': 52.279102, 'longitude': 4.971093, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 6805, 'prijs': 1.96, 'ocr_station': 'Hollandse Kade 1', 'timestamp': '2021-07-16T19:13:10.880465+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Buitenveldert (wz)', 'latitude': 52.33594, 'longitude': 4.86848, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3097, 'prijs': 1.96, 'ocr_station': 'Parnassusweg 850', 'timestamp': '2021-07-16T19:13:13.150056+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Europaboulevard', 'latitude': 52.32825, 'longitude': 4.88957, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3161, 'prijs': 1.96, 'ocr_station': 'Europaboulevard 24', 'timestamp': '2021-07-16T19:13:15.259078+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Hobbemakade', 'latitude': 52.34964, 'longitude': 4.88541, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3154, 'prijs': 1.96, 'ocr_station': 'Hobbemakade 120a', 'timestamp': '2021-07-16T19:13:17.180877+00:00', 'status': 'Ok'}, {'brand': '', 'name': 'Loogman T&W', 'latitude': 52.289268, 'longitude': 4.821893, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 6818, 'prijs': 1.97, 'ocr_station': 'Aalsmeerderweg 497', 'timestamp': '2021-07-16T19:13:22.468087+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Diemen', 'latitude': 52.346064, 'longitude': 4.977922, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3346, 'prijs': 1.97, 'ocr_station': 'Diemerpolderweg 2', 'timestamp': '2021-07-16T19:13:24.583561+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Laarderhoogtweg', 'latitude': 52.30265, 'longitude': 4.94723, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3271, 'prijs': 1.97, 'ocr_station': 'Laarderhoogtweg 5', 'timestamp': '2021-07-16T19:13:26.840940+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Muntbergweg', 'latitude': 52.30027, 'longitude': 4.94617, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3267, 'prijs': 1.97, 'ocr_station': 'Muntbergweg 20', 'timestamp': '2021-07-16T19:13:29.425373+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'de Pijp', 'latitude': 52.34936, 'longitude': 4.89462, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3170, 'prijs': 1.97, 'ocr_station': 'Tweede vd Helststraat', 'timestamp': '2021-07-16T19:13:32.207236+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Diemen', 'latitude': 52.327094, 'longitude': 4.97104, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 28401, 'prijs': 1.98, 'ocr_station': 'Provincialeweg 6', 'timestamp': '2021-07-16T19:13:34.726999+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Gaasperdam', 'latitude': 52.29628, 'longitude': 4.97465, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3342, 'prijs': 1.98, 'ocr_station': 'Reewijkplein 1', 'timestamp': '2021-07-16T19:13:36.843711+00:00', 'status': 'Ok'}, {'brand': '', 'name': 'Garage Lux', 'latitude': 52.352602, 'longitude': 4.928822, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 11441, 'prijs': 1.98, 'ocr_station': 'Cornelis Drebbelstraat', 'timestamp': '2021-07-16T19:13:38.410386+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Gooiseweg NO', 'latitude': 52.34746, 'longitude': 4.92664, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3230, 'prijs': 1.98, 'ocr_station': 'Gooiseweg NO 11', 'timestamp': '2021-07-16T19:13:42.687848+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Kost (N236 nz)', 'latitude': 52.302476, 'longitude': 5.035467, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3441, 'prijs': 1.99, 'ocr_station': 'Gooilandseweg 2 (N23¢', 'timestamp': '2021-07-16T19:13:47.332142+00:00', 'status': 'Ok'}, {'brand': 'Total', 'name': 'Flierbos', 'latitude': 52.31552, 'longitude': 4.96395, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3321, 'prijs': 1.997, 'ocr_station': 'Gooiseweg 50', 'timestamp': '2021-07-16T19:13:44.876055+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Amstelveen', 'latitude': 52.29168, 'longitude': 4.84202, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3031, 'prijs': 2.0, 'ocr_station': 'Noorddammerlaan 11-', 'timestamp': '2021-07-16T19:13:49.822714+00:00', 'status': 'Ok'}, {'brand': 'BP', 'name': 'Kriterion', 'latitude': 52.36901, 'longitude': 4.97038, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3336, 'prijs': 2.02, 'ocr_station': 'Iburglaan 11', 'timestamp': '2021-07-16T19:13:52.426857+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'Beneluxbaan West', 'latitude': 52.31729, 'longitude': 4.86956, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3102, 'prijs': 2.03, 'ocr_station': 'Beneluxbaan 9 (wz)', 'timestamp': '2021-07-16T19:13:54.589892+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'Beneluxbaan-Oost', 'latitude': 52.31778, 'longitude': 4.87018, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3106, 'prijs': 2.03, 'ocr_station': 'Beneluxbaan 10 (0z)', 'timestamp': '2021-07-16T19:13:56.620551+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'Diemen', 'latitude': 52.33306, 'longitude': 4.9822, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3362, 'prijs': 2.03, 'ocr_station': 'Muiderstraatweg 59', 'timestamp': '2021-07-16T19:13:59.136663+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'Oudekerkerlaan', 'latitude': 52.29706, 'longitude': 4.86603, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3085, 'prijs': 2.03, 'ocr_station': 'Oudekerkerlaan 150', 'timestamp': '2021-07-16T19:14:03.964331+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'Utrechtse Brug (A2 wz)', 'latitude': 52.33225, 'longitude': 4.91211, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3201, 'prijs': 2.03, 'ocr_station': 'Nwe Utrechtseweg 10', 'timestamp': '2021-07-16T19:14:06.525609+00:00', 'status': 'Ok'}, {'brand': 'Esso', 'name': 'van Hasselt', 'latitude': 52.38697, 'longitude': 4.9248, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3227, 'prijs': 2.03, 'ocr_station': 'Johanv Hasseltweg 73', 'timestamp': '2021-07-16T19:14:08.996170+00:00', 'status': 'Ok'}, {'brand': 'Shell', 'name': 'Hansa', 'latitude': 52.34405, 'longitude': 4.84205, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3032, 'prijs': 2.03, 'ocr_station': 'Anthony Fokkerweg 8', 'timestamp': '2021-07-16T19:14:10.956910+00:00', 'status': 'Ok'}, {'brand': 'Texaco', 'name': 'Kollenberg', 'latitude': 52.305733, 'longitude': 4.934009, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 6860, 'prijs': 2.03, 'ocr_station': 'Kollenbergweg 11', 'timestamp': '2021-07-16T19:14:12.733699+00:00', 'status': 'Ok'}, {'brand': 'AVIA', 'name': 'Stoof', 'latitude': 52.21897, 'longitude': 4.93314, 'fuel': <FuelName.euro98: 'euro98'>, 'station_id': 3238, 'prijs': 2.04, 'ocr_station': 'Herenweg 165', 'timestamp': '2021-07-16T19:14:14.231237+00:00', '
So i get data now...
But:
Ah right, a proper bug. Got to fix that 😝
Anyway, very very big thank for fast, friendly and skilled assistance. 👍
Lowered radius from 10 to 5, it works fine...
A new issue has been pushed which removes the error from your log. I also saw some weird stuff if things fail en then work out. The way the sensor is filled right now with the separate python script is not the way it should work. I hope i can fix this in the near future, maybe i need some help with that, i don't know. The best thing you can do is update, reboot and wait if that sensor shows data. You will get separate sensors with the individual gas stations sorted by cheapest first. You should look for those.
Please let me know if everything keeps working
I will try and communicate. Feel free to call me anytime, if testing is needed...
Current version: 2021.7.16.2 (if that is the latest, other ways HA does not see update now), confirmed working...
Today i woke up and got 2021.7.16.3 served for breakfast, and it stil works fine ;-)
Installed exactly, as the manual states.
Only new entities, I get, are update sensors and the automation.
But no entities to see the gas prices.
Running on HA supervised 2021.7.2, Docker, Debian 10, all up to date.
Logs after whole day running:
Core log: