Carbu_com icon indicating copy to clipboard operation
Carbu_com copied to clipboard

Distance to stations

Open ronbesouw opened this issue 1 year ago • 5 comments

Is there an option to change the distance to the cheapest petrol station? At the moment 5 and 10 KM are default. I would like for example 1 or 2 KM.

ronbesouw avatar Aug 06 '24 08:08 ronbesouw

hi, this isn't so easy to do to make it configurable. But the main sensor should be pointing to the location closest to the requested location. Why would you have this specific need, maybe another solution might be a better fit?

myTselection avatar Aug 22 '24 22:08 myTselection

I have same question. 10Km is maybe not best distance. For me I wanna know prices for local, 2km and 5km. Maybe you can create insert fields in your config:

First distance: (FIELD) Second distance: (FIELD)

with this value you can do the query action to manage the gas stations?

poudenes avatar Oct 11 '24 07:10 poudenes

ok, I'll see what I could do for a next release...

myTselection avatar Oct 11 '24 11:10 myTselection

It's a good request, for my example, I know at 12km I have the cheapest station of the region, but I cannot grab it with the 10km limitation... doing some changes in sensor.py to try by myself, but distances options seems the most simple for everyone.

alexlec avatar Jan 10 '25 10:01 alexlec

This would be a very welcome option for me as well. I live near a river and the addons keeps selecting a gas station across said river, which is a 21minute drive, while there is another station (same brand) at 4km/5min away which is usally around 0.5 cents more expensive than the one across the river.

Being able to change the default 5km to 4km would solve this issue for me.

NoobOnTour024 avatar May 25 '25 13:05 NoobOnTour024