Commit graph

610 commits

Author SHA1 Message Date
andig
6c19952f24 chore: upgrade libraries 2023-12-21 13:30:06 +01:00
andig
e1e703c4a7
Planner: don't touch plan when disabling due to soc/energy limits reached (#11030) 2023-12-19 18:10:01 +01:00
andig
031cf35dd2 chore: minor cleanup 2023-12-18 11:31:47 +01:00
andig
a402126504 Mqtt: make publishing nil pointers delete topic (#11075) 2023-12-11 09:34:27 +01:00
andig
461f57017d chore: remove deprecated values 2023-12-10 10:14:29 +01:00
andig
177fe88f2e Mqtt: publish vehicles on top level 2023-12-10 09:23:17 +01:00
andig
8e7df670a8 Fix prioritizer not using effective priority when balancing between loadpoints 2023-12-09 12:05:48 +01:00
andig
74525f2dd7 Vehicles: better differentiate api between instance and settings 2023-12-09 10:24:27 +01:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
andig
06617a33f9
Mqtt: re-add plan api (#11022) 2023-12-06 09:20:24 +01:00
andig
d63dec9511
Refactor session settings and apis (BC) (#10335) 2023-12-02 20:56:30 +05:00
andig
66143c2c61 Mqtt: fix publishing built-in struct types, add tests 2023-12-02 14:41:48 +05:00
andig
ed9e5f398a
Battery control: add api (#10815)
* Battery control: add api

* wip

* wip

* add battery discharge UI and state

* Publish controllable

* Reset to normal when disabling

* minor

* wip

* wip

* Revert mode on shutdown

* refactored tests, renamed method in site_battery (#10859)

* Fix linter

* only show option if controllable; not supported message instead

---------

Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: Michael Heß <GrimmiMeloni@users.noreply.github.com>
2023-11-22 13:55:11 +01:00
andig
2b5e6c14e1
Plugins: allow returning errors when instantiating plugin getters/setters (#10778) 2023-11-20 11:11:13 +01:00
andig
0242dad7e9
Modbus proxy: make readonly ignore writes, add deny option (BC) (#10658) 2023-11-08 08:28:08 +01:00
andig
7c538a96b8
Modbus: add discrete inputs (#10588) 2023-11-01 10:03:35 +01:00
andig
f5bc2abd2f
Allow filtering /api/state using jq like ?jq=.result (#10577) 2023-10-30 17:14:42 +01:00
andig
da68bc03b5
Rename stats to statistics (BC) (#10551) 2023-10-29 12:29:53 +01:00
andig
4bddf556df Mqtt: fix double export 2023-10-29 10:25:10 +01:00
andig
a844c0ddbf Fix accessing unexported fields
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-10-29 10:21:01 +01:00
andig
58d5e8bd10 chore: reorder
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-10-28 19:05:11 +02:00
andig
207929b3f7 Mqtt: remove deprecated savings 2023-10-28 19:01:48 +02:00
andig
f7f3a4d7e2 Fix MapRange over pointer crash
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-10-28 18:29:01 +02:00
andig
477a92259c
Mqtt: publish complex values (#10529) 2023-10-28 17:35:06 +02:00
andig
fa0fb907ff InfluxDB: skip strings 2023-10-21 12:52:02 +02:00
andig
34afaef175
chore: handle NaN values in encoder (#9998) 2023-09-22 08:47:58 +02:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
0854849243
Add support for loading and storing device configuration from/to database (#6199) 2023-08-17 19:59:31 +02:00
andig
a8086a9312
Mqtt: update online status on reconnect (#9394) 2023-08-16 07:51:48 +02:00
andig
78fffd6eb1
Make csv export more flexible (#9309) 2023-08-13 15:09:19 +02:00
andig
b88e145085 Mqtt: simplify setters 2023-06-07 10:07:38 +02:00
Daniel Paschke
9c48ba36fc
Mqtt: fix smartCostLimit topic case (#8328) 2023-06-06 18:04:41 +02:00
andig
38777d1e61 Mqtt: refactor error handling 2023-06-04 14:57:25 +02:00
andig
bf5342f8de Mqtt: log mode errors 2023-06-04 14:49:27 +02:00
andig
7c3ca53f02
Add dedicated co2 tariff (#8089)
---------

Co-authored-by: Michael Geers <michael@geers.tv>
2023-05-31 09:19:36 +02:00
andig
f687aee748 chore: add missing cors options 2023-05-21 15:49:39 +02:00
andig
543d5b781a
Check new version only for releases (#8107) 2023-05-20 17:14:59 +02:00
andig
b9da125561
Mqtt: handle NaN values, log errors (#8064) 2023-05-18 13:24:59 +02:00
Michael Geers
9b282e6e4c
Add battery settings UI (#7802) 2023-05-08 18:11:31 +02:00
Michael Geers
1e6da3670a
Planner: show planned slots without tariff (#7833) 2023-05-08 14:07:25 +02:00
andig
0d1c0531ad
Mqtt: increase token wait duration and send asynchronously (#7820) 2023-05-06 10:06:09 +02:00
andig
93eb81a2eb Revert "Mqtt: handle messages asynchronously (#7687)"
This reverts commit 77a8a323b3.
2023-05-04 08:24:49 +02:00
Michael Geers
9d14e3d446
Add session infos (co2, price, solar %) (#7380) 2023-05-02 08:59:11 +02:00
andig
e9ac325592
chore: drop gorilla/websocket (#7768) 2023-05-01 19:55:30 +02:00
andig
1b33b1eff0 Revert "chore: drop gorilla/websocket (#7751)"
This reverts commit d327fe71fd.
2023-05-01 10:45:34 +02:00
andig
d327fe71fd
chore: drop gorilla/websocket (#7751) 2023-04-30 14:59:19 +02:00
andig
77a8a323b3
Mqtt: handle messages asynchronously (#7687) 2023-04-27 14:17:29 +02:00
andig
9573a07a43 Revert "chore: fix Windows build"
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
This reverts commit a456b3ad6b.
2023-04-14 21:57:13 +02:00
andig
6f43e15334 Revert "Use per-instance unix domain socket path (#7152)"
This reverts commit b093c5acc3.
2023-04-14 21:56:44 +02:00
andig
a456b3ad6b chore: fix Windows build 2023-04-02 18:37:11 +02:00