Adrian Kumpf
a0d120f84d
Reorder priorities of city aliases ( #1589 )
...
* Update geocoder.ex
To fix #1030 , by moving the priority of "village" higher than "municipality".
* Reorder priorities of village and municipality aliases
Co-authored-by: shanbs <shanbs@gmail.com >
2021-05-02 15:48:17 +02:00
Adrian Kumpf
6d31adba00
Use Mix.Project.config/0 to get version at compile time
2021-03-13 21:06:12 +01:00
Adrian Kumpf
323eb0dd26
Refactor Geocoder to use the Tesla HTTP client
2021-03-13 13:14:02 +01:00
Adrian Kumpf
ff88b0acdb
Fix changing the address language
...
Addresses #1413
2021-03-10 20:27:39 +01:00
Adrian Kumpf
410d277f2e
Use built-in Ecto enum type
2021-01-09 00:08:36 +01:00
Adrian
c0c7cd5b77
Allow negative cost_per_unit for geofences ( #968 )
...
* Allow negative cost_per_unit for geofences
* Test cost calculation for negative cost
Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de >
2020-10-04 11:27:36 +02:00
Adrian Kumpf
64c428ee71
Gracefully handle locations that cannot be geocoded
...
Fixes #898
2020-09-05 01:42:32 +02:00
dependabot-preview[bot]
0dcce99926
Bump finch from 0.2.0 to 0.3.0 ( #809 )
2020-06-25 11:26:47 +00:00
Adrian Kumpf
0db6d6905c
Allow to set a cost by the minute per geo-fence
2020-05-30 12:33:23 +02:00
Adrian Kumpf
60631907ef
Replace mojito with finch
2020-05-14 14:11:20 +02:00
Adrian Kumpf
45d94d52b3
Implement database efficiency improvements
...
Closes #573
2020-04-11 14:49:44 +02:00
Adrian Kumpf
a36fb8d66c
Remove option to disable sleep mode
2020-04-02 16:33:33 +02:00
Adrian Kumpf
86a6bee239
Add support for session fees
...
Closes #455
2020-03-09 12:56:11 +01:00
Adrian Kumpf
1e3ada6968
Reorder city aliases
...
Closes #489
2020-03-06 14:28:36 +01:00
Adrian Kumpf
429de54a79
Allow geo-fences to overlap
...
If multiple geo-fences potentially cover a position, the geo-fence whose
centre is closest is selected.
2020-02-13 14:59:18 +01:00
Adrian Kumpf
be0fffe56b
Calculate charge cost based on location
...
Closes #386
2020-02-07 13:21:05 +01:00
Adrian Kumpf
f61315cb10
Implement TeslaFi import
...
Closes #316
2020-02-07 13:21:05 +01:00
Adrian Kumpf
7322e9d8c2
Set ON DELETE foreign key constraints
2020-02-06 15:51:30 +01:00
Adrian Kumpf
c217943862
Refresh addresses when changing language
2020-01-21 14:27:11 +01:00
Adrian Kumpf
0c1918d21b
Use osm_id instead of place_id
2020-01-21 14:27:11 +01:00
Adrian Kumpf
dbff8327bf
Add language setting
2020-01-21 14:27:11 +01:00
Adrian Kumpf
475c67f883
Add OSM aliases
2019-12-15 15:36:26 +01:00
Adrian Kumpf
93d3e817f9
Remove manual phase correction
2019-12-15 15:36:26 +01:00
Adrian Kumpf
dde12b0e5b
Add option to overwrite sleep mode per geo-fence
...
Resolves #251
2019-11-24 14:00:50 +01:00
Adrian Kumpf
f38a4221eb
Implement phase correction
2019-10-26 21:19:10 +02:00
Adrian Kumpf
bef950a1a9
Calculate actual charge energy used
2019-10-19 21:54:56 +02:00
Adrian Kumpf
abfa8c96d5
Device efficiency factor from charge data
2019-10-16 21:12:53 +02:00
Adrian Kumpf
d5691e2cea
Add GIST index based on ll_to_earth
2019-10-08 18:15:25 +02:00
Adrian Kumpf
c775e17328
Use exact locations for geo-fence lookups
2019-10-03 20:19:24 +02:00
Adrian Kumpf
35e1be2589
Allow geo-fences to have multiple addresses
2019-09-28 19:24:40 +02:00
Adrian Kumpf
c118049577
Check geo-fences on the database level
2019-09-26 11:37:54 +02:00
Adrian Kumpf
d0cec8435d
Set default LOCALE
2019-09-02 11:10:31 +02:00
Adrian Kumpf
23e58e752b
Replace HTTPoison with Mojito
2019-09-01 21:19:48 +02:00
Adrian Kumpf
3c58ae44b6
Read locale at runtime
2019-08-12 23:48:16 +02:00
Adrian Kumpf
d9f48add6f
Check geo-fences before reverse geocoding
2019-08-12 23:48:16 +02:00
Adrian Kumpf
2953441fc4
Rename addresses context
2019-08-12 23:48:16 +02:00