Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a7d48ee
Added translations, removed ps2 driver, reused capabilities
kaohlive Feb 10, 2024
5655dd5
Some addiotional translations
kaohlive Feb 10, 2024
bcc9aeb
Merge branch 'master' of https://github.com/kaohlive/Polestar
kaohlive Feb 10, 2024
0e1f132
Merge conflict handling
kaohlive Feb 10, 2024
cfa38d1
Merge branch 'Coderaxx:master' into master
kaohlive Feb 18, 2024
739fc3d
Remove duplicate battery, confusing
kaohlive Feb 18, 2024
09c303a
Merge branch 'Coderaxx:master' into master
kaohlive Apr 26, 2024
39f5d8b
Added support for charging power
kaohlive Apr 26, 2024
999d245
Bump version to v2.2.0
kaohlive May 6, 2024
17e72ea
Bump version to v2.3.0
kaohlive Aug 9, 2024
af178ad
Changed polestar vehicle to new device class car
kaohlive Aug 9, 2024
4a26250
Bump version to v2.3.1
kaohlive Sep 1, 2024
bbb6852
Fix on flow triggers
kaohlive Sep 1, 2024
bd5b6d1
Bump version to v2.3.2
kaohlive Sep 1, 2024
d8227bf
hotfix on csv driver
kaohlive Sep 1, 2024
21dbc98
Bump version to v2.3.3
kaohlive Oct 6, 2024
05b1558
Improved insights on power measurements
kaohlive Oct 6, 2024
958f296
Bump version to v2.3.4
kaohlive Nov 12, 2024
15091d1
update to fix api changes
kaohlive Nov 12, 2024
e925e16
Bump version to v2.3.5
kaohlive Nov 20, 2024
10ec652
First version of widget support
kaohlive Dec 7, 2024
3cb151b
Bump version to v2.4.0
kaohlive Dec 7, 2024
265149f
Widget, service warning and login bug fix
kaohlive Dec 7, 2024
f7da1c8
Bump version to v2.4.1
kaohlive Dec 7, 2024
fceeb77
fix realtime event to widget
kaohlive Dec 7, 2024
4451b50
Bump version to v2.4.2
kaohlive Dec 7, 2024
6a5094e
fix status updates for widget
kaohlive Dec 7, 2024
b9d3154
Bump version to v2.4.3
kaohlive Dec 8, 2024
c582f39
stability improvement
kaohlive Dec 8, 2024
cf125c2
Bump version to v2.4.4
kaohlive Dec 8, 2024
d4e985b
service warning improvement
kaohlive Dec 8, 2024
71c1c43
Bump version to v2.4.5
kaohlive Dec 9, 2024
e83177b
Update preview of widget
kaohlive Dec 9, 2024
ad084c1
Bump version to v2.4.6
kaohlive Dec 15, 2024
badbb1d
Fix for another api change on polestar side
kaohlive Dec 15, 2024
ad02577
Bump version to v2.5.0
kaohlive Jan 26, 2025
a385aac
Added power meter with estimated overall usage
kaohlive Jan 26, 2025
1369029
Bump version to v2.5.1
kaohlive Feb 4, 2025
21202a2
Attempt to fix new api issue
kaohlive Feb 4, 2025
d22d9c0
Bump version to v2.6.0
kaohlive Apr 3, 2025
b2fdd03
Authentication fix and new capabilities
kaohlive Apr 3, 2025
6b09709
Login error fix
kaohlive Apr 20, 2025
9886e55
Bump version to v2.6.1
kaohlive Apr 20, 2025
a36f675
Bump version to v2.6.2
kaohlive Apr 20, 2025
fe3bee9
Login error fix
kaohlive Apr 20, 2025
9dc2f02
Refactor for new car telematics data model
kaohlive May 25, 2025
8aa5842
Bump version to v2.7.1
kaohlive Jun 1, 2025
d0e3408
Added support for new ev charging states
kaohlive Jun 1, 2025
2d563c4
Bump version to v2.7.2
kaohlive Jun 12, 2025
a6f5cba
Fixed CSV receiver driver
kaohlive Jun 12, 2025
40e2340
Bump version to v2.7.3
kaohlive Aug 31, 2025
5d35cc9
Added upgrade path for existing cars for homey energy
kaohlive Aug 31, 2025
67add9b
Bump version to v2.7.4
kaohlive Sep 1, 2025
599f8eb
More rebost energy upgrade detection
kaohlive Sep 1, 2025
940753a
added testing scripts to find more details from the api, no new field…
kaohlive Oct 26, 2025
a64988b
Bump version to v2.7.5
kaohlive Oct 26, 2025
d77aecb
Changed api, no linger supports images
kaohlive Oct 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"permissions": {
"allow": [
"Bash(node -e:*)"
],
"deny": [],
"ask": []
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
drivers/polestar-2/*
drivers/polestar-2-beta/*
.homeyignore
/env.json
/env_secret.json
72 changes: 72 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,77 @@
},
"2.1.2": {
"en": "Removed summary images from the device"
},
"2.2.0": {
"en": "Added support for charge speed details"
},
"2.3.0": {
"en": "Changed polestar vehicle to new device class car"
},
"2.3.1": {
"en": "Fix for trigger events"
},
"2.3.2": {
"en": "hotfix on the csv driver"
},
"2.3.3": {
"en": "Improved insights on power measurements"
},
"2.3.4": {
"en": "update to fix api changes"
},
"2.3.5": {
"en": "Update npm modules"
},
"2.4.0": {
"en": "Widget, service warning and login bug fix"
},
"2.4.1": {
"en": "preview images"
},
"2.4.2": {
"en": "fix widget update on device state change"
},
"2.4.3": {
"en": "stability improvement"
},
"2.4.4": {
"en": "service warning improvement"
},
"2.4.5": {
"en": "Update preview of widget"
},
"2.4.6": {
"en": "Fix for another api change on polestar side"
},
"2.5.0": {
"en": "Added power meter with estimated overall usage"
},
"2.5.1": {
"en": "Attempt to fix new api issue"
},
"2.6.0": {
"en": "Authentication fix and new capabilities"
},
"2.6.1": {
"en": "Another login fix"
},
"2.6.2": {
"en": "Fine tune the login error message"
},
"2.7.1": {
"en": "Added support for new ev charging states"
},
"2.7.2": {
"en": "Fixed CSV receiver driver"
},
"2.7.3": {
"en": "Added upgrade path for existing cars for homey energy"
},
"2.7.4": {
"en": "More rebost energy upgrade detection"
},
"2.7.5": {
"en": "Changed api, no linger supports images"
}
}
51 changes: 34 additions & 17 deletions .homeycompose/app.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"id": "com.Coderax.Polestar",
"version": "2.1.2",
"compatibility": ">=5.0.0",
"version": "2.7.5",
"compatibility": ">=12.4.5",
"sdk": 3,
"platforms": [
"local"
],
"name": {
"en": "Polestar",
"no": "Polestar"
"no": "Polestar",
"nl": "Polestar"
},
"description": {
"en": "Enjoy the road with Polestar and Homey – smart technology for smart drivers",
"no": "Nyt veien med Polestar og Homey – smart teknologi for smarte sjåfører"
"no": "Nyt veien med Polestar og Homey – smart teknologi for smarte sjåfører",
"nl": "Geniet van de weg met Polestar en Homey – Slimme technologie voor slimme bestuurders"
},
"category": "internet",
"permissions": [],
Expand All @@ -22,20 +24,22 @@
"xlarge": "/assets/images/xlarge.png"
},
"author": {
"name": "Jesper Grimstad",
"email": "jesper.grimstad@hotmail.com"
"name": "Vincent Boer",
"email": "vincent+homey@vdboer.nl"
},
"brandColor": "#081822",
"support": "mailto:polestar@coderax.dev?subject=Polestar%20-%20Homey%20app",
"contributing": {
"donate": {
"paypal": {
"username": "Coderaxxx"
"support": "mailto:vincent+polestar@vdboer.nl?subject=Polestar%20-%20Homey%20app",
"contributors": {
"developers": [
{
"name": "Jesper Grimstad",
"email": "jesper.grimstad@hotmail.com"
},
"githubSponsors": {
"username": "Coderaxx"
{
"name": "Vincent Boer",
"email": "vincent+homey@vdboer.nl"
}
}
]
},
"tags": {
"en": [
Expand All @@ -59,12 +63,25 @@
"ev",
"ev car",
"smart car"
],
"nl": [
"polestar",
"pole",
"star",
"auto",
"electrisch",
"electrische auto",
"ev",
"ev auto",
"bev",
"bev auto",
"slimme auto",
"batterij auto"
]
},
"homeyCommunityTopicId": 95083,
"homepage": "https://coderax.dev",
"source": "https://github.com/Coderaxx/Polestar",
"source": "https://github.com/kaohlive/Polestar",
"bugs": {
"url": "https://github.com/Coderaxx/Polestar/issues"
"url": "https://github.com/kaohlive/Polestar/issues"
}
}
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarAlt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/altitude.svg",
"title": {
"en": "Altitude",
"no": "Høyde"
"no": "Høyde",
"nl": "Hoogte"
},
"units": "m",
"getable": true,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarBattery.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/battery-75.svg",
"title": {
"en": "Battery",
"no": "Batteri"
"no": "Batteri",
"nl": "Batterij"
},
"units": "%",
"getable": true,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarBatteryLevel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/hvbattery.svg",
"title": {
"en": "Battery level",
"no": "Batterinivå"
"no": "Batterinivå",
"nl": "Batterij niveau"
},
"units": "kWh",
"decimals": 2,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarChargeState.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/charging.svg",
"title": {
"en": "Charging",
"no": "Lader"
"no": "Lader",
"nl": "Laden"
},
"getable": true,
"setable": false,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarConnected.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/ccs.svg",
"title": {
"en": "Charge port",
"no": "Ladeport"
"no": "Ladeport",
"nl": "Laadpoort"
},
"getable": true,
"setable": false,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarGear.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/gear.svg",
"title": {
"en": "Selected Gear",
"no": "Valgt gir"
"no": "Valgt gir",
"nl": "Geselecteerde versnelling"
},
"getable": true,
"setable": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/ignition.svg",
"title": {
"en": "Ignition",
"no": "Tenning"
"no": "Tenning",
"nl": "Ontsteking"
},
"getable": true,
"setable": false,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarLocation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/location.svg",
"title": {
"en": "Location",
"no": "Plassering"
"no": "Plassering",
"nl": "Locatie"
},
"getable": true,
"setable": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/vehicle/assets/charging.svg",
"title": {
"en": "Charged home this month",
"no": "Ladet hjemme denne mnd"
"no": "Ladet hjemme denne mnd",
"nl": "Deze maand thuis geladen"
},
"getable": true,
"setable": false,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarPower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/powerdc.svg",
"title": {
"en": "Power",
"no": "Effekt"
"no": "Effekt",
"nl": "Acceleratie"
},
"units": "kW",
"getable": true,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarRange.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/range.svg",
"title": {
"en": "Range",
"no": "Rekkevidde"
"no": "Rekkevidde",
"nl": "Bereik"
},
"getable": true,
"setable": false,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarSpeed.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/speedometer.svg",
"title": {
"en": "Speed",
"no": "Fart"
"no": "Fart",
"nl": "Snelheid"
},
"units": {
"en": "km/h",
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarTemp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/temp.svg",
"title": {
"en": "Ambient Temperature",
"no": "Utetemperatur"
"no": "Utetemperatur",
"nl": "Buitentemperatuur"
},
"units": "°C",
"getable": true,
Expand Down
3 changes: 2 additions & 1 deletion .homeycompose/capabilities/measure_polestarUpdated.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"icon": "/drivers/polestar-2-csv/assets/images/update.svg",
"title": {
"en": "Updated",
"no": "Oppdatert"
"no": "Oppdatert",
"nl": "Bijgewerkt"
},
"getable": true,
"setable": false,
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/capabilities/measure_vehicleConnected.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "boolean",
"title": {
"en": "Chargeport connected",
"no": "Ladepoort tilkoblet",
"no": "Ladeport tilkoblet",
"nl": "Laadpoort verbonden"
},
"getable": true,
Expand Down
11 changes: 11 additions & 0 deletions .homeycompose/capabilities/measure_vehicleDaysTillService.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "number",
"title": {
"en": "Days till service",
"no": "Dager til service",
"nl": "Dagen tot service"
},
"getable": true,
"setable": false,
"icon": "/drivers/vehicle/assets/timeremaining.svg"
}
14 changes: 14 additions & 0 deletions .homeycompose/capabilities/measure_vehicleDistanceTillService.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "number",
"title": {
"en": "Distance till service",
"no": "Avstand til service",
"nl": "Afstand tot service"
},
"getable": true,
"setable": false,
"units": {
"en": "KM"
},
"icon": "/drivers/vehicle/assets/odometer.svg"
}
17 changes: 0 additions & 17 deletions .homeycompose/flow/triggers/chargeportconnected_false.json

This file was deleted.

17 changes: 0 additions & 17 deletions .homeycompose/flow/triggers/chargeportconnected_true.json

This file was deleted.

Loading