Skip to content

Commit

Permalink
set min-AHOY Version >= 0.7.29
Browse files Browse the repository at this point in the history
## V1.74
### script
* reverted script to support AHOY >= '0.7.29'
  • Loading branch information
reserve85 authored Feb 12, 2024
1 parent 8ed3854 commit 43b0939
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## V1.74
### script
* reverted script to support AHOY >= '0.7.29'

## V1.73
### script
* Support of AHOY-DTU Authentication, https://github.com/reserve85/HoymilesZeroExport/issues/132 and https://github.com/lumapu/ahoy/issues/1415
Expand Down
4 changes: 2 additions & 2 deletions HoymilesZeroExport.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

__author__ = "Tobias Kraft"
__version__ = "1.73"
__version__ = "1.74"

import requests
import time
Expand Down Expand Up @@ -329,7 +329,7 @@ def GetHoymilesAvailable():
raise

def CheckAhoyVersion():
MinVersion = '0.8.78'
MinVersion = '0.7.29'
url = f'http://{AHOY_IP}/api/system'
ParsedData = requests.get(url, timeout=10).json()
AhoyVersion = str((ParsedData["version"]))
Expand Down

0 comments on commit 43b0939

Please sign in to comment.