This script is to old, please check this forum post for a updated script :
https://gathering.tweakers.net/forum/view_message/78141334
#############################################################################
Old, do NOT use anymore, Melcloud wil block your account <<<<<<
#############################################################################
Tool for extracting data from Melcloud Ecodan to Domoticz (only 1x Air/Water unit!! Air/Air isn't working)
--> !! Domoticz is leading, so changes made in Melcloud are overruled by Domoticz (next version will have 2way sync)
--> !! Disable any timer/scheduler in Melcloud
Installation guide based on Debian
curl and jq (https://stedolan.github.io/jq/)
-> sudo apt-get install curl jq
mkdir -p /var/bin/melcloud
cd /var/bin/melcloud
wget https://raw.githubusercontent.com/AlbertHakvoort/Melcloud2Domoticz/master/melcloud2domoticz.sh
chmod +x melcloud2domoticz.sh
OutdoorTemperature | RoomTemperatureZone1 | TankWaterTemperature
SetHeatFlowTemperatureZone1 | SetCoolFlowTemperatureZone1 | SetTemperatureZone1 | SetTankWaterTemperatur
ProhibitZone1 | HeatpumpStatus | EcoHotWater | ProhibitHotWater |
HeatpumpPower | HeatpumpActive | ForcedHotWaterMode
OperationModeZone1 (change heat/cooling or thermostat/wdc)
Select "hide off level" and add the following levels:
10 Heating-Thermostat
20 Heating-WaterTemp
30 Heating-WDC
40 Cooling-Thermostat
50 Cooling-WaterTemp
-> the IDX's to the corresponding devices
-> username&password
-> Domoticz server ip and port
-> path of the used programs
/var/bin/melcloud/melcloud2domoticz.sh (when running as non-root user use sudo!)
crontab -e
/2 * /var/bin/melcloud/melcloud2domoticz.sh
(since the december 2021 firmware update the time must be changed from 1 to 2 minutes)