From 1243f2209eba217841a92a6306755a7907ee6f63 Mon Sep 17 00:00:00 2001 From: JeanBaptiste-elec <70018216+JeanBaptiste-elec@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:46:10 +0200 Subject: [PATCH 1/2] Update solaxcloud.class.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mise à jour suite au changement d'adresse du site solax. --- core/class/solaxcloud.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/solaxcloud.class.php b/core/class/solaxcloud.class.php index ca2b329..2f93b32 100644 --- a/core/class/solaxcloud.class.php +++ b/core/class/solaxcloud.class.php @@ -425,7 +425,7 @@ public function getSolaxcloudData() { curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // COLLECTING VALUES - curl_setopt($ch, CURLOPT_URL, 'https://www.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId=' .$solaxcloud_token.'&sn=' .$solaxcloud_regisno); + curl_setopt($ch, CURLOPT_URL, 'https://eu.solaxcloud.com/proxy/api/getRealtimeInfo.do?tokenId=' .$solaxcloud_token.'&sn=' .$solaxcloud_regisno); $data = curl_exec($ch); if (curl_errno($ch)) { From d4a4a757254d97d14270d6d950577bb139d4b014 Mon Sep 17 00:00:00 2001 From: JeanBaptiste-elec <70018216+JeanBaptiste-elec@users.noreply.github.com> Date: Fri, 30 Aug 2024 16:38:28 +0200 Subject: [PATCH 2/2] Update solaxcloud API site Modification of the solaxcloud API website --- core/class/solaxcloud.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/solaxcloud.class.php b/core/class/solaxcloud.class.php index 2f93b32..97fcafd 100644 --- a/core/class/solaxcloud.class.php +++ b/core/class/solaxcloud.class.php @@ -425,7 +425,7 @@ public function getSolaxcloudData() { curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // COLLECTING VALUES - curl_setopt($ch, CURLOPT_URL, 'https://eu.solaxcloud.com/proxy/api/getRealtimeInfo.do?tokenId=' .$solaxcloud_token.'&sn=' .$solaxcloud_regisno); + curl_setopt($ch, CURLOPT_URL, 'https://global.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId=' .$solaxcloud_token.'&sn=' .$solaxcloud_regisno); $data = curl_exec($ch); if (curl_errno($ch)) {