Trying to install domoticz-python-melcloud plugin, but hit to problem.
Environment is raspberry PI
Domoticz:
Version: 2021.1
Build Hash: 8547c5b7e
Compile Date: 2021-04-17 18:29:11
dzVents Version: 3.1.7
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
and Melcloud plugin version 0.7.8 from https://github.com/gysmo38/domoticz-pyt ... /plugin.py
with small modification in line 436 to get Test script working.
Current 436 in plugin.py :
data = {"Appversion":"1.9.3.0", "Email":Parameters["Username"],"Password": Parameters["Password"] }
after that change I got test working ok :
Code: Select all
/domoticz/plugins/Melcloud $ python3 plugin.py
Log : debug_Level: 62
Debug : requestUrl: https://app.melcloud.com:443
Log : MELCloud connection OK
Debug : JSON REPLY: {'ErrorId': None, 'ErrorMessage': None, 'LoginStatus': 0, 'UserId': 0, 'RandomKey': None, 'AppVersionAnnouncement': None, 'LoginData': {'ContextKey': 'DA....
Code: Select all
2021-11-30 22:16:41.074 ILP hardware started.
2021-11-30 22:16:41.695 ILP: (ILP) MELCloud connection OK
2021-11-30 22:16:41.797 ILP: (ILP) JSON REPLY: {'ErrorId': 1, 'ErrorMessage': None, 'LoginStatus': 0, 'UserId': 0, 'RandomKey': None, 'AppVersionAnnouncement': None, 'LoginData': None, 'ListPendingInvite': None, 'ListOwnershipChangeRequest': None, 'ListPendingAnnouncement': None, 'LoginMinutes': 0, 'LoginAttempts': 0}
2021-11-30 22:16:41.797 ILP: (ILP) MELCloud login fail: check login and password
2021-11-30 22:16:41.074 Status: ILP: (ILP) Entering work loop.
2021-11-30 22:16:41.075 Status: ILP: (ILP) Started.
2021-11-30 22:16:41.350 Status: ILP: (ILP) Initialized version 0.7.8, author 'gysmo'
2021-11-30 22:17:13.091 ILP: (ILP) MELCloud has disconnected
2021-11-30 22:17:13.092 ILP: (ILP) Goobye from MELCloud plugin.
2021-11-30 22:17:13.083 Status: ILP: (ILP) Stop directive received.
2021-11-30 22:17:13.161 Status: ILP: (ILP) Exiting work loop.
2021-11-30 22:17:13.183 Status: ILP: (ILP) Stopping threads.
2021-11-30 22:17:13.183 Status: ILP: (ILP) Stopped.