[ 2025.1]Melcloud2Domoticz .sh script not working anymore Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

[ 2025.1]Melcloud2Domoticz .sh script not working anymore

Post by ricvee »

Where can I find Version: 2024.7 for a Raspberry pi? I cannot find it on https://github.com/domoticz/domoticz/releases
I need to downgrade because the control with a .sh script for my Mitsubishi Hetpump with Melcloud is not working as it should.
Perhaps somebody can put the right releases back on github?
There are for version 2024.7 only 3 Assets instead of 7

Thanks,

Ric
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Melcloud2Domoticz not working properly in 2025.1

Post by ricvee »

I can no longer write things back from Domoticz to Melcloud.

This is the script:
Attachments
melcloud2domoticz_2025_2.txt
(29.81 KiB) Downloaded 16 times
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Domoticz version 2025.1 released

Post by jvdz »

Just use your backup which should have been created during the upgrade process. ( and honestly I always make a full manual backup aswell before any major change)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Domoticz version 2025.1 released

Post by ricvee »

Sure!
I restored it and now the script is working fine again.
Thank you!
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: [ 2025.1] .sh script not working anymore

Post by waltervl »

ricvee wrote: Thursday 08 May 2025 17:38 Where can I find Version: 2024.7 for a Raspberry pi? I cannot find it on https://github.com/domoticz/domoticz/releases
I need to downgrade because the control with a .sh script for my Mitsubishi Hetpump with Melcloud is not working as it should.
....
Thanks,

Ric
Does your .sh script uses Domoticz API calls to update Domoticz devices? Then you probably need to change those. See wiki https://wiki.domoticz.com/Domoticz_API/ ... and_newer)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Melcloud2Domoticz not working properly in 2025.1

Post by waltervl »

ricvee wrote: Thursday 08 May 2025 17:51 I can no longer write things back from Domoticz to Melcloud.

This is the script:
I merged the 2 topics you posted in.
In the script I see for example

Code: Select all

http://$SERVERIP:$PORT/json.htm?type=devices&rid=$IDXHeatpumpStatus
This should be

Code: Select all

http://$SERVERIP:$PORT/json.htm?type=command&param=getdevices&rid=$IDXHeatpumpStatus
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

Re: [ 2025.1]Melcloud2Domoticz .sh script not working anymore

Post by ricvee »

Thanks waltervi!
I will change the script, and let you know here.
Should the new notation also work in 2024.7 ?(for testing first before I upgrade again to 2025.1)
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: [ 2025.1]Melcloud2Domoticz .sh script not working anymore

Post by waltervl »

Yes, new API calls also work in 2024.7. Those are already available from even older 2023.2.

In 2024.7 you should now have warnings in the log you are using deprecated RType calls. If you change the script to use the new API calls you wont see those messages anymore.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

Re: [ 2025.1]Melcloud2Domoticz .sh script not working anymore

Post by ricvee »

Everything is working like a charm again!
And I upgraded again to 2025.1.

Thanks again, for the help.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest