Commit graph

761 commits

Author SHA1 Message Date
13215c74c2 Remove sponsor token gating
Some checks failed
CodeQL / Analyze (go) (push) Failing after 1m16s
CodeQL / Analyze (actions) (push) Failing after 4s
CodeQL / Analyze (javascript-typescript) (push) Failing after 7s
Default / Clean (push) Has been cancelled
Default / Build (push) Has been cancelled
Default / Test (push) Has been cancelled
Default / Lint (push) Has been cancelled
Default / UI (push) Has been cancelled
Default / Integration (push) Has been cancelled
Default / Warm fork cache (Go) (push) Has been cancelled
Default / Warm fork cache (UI) (push) Has been cancelled
Unlock all locally gated features without a sponsor token. The change sits
in util/sponsor/auth.go instead of the ~68 device constructors:

- Subject defaults to a non-empty value, so RedactedStatus reports an active
  sponsorship and the frontend unlocks isSponsor
- IsAuthorized always returns true, opening every caller including the
  modbus proxy and the optimizer gate
- ConfigureSponsorship still validates a configured token but never fails,
  so an expired token no longer aborts startup

Drops TestAlpitronicSponsorGate and TestSigenergyEVDCSponsorGate, which
asserted exactly the gate that is removed here.

Cloud-backed services (optimizer API, remote access, cloud vehicles,
telemetry) still require a real token - those are checked server side.

See FORK.md.
2026-08-30 10:41:18 +02:00
andig
7549beaf44
Services: add sunspec/read for reading a point value from a device (#33230) 2026-08-27 15:29:50 +02:00
andig
10b0c99f17
chore: make dev versions increase monotonically (#33205) 2026-08-26 19:11:46 +00:00
github-actions[bot]
0812904b48
Mqtt: always render preset timeout (BC) (#33084) 2026-08-23 15:51:13 +00:00
andig
8661c66fc7
Curtailment devices: new device class for feed-in limitation (BC) (#32416) 2026-08-22 11:10:59 +00:00
andig
c28f2ff623
Digest auth: reuse challenges across requests (#32842) 2026-08-21 17:32:25 +02:00
andig
4e45dc79bb
chore: use math/rand/v2 and Go 1.27 generic rand.N (#33055) 2026-08-21 14:33:19 +00:00
Tilo Alexander
769a6a1aa5
API: bound jq evaluation on /api/state against unauthenticated DoS (#33028) 2026-08-21 09:24:41 +02:00
Thijs W.
6715711d49
Home Assistant: auto-detect Supervisor instance and token (#33000) 2026-08-20 13:37:50 +02:00
andig
e63bae0c8b
chore: upgrade Go to 1.27 (#30601) 2026-08-20 13:36:53 +02:00
andig
0ae85295dc
Templates: add http service for parameter choices (#32951) 2026-08-18 15:22:48 +02:00
Michael Geers
f4b289f745
Sponsor: include device serial in hardware check metadata (#32927) 2026-08-18 12:02:29 +02:00
andig
de3f8995cd
Templates: support class-local include files (#32871) 2026-08-18 09:23:03 +02:00
andig
4465100a65
Config UI: allow disabling devices (#29455)
Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andig <184815+andig@users.noreply.github.com>
2026-08-11 13:24:40 +00:00
andig
6fdb83fc14 chore: minor 2026-08-11 09:59:37 +02:00
andig
4caddeec5d
Log: separate ring buffer budget for trace and higher levels (#32698) 2026-08-10 17:59:23 +02:00
andig
232d367461
chore: don't guard connection settings with the registry mutex (#32695) 2026-08-10 15:25:08 +00:00
andig
285b01f794
Modbus: fix missing template delay and timeout defaults (#32694) 2026-08-10 14:45:56 +00:00
andig
09c2ce3055
chore: semver-compliant version for dev and nightly builds (#32663) 2026-08-09 15:00:31 +02:00
Jérôme DAVID
c1fac30171
Tesla BLE: handle sleeping vehicles with vehicle-api charger (#32615) 2026-08-09 11:39:24 +00:00
Michael Heß
fdea008b0b
Powerwall: add Fleet API support (BC) (#32410) 2026-08-09 13:17:48 +02:00
Michael Geers
afac7ab56d
Config UI: fix duration template param handling (#32572) 2026-08-07 21:35:14 +02:00
Michael Geers
c0bb9a3fed
Sponsor: wait for network to settle during startup check (#32556) 2026-08-06 07:21:44 +02:00
Dennis Klipp
dbae128094
Templates: keep large numeric params parseable (#32528)
Co-authored-by: Dennis Klipp <6085348+DennisKlipp@users.noreply.github.com>
2026-08-04 18:29:57 +00:00
github-actions[bot]
4635fe04dd
fix: modbus/read service cache key ignores read parameters (#32499) 2026-08-04 06:57:21 +00:00
andig
a4da257bb5
Fix rendering notifications from the state at event time (#32401) 2026-08-01 14:37:20 +00:00
andig
c8b27650ca
Home Assistant: configurable charge status values (BC) (#32136) 2026-07-25 12:14:42 +02:00
andig
02a66252ca
Modbus: unify delay and timeout settings (BC) (#31996) 2026-07-23 17:03:28 +02:00
andig
7a95266a6b
Revert "Modbus: handle NaN values" (#31968) 2026-07-20 10:11:25 +02:00
andig
0b5017e7c1
chore: share Truncate helper between mqtt and http trace logs (#31947) 2026-07-19 13:53:05 +00:00
premultiply
cc6bef6b82
Modbus: handle NaN values (#31011) 2026-07-19 10:44:32 +00:00
andig
d3ae621688
Meter: make battery parameters dynamic (#31668) 2026-07-18 16:24:12 +02:00
Michael Geers
199365288a
Vehicle: deprecate default charge mode in config (#31893) 2026-07-18 10:40:10 +02:00
github-actions[bot]
70ad1751de
Tariff (pvnode V2 API): make forecast poll interval configurable (#31897) 2026-07-18 08:21:39 +00:00
github-actions[bot]
e77fb6071a
Home Assistant: warn when deprecated 'token' parameter is used (#31876) 2026-07-17 15:13:39 +00:00
Daniel Martin
d68e5e5809
Tariffs: add outdoor temperature type and OpenMeteo (#27780)
Co-authored-by: Michael Geers <michael@geers.tv>
2026-07-17 12:54:56 +00:00
Michael Geers
8b243c2a25
Sponsor: remove Creem license key activation (#31824) 2026-07-15 14:45:57 +00:00
andig
526d17ff4a
Fix DoJSON error on empty-body 2xx response (#31801) 2026-07-15 07:23:04 +00:00
andig
3ce6600143
feat: add xlsx export wherever csv export exists (#31690) 2026-07-12 11:58:02 +02:00
andig
023a48dd24
Templates: add capabilities on product level (#31588) 2026-07-09 10:43:27 +00:00
andig
c3692046b9
sunspec: add bool getter (#31482) 2026-07-05 10:07:10 +00:00
andig
67f7f286ac
chore: remove dead code and unused abstractions (#31437) 2026-07-05 10:03:23 +02:00
andig
2bd319a361
Vehicle: add wakeupdisabled feature to suppress wake-up calls (#31461) 2026-07-04 12:04:38 +00:00
andig
7e9195d0e3
EEBus: add heating brands (BC) (#31344) 2026-06-30 13:45:49 +02:00
andig
d87f77b7d9
Meter: fix spurious energy spikes (grid nonZeroEnergy + SolarEdge uint64snans) (#31295) 2026-06-28 15:36:32 +02:00
andig
06f6eb1d26
HEMS: add templates (#25832)
Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>
2026-06-27 14:32:13 +02:00
andig
2294066b27
MQTT: make Monitor first-read cancellable via context (#31116) 2026-06-22 09:32:56 +00:00
Philipp Sandhaus
97b249235d
Vehicle: add Octopus Energy Germany (#31105) 2026-06-22 09:52:10 +02:00
Markus Kaindl
e78b5948f9
Vehicles: make autodetectdisabled available to all online vehicles (#31046) 2026-06-22 09:42:06 +02:00
andig
0a62ba106b
GoodWe: add battery mode control over WiFi (AA55/UDP) (#30965) 2026-06-21 20:24:04 +00:00