Commit graph

384 commits

Author SHA1 Message Date
andig
bd94c51da4 chore: don't ignore existing map entry on merge 2024-05-18 11:56:26 +02:00
andig
b5afd2d2ce chore: simplify 2024-05-18 11:54:08 +02:00
andig
940ce81a84
chore: upgrade go-sprout (#13841) 2024-05-15 22:14:44 +02:00
andig
f69a0d796c
Push: fix missing template variables (#13917) 2024-05-15 21:40:13 +02:00
andig
d80149bc06 chore: use strconv.Itoa where appropriate 2024-05-08 16:54:47 +02:00
Michael Heß
495cb511c5
chore: fix rendering templates for tests aborts on usage == 0 (#13805) 2024-05-08 12:01:40 +02:00
Michael Geers
e675e408cd
Docs: add tariff templates (#13756) 2024-05-08 11:54:47 +02:00
andig
b9738abf15
Custom vehicle: lower case parameters identical to plugin name (#13804) 2024-05-08 11:45:37 +02:00
Michael Geers
a9a080f6ff
UI: fix duplicate product entries (#13709) 2024-05-03 15:05:57 +02:00
andig
7a3390a06a Fix crash retrieving log level
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
2024-05-02 21:04:37 +02:00
andig
942a4391c5
Fix log ui accidentally depending on console log level (#13669) 2024-05-01 13:15:50 +02:00
andig
26973a0d2c
Load Management and Peak Shaving (#13207) 2024-04-27 10:50:35 +02:00
andig
ce97c635d6
Add E3DC native implementation (#13413) 2024-04-27 10:28:49 +02:00
andig
820579a356
chore: deprecate templates (#13567) 2024-04-25 12:18:36 +02:00
andig
71f7dd756f Log: fix ringbuffer returning oldest entry last 2024-04-20 08:39:50 +02:00
andig
9241cb919e
chore: migrate to sprout (#13477) 2024-04-18 08:37:14 +02:00
Michael Geers
341101c6b8
Log UI: minor improvements (#13453) 2024-04-16 07:58:02 +02:00
andig
0a047a82ad chore: reduce memory and allocations 2024-04-15 23:42:37 +02:00
andig
2cd16f811b chore: minor 2024-04-15 23:30:08 +02:00
andig
535c94c2fe Log viewer: fix old data returned when count set 2024-04-15 23:27:27 +02:00
andig
334ffc15b1
Log Viewer: Allow retrieving logs from ring buffer (#13330) 2024-04-14 09:50:08 +02:00
Michael Geers
dc13701d79
Config UI: Add authentication (#11732) 2024-04-03 21:17:27 +02:00
Michael Geers
86c5d88015
Docs: fix broken doc links (#13273) 2024-04-03 20:52:46 +02:00
andig
48666a59c6 chore: generate (un)marshalers 2024-03-29 12:21:04 +01:00
andig
f25c0eece6
Modbus: fix writing bool values (#12972) 2024-03-15 14:04:04 +01:00
andig
5c55335c61 chore: better error message for missing mask
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
2024-03-13 12:24:14 +01:00
Christof Musik
a463012f8d
Huawei Smartlogger: add battery control similar to dongle configuration (#12877)
This is v2 of the configuration. The main difference is that it is
mostly backward compatible to the old smartlogger configuration. The
only change is that it is now using register 40521 (active power without
battery discharge) instead of 40525 (active power including battery
discharge).

The grid information comes from the powermeter which has usually the
unit id 11. The pv informations come directly from smartlogger (unit id
0, hardcoded). The battery information is fetched from the hybrid inverter.

A typical configuration should look like this:

```
meters:
- name: grid
  type: template
  template: huawei-smartlogger
  usage: grid
  id: 11
  host: host.fqdn
  port: 502

- name: pv
  type: template
  template: huawei-smartlogger
  usage: pv
  host: host.fqdn
  port: 502

- name: battery
  type: template
  template: huawei-smartlogger
  usage: battery
  id: 3
  host: host.fqdn
  port: 502
  capacity: 10
```
2024-03-12 09:57:59 +01:00
andig
d379fba618 chore: validate server name 2024-03-10 23:00:18 +01:00
andig
12f3fbf173
Revert "Huawei Smartlogger: add pv and battery support identical to SDongle & Power Sensor (#12628)" (#12842)
This reverts commit fa5330b292.
2024-03-10 13:09:39 +01:00
andig
1ee69505d7 chore: fix missing GRPC config
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
2024-03-06 08:12:44 +01:00
andig
2ed3da7455 Reapply "chore: remove certificate pinning (before expiry) (#12670)"
This reverts commit 25fc95a7d4.
2024-03-06 08:02:09 +01:00
andig
25fc95a7d4 Revert "chore: remove certificate pinning (before expiry) (#12670)"
This reverts commit 041427928b.
2024-03-05 22:40:13 +01:00
andig
041427928b
chore: remove certificate pinning (before expiry) (#12670) 2024-03-05 09:20:15 +01:00
Christof Musik
fa5330b292
Huawei Smartlogger: add pv and battery support identical to SDongle & Power Sensor (#12628) 2024-03-03 13:34:26 +01:00
andig
2f29659dbe
Modbus: refactor write encoding (#12595) 2024-03-02 17:18:01 +01:00
andig
965799f48a Reapply "Modbus: fix int to float conversion for int setter"
This reverts commit f9538edded.
2024-02-28 22:07:22 +01:00
andig
f9538edded Revert "Modbus: fix int to float conversion for int setter"
This reverts commit 1d322c6330.
2024-02-28 09:04:08 +01:00
andig
1d322c6330 Modbus: fix int to float conversion for int setter 2024-02-22 20:58:30 +01:00
andig
ce29ae58a1
chore: use go 1.22 (#11007) 2024-02-16 15:49:38 +01:00
andig
49bf1e6ec6
Sunspec: refactor model selection (#11933) 2024-02-08 20:28:01 +01:00
VolkerK62
e215a8836e
Modbus: address 0 must be possible (#12082)
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
2024-02-05 19:43:26 +01:00
andig
77330d1635
Modbus: fix calculating write length (#11950) 2024-01-29 22:41:53 +01:00
andig
9517277157
Modbus plugin: split modbus and sunspec (BC) (#11663) 2024-01-28 16:30:11 +01:00
andig
f1650141f3
Add AC Thor (#11912) 2024-01-28 15:22:09 +01:00
andig
f6f4e30fb5 chore: simplify render mode 2024-01-27 18:18:13 +01:00
andig
789497d94c
chore: simplify usage logic (#11895) 2024-01-27 18:02:07 +01:00
andig
186ba62db7
Site: add config UI (BC) (#9812) 2024-01-27 13:38:16 +01:00
andig
7fa3d252c9
chore: remove dead code (#11451) 2024-01-03 22:54:39 +01:00
andig
7ac032818e chore: refactor 2024-01-01 13:44:55 +01:00
andig
3260ce65c8
chore: return config error on invalid yaml template keys (#11394) 2024-01-01 13:38:25 +01:00