diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index af96376..8f4f09a 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -5,7 +5,7 @@ name: Python application
on:
push:
- branches: [ "main" ]
+ branches: [ "main", "dev-*" ]
paths-ignore:
- '**.md' # Do no build on *.md changes
- '**.yml' # Do no build on *.yml changes
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a8ebeb6..86483ed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+- Prepare support of inverters with 6 MTPPs
+- Clear `Daily Generation` values at midnigth
+- Read pv module details from config file and use it for the Home Assistant registration
+ see: [#43](https://github.com/s-allius/tsun-gen3-proxy/issues/43)
+
## [0.6.0] - 2024-04-02
- Refactoring to support Solarman V5 protocol
diff --git a/README.md b/README.md
index 041b476..169e968 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@
+
@@ -127,15 +128,23 @@ inverters.allow_all = false # True: allow inverters, even if we have no invert
[inverters."R17xxxxxxxxxxxx1"]
node_id = 'inv1' # Optional, MQTT replacement for inverters serial number
suggested_area = 'roof' # Optional, suggested installation area for home-assistant
+pv1 = {type = 'RSM40-8-395M', manufacturer = 'Risen'} # Optional, PV module descr
+pv2 = {type = 'RSM40-8-395M', manufacturer = 'Risen'} # Optional, PV module descr
[inverters."R17xxxxxxxxxxxx2"]
node_id = 'inv2' # Optional, MQTT replacement for inverters serial number
suggested_area = 'balcony' # Optional, suggested installation area for home-assistant
+pv1 = {type = 'RSM40-8-405M', manufacturer = 'Risen'} # Optional, PV module descr
+pv2 = {type = 'RSM40-8-405M', manufacturer = 'Risen'} # Optional, PV module descr
[inverters."Y17xxxxxxxxxxxx1"]
monitor_sn = 2000000000 # The "Monitoring SN:" can be found on a sticker enclosed with the inverter
node_id = 'inv_3' # MQTT replacement for inverters serial number
suggested_area = 'garage' # suggested installation place for home-assistant
+pv1 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+pv2 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+pv3 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+pv4 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
```
diff --git a/app/config/default_config.toml b/app/config/default_config.toml
index fccc54b..cd95d75 100644
--- a/app/config/default_config.toml
+++ b/app/config/default_config.toml
@@ -31,13 +31,21 @@ inverters.allow_all = true # allow inverters, even if we have no inverter mapp
[inverters."R170000000000001"]
#node_id = '' # Optional, MQTT replacement for inverters serial number
#suggested_area = '' # Optional, suggested installation area for home-assistant
+#pv1 = {type = 'RSM40-8-395M', manufacturer = 'Risen'} # Optional, PV module descr
+#pv2 = {type = 'RSM40-8-395M', manufacturer = 'Risen'} # Optional, PV module descr
#[inverters."R17xxxxxxxxxxxx2"]
#node_id = '' # Optional, MQTT replacement for inverters serial number
#suggested_area = '' # Optional, suggested installation area for home-assistant
+#pv1 = {type = 'RSM40-8-405M', manufacturer = 'Risen'} # Optional, PV module descr
+#pv2 = {type = 'RSM40-8-405M', manufacturer = 'Risen'} # Optional, PV module descr
[inverters."Y170000000000001"]
-#monitor_sn = 2000000000 # The "Monitoring SN:" can be found on a sticker enclosed with the inverter
+monitor_sn = 2000000000 # The "Monitoring SN:" can be found on a sticker enclosed with the inverter
#node_id = '' # Optional, MQTT replacement for inverters serial number
#suggested_area = '' # Optional, suggested installation place for home-assistant
+#pv1 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+#pv2 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+#pv3 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
+#pv4 = {type = 'RSM40-8-410M', manufacturer = 'Risen'} # Optional, PV module descr
diff --git a/app/proxy.svg b/app/proxy.svg
index 5d2d1d7..588835e 100644
--- a/app/proxy.svg
+++ b/app/proxy.svg
@@ -4,275 +4,340 @@
-