Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .cspell/custom-dictionary-workspace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ dayname
daynumber
daysymbol
dedup
dedupe
dend
denorm
derating
Expand Down Expand Up @@ -306,6 +307,8 @@ predai
predbat
predbatt
predheat
preseed
preseeded
prevs
psum
pvbat
Expand Down Expand Up @@ -395,6 +398,7 @@ TCWORLD
tdata
tdiff
temperation
teslemetry
Teslemetry
testname
thirdparty
Expand Down
12 changes: 12 additions & 0 deletions apps/predbat/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from axle import AxleAPI
from solax import SolaxAPI
from sigenergy import SigenergyAPI
from teslemetry import TeslemetryAPI
from solis import SolisAPI
from alertfeed import AlertFeed
from web import WebInterface
Expand Down Expand Up @@ -366,6 +367,17 @@
"phase": 1,
"can_restart": True,
},
"teslemetry": {
"class": TeslemetryAPI,
"name": "Tesla Powerwall (Teslemetry)",
"event_filter": "predbat_teslemetry_",
"args": {
"key": {"required": True, "config": "teslemetry_key"},
"site_id": {"required": True, "config": "teslemetry_site_id"},
"base_url": {"required": False, "config": "teslemetry_base_url", "default": "https://api.teslemetry.com"},
},
"phase": 1,
},
"solax": {
"class": SolaxAPI,
"name": "SolaX Cloud API",
Expand Down
3 changes: 3 additions & 0 deletions apps/predbat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2200,6 +2200,9 @@
"fox_auth_method": {"type": "string", "empty": False},
"fox_token_expires_at": {"type": "string", "empty": False},
"fox_token_hash": {"type": "string", "empty": False},
"teslemetry_key": {"type": "string", "empty": False},
"teslemetry_site_id": {"type": "string", "empty": False},
"teslemetry_base_url": {"type": "string", "empty": False},
"octopus_intelligent_slot": {"type": "sensor|sensor_list", "sensor_type": "boolean|action", "entries": "num_cars", "optional_entries": True},
"octopus_ready_time": {"type": "sensor|sensor_list", "sensor_type": "string", "entries": "num_cars", "optional_entries": True},
"octopus_charge_limit": {"type": "sensor|sensor_list", "sensor_type": "float", "entries": "num_cars", "optional_entries": True},
Expand Down
Loading
Loading