Commit graph

363 commits

Author SHA1 Message Date
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
andig
25e1fdfb9e
chore: expose battery-control capabilities (#11193)
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-12-26 23:18:29 +01:00
andig
f369ee92f8 chore: return errors 2023-12-26 23:14:04 +01:00
andig
55df2b502c
Fix deadlock (#11244)
This PR uses a go routine when sending would otherwise block.
2023-12-26 23:08:28 +01:00
andig
02ab07be7c Monitor: wait once if timeout configured 2023-12-24 14:44:16 +01:00
andig
d05f21cb98 chore: more docs
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-12-22 12:03:10 +01:00
andig
b61546f215
Vehicle: remove minsoc, targetsoc- now configurable using ui (BC) (#11167) 2023-12-21 17:46:21 +01:00
andig
855185b186 Modbus: add 8N2 2023-12-11 09:38:13 +01:00
andig
26276ed719 chore: guard against initial token being nil 2023-12-08 16:45:13 +01:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
andig
d63dec9511
Refactor session settings and apis (BC) (#10335) 2023-12-02 20:56:30 +05:00
andig
cce46f1fdc chore: align indents 2023-11-30 13:39:23 +05:00
andig
b9360a3ab2 chore: provide full yaml in case of errors for easier diagnosis 2023-11-28 14:47:45 +05:00
andig
67b440d382 chore: re-add template name when testing usages 2023-11-28 13:32:18 +05:00
andig
c6a94c1415
Kostal: fix setting battery limit (#10899) 2023-11-26 09:53:39 +05:00
andig
ea2fe72040
SolarEdge: fix battery control (#10906) 2023-11-26 09:43:52 +05:00
andig
6c41816cc6 Pulsares: fix token parsing 2023-11-23 17:36:13 +05:00
andig
5f7f4ead05
SofarSolar: add battery control (#10847) 2023-11-21 11:50:05 +01:00
andig
b92cbf8969
Victron: add battery control (#10753) 2023-11-16 20:10:57 +01:00
andig
2022247fd1
Vzlogger: fix yaml quoting not matching uuid (#10777) 2023-11-14 16:46:10 +01:00
andig
e9ab1ed13d chore: ignore read errors 2023-11-13 08:27:39 +01:00
andig
0098aa9c35
chore: replace waiter with monitor (#10727) 2023-11-12 19:05:48 +01:00