Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a SoC module for Nissan Leaf till MY 2019 #1682

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ea41953
Create __init__.py
mekrapp Jun 15, 2024
6c05372
Add files via upload
mekrapp Jun 15, 2024
55f6939
Add files via upload
mekrapp Jun 15, 2024
38c4aca
Add files via upload
mekrapp Jun 15, 2024
c90a586
Add files via upload
mekrapp Jun 15, 2024
08d7c3e
Update soc.py
mekrapp Jun 16, 2024
d62c77b
Update soc.py
mekrapp Jun 16, 2024
fbfd4ec
Update soc.py
mekrapp Jun 16, 2024
320c0b3
Update soc.py
mekrapp Jun 21, 2024
3ba67d2
Update responses.py
mekrapp Jun 21, 2024
f6c9754
Update packages/modules/vehicles/leaf/soc.py
mekrapp Jun 22, 2024
a03caf6
Update soc.py
mekrapp Jun 22, 2024
b93dd5f
Update __init__.py
mekrapp Aug 21, 2024
1c142c7
Update __init__.py
mekrapp Aug 21, 2024
38f7973
Update __init__.py
mekrapp Aug 21, 2024
f4db4e4
Merge branch 'openWB:master' into master
mekrapp Aug 21, 2024
da78bd8
Update __init__.py
mekrapp Aug 21, 2024
30e305d
Merge pull request #1 from mekrapp/mekrapp-patch-1
mekrapp Aug 21, 2024
a867764
Merge branch 'openWB:master' into master
mekrapp Aug 24, 2024
9a02623
Update pycarwings2.py
mekrapp Aug 24, 2024
69d663f
Update pycarwings2.py
mekrapp Aug 24, 2024
f8ee104
Update __init__.py
mekrapp Aug 24, 2024
c629c1e
Update soc.py
mekrapp Aug 24, 2024
920abad
Update __init__.py
mekrapp Aug 24, 2024
6ce31f1
Delete packages/modules/vehicles/leaf/__init__.py
mekrapp Aug 24, 2024
9b6a833
Add files via upload
mekrapp Aug 24, 2024
2d9d5b9
Update requirements.txt
mekrapp Aug 29, 2024
c41725f
Update packages/modules/vehicles/leaf/soc.py
mekrapp Aug 30, 2024
4d8783f
Delete packages/modules/vehicles/leaf/pycarwings2.py
mekrapp Aug 30, 2024
8f87879
Delete packages/modules/vehicles/leaf/responses.py
mekrapp Aug 30, 2024
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
1 change: 1 addition & 0 deletions packages/modules/vehicles/leaf/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

17 changes: 17 additions & 0 deletions packages/modules/vehicles/leaf/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from typing import Optional


class LeafConfiguration:
def __init__(self, user_id: Optional[str] = None, password: Optional[str] = None):
self.user_id = user_id
self.password = password


class LeafSoc:
def __init__(self,
name: str = "Leaf",
type: str = "leaf",
configuration: LeafConfiguration = None) -> None:
self.name = name
self.type = type
self.configuration = configuration or LeafConfiguration()
Loading