Skip to content

Commit 6b39187

Browse files
authored
S allius/issue102 (#103)
* hotfix: don't send two MODBUS commands together * Update README.md Exchange logger fw version with the real inverter fw version in the compatibility table * Update python-app.yml run also on pushes to issue branches fix name for issues branches
1 parent a628642 commit 6b39187

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/python-app.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Python application
55

66
on:
77
push:
8-
branches: [ "main", "dev-*" ]
8+
branches: [ "main", "dev-*", "*/issue*" ]
99
paths-ignore:
1010
- '**.md' # Do no build on *.md changes
1111
- '**.yml' # Do no build on *.yml changes

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ In the following table you will find an overview of which inverter model has bee
226226
A combination with a red question mark should work, but I have not checked it in detail.
227227

228228
<table align="center">
229-
<tr><th align="center">Micro Inverter Model</th><th align="center">Fw. 1.00.06</th><th align="center">Fw. 1.00.17</th><th align="center">Fw. 1.00.20</th><th align="center">Fw. 1.1.00.0B</th></tr>
229+
<tr><th align="center">Micro Inverter Model</th><th align="center">Fw. 1.00.06</th><th align="center">Fw. 1.00.17</th><th align="center">Fw. 1.00.20</th><th align="center">Fw. 4.0.10</th></tr>
230230
<tr><td>GEN3 micro inverters (single MPPT):<br>MS300, MS350, MS400<br>MS400-D</td><td align="center">❓</td><td align="center">❓</td><td align="center">❓</td><td align="center">➖</td></tr>
231231
<tr><td>GEN3 micro inverters (dual MPPT):<br>MS600, MS700, MS800<br>MS600-D, MS800-D</td><td align="center">✔️</td><td align="center">✔️</td><td align="center">✔️</td><td align="center">➖</td></tr>
232232
<tr><td>GEN3 PLUS micro inverters:<br>MS1600, MS1800, MS2000<br>MS2000-D</td><td align="center">➖</td><td align="center">➖</td><td align="center">➖</td><td align="center">✔️</td></tr>

app/src/scheduler.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def regular_modbus_cmds(cls):
4141
fnc = getattr(m, "send_modbus_cmd", None)
4242
if callable(fnc):
4343
await fnc(Modbus.READ_REGS, 0x3008, 21, logging.DEBUG)
44-
if 0 == (cls.count % 30):
45-
# logging.info("Regular Modbus Status request")
46-
await fnc(Modbus.READ_REGS, 0x2007, 2, logging.DEBUG)
44+
# if 0 == (cls.count % 30):
45+
# # logging.info("Regular Modbus Status request")
46+
# await fnc(Modbus.READ_REGS, 0x2007, 2, logging.DEBUG)
4747
cls.count += 1

0 commit comments

Comments
 (0)