Commit graph

394 commits

Author SHA1 Message Date
andig
f7229ed994 chore: cleanup dependencies 2024-06-09 14:18:55 +02:00
andig
4b3d83f2b5 Fix another deadlock 2024-06-09 11:56:34 +02:00
Michael Geers
554ce1db60
Config UI: add missing config sections / partial yaml inputs (BC) (#13319) 2024-06-08 14:35:46 +02:00
andig
62a1e223b6
Vehicles: collect common properties in includeable template (#14245) 2024-06-08 14:03:38 +02:00
andig
86f2502c19
chore: upgrade Viper (#14220) 2024-06-07 18:33:38 +02:00
andig
20afad336b Revert "Http: do not use escaped Query, because it will break templating (#14146)"
This reverts commit 4f888064d7.
2024-06-04 16:14:58 +02:00
andig
20e0fba139
Smart Hello: add more debug output (#14162) 2024-06-02 17:07:41 +02:00
Pedro Costa
4f888064d7
Http: do not use escaped Query, because it will break templating (#14146) 2024-06-01 18:33:26 +02:00
andig
52a2a59c4c
Add Victron OS support (#13803) 2024-05-26 12:47:56 +02:00
Michael Geers
7b8aeeff52
Add new vehicle/loadpoint icons (#14008) 2024-05-21 20:57:20 +02:00
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