Skip to content

Commit 9ae90e5

Browse files
committed
Revert "OpenDTU: check "producing""
This reverts commit 7e75457.
1 parent 7e75457 commit 9ae90e5

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Changelog
22

3-
## V 1.104
4-
### script
5-
* OpenDTU: check for "producing" -> try to fix https://github.com/reserve85/HoymilesZeroExport/issues/242 and https://github.com/reserve85/HoymilesZeroExport/issues/211
6-
73
## V 1.103
84
### script
95
* removed SetLimit, SetLimitWithPriority -> only one Function for SetLimit (same routine for mixed mode, battery mode, non battery mode)

HoymilesZeroExport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1616

1717
__author__ = "Tobias Kraft"
18-
__version__ = "1.104"
18+
__version__ = "1.103"
1919

2020
import time
2121
from requests.sessions import Session
@@ -1007,7 +1007,7 @@ def CheckMinVersion(self):
10071007

10081008
def GetAvailable(self, pInverterId: int):
10091009
ParsedData = self.GetJson(f'/api/livedata/status?inv={SERIAL_NUMBER[pInverterId]}')
1010-
Reachable = bool(ParsedData['inverters'][0]["reachable"]) and bool(ParsedData['inverters'][0]["producing"])
1010+
Reachable = bool(ParsedData['inverters'][0]["reachable"])
10111011
logger.info('OpenDTU: Inverter "%s" reachable: %s',NAME[pInverterId],Reachable)
10121012
return Reachable
10131013

0 commit comments

Comments
 (0)