Commit graph

95 commits

Author SHA1 Message Date
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
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
premultiply
cc6bef6b82
Modbus: handle NaN values (#31011) 2026-07-19 10:44:32 +00:00
andig
c3692046b9
sunspec: add bool getter (#31482) 2026-07-05 10:07:10 +00:00
andig
d87f77b7d9
Meter: fix spurious energy spikes (grid nonZeroEnergy + SolarEdge uint64snans) (#31295) 2026-06-28 15:36:32 +02:00
andig
0a62ba106b
GoodWe: add battery mode control over WiFi (AA55/UDP) (#30965) 2026-06-21 20:24:04 +00:00
andig
18609ee874
Modbus: add shared block reading (#30846) 2026-06-14 17:25:44 +02:00
andig
8278bd79c9
SolarEdge Hybrid: fix battery energy counter word order (#30704) 2026-06-10 23:11:52 +02:00
lehmanju
1ea07c6dba
Modbus: close connection when unregistering (#28034) 2026-03-10 12:42:23 +01:00
andig
0ee6d787e1
chore: use Go 1.26 (#26786) 2026-02-12 15:56:06 +01:00
Maschga
07bcca2925
Config UI: visualize Modbusproxy (#24015)
Co-authored-by: Michael Geers <michael@geers.tv>
2025-11-13 09:44:39 +01:00
andig
352012d24b
chore: modernize go sources (#24896) 2025-10-31 15:25:53 +00:00
anbie
72b64d038d
Lambda: support for excess energy specified in negative numbers (#21972) 2025-07-08 16:40:02 +02:00
andig
615969cfe2
Modbus: revert timeout to 3s, backoff duration 10s (#20987) 2025-05-01 19:01:19 +02:00
andig
12d8e448ff
Modbus: increase timeout and backoff (#20730) 2025-04-20 12:24:37 +02:00
andig
b7f83f5479
Modbus: disable mbmd error handling (#20093) 2025-03-25 09:27:32 +01:00
andig
45623bfa15
Modbus: use context (#19301) 2025-03-01 19:13:41 +01:00
andig
1cafc24627
Modbus Proxy: fix yaml serialisation (#19279) 2025-03-01 11:31:35 +01:00
andig
47c77f4254
Sunspec: read model tree only once (BC) (#16832) 2024-10-24 14:58:08 +02:00
andig
11d2b8b85d
Modbus: add bytes setter (#16510) 2024-10-12 11:09:12 +02:00
andig
22db14bb4c
Modbus: always assume RTU for serial devices (#16134) 2024-09-15 16:18:27 +02:00
andig
7837bacb88
Modbus: fix sunspec protocol always treated as tcp (#16086) 2024-09-13 14:53:00 +02:00
andig
333bcfab24
Modbus: validate protocol (#15912) 2024-09-05 20:07:40 +02:00
andig
1430984766 Modbus: overwrite mbmd logger 2024-08-18 19:45:19 +02:00
andig
dc719e4a15
SolarEdge: workaround broken NaNs (#15464) 2024-08-18 11:36:23 +02:00
andig
660f2c6c42 Modbus: mimic mbmd 2024-08-13 17:21:12 +02:00
andig
78b2067c01 chore: remove stray logging 2024-08-13 14:54:34 +02:00
andig
baf15a62e8 chore: log modbus timeouts 2024-08-10 11:07:39 +02:00
andig
fbeb56a620 chore: fix deadlock in logger 2024-08-09 10:17:31 +02:00
andig
1eeeebdadd
Modbus: close connection on error (#15319) 2024-08-09 09:24:01 +02:00
andig
7f86118f1b
Modbus: fix log output no longer displayed (#15276) 2024-08-07 10:06:30 +02:00
andig
03f62e5593
Modbus: add UDP and allow concurrent access (#13676) 2024-08-02 21:32:45 +02: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
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
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
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
7fa3d252c9
chore: remove dead code (#11451) 2024-01-03 22:54:39 +01:00
andig
855185b186 Modbus: add 8N2 2023-12-11 09:38:13 +01:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00