bilan/connectlife-api-connector

Error in Log - mqtt PHP issue?

thefjordkeeper opened this issue · 1 comments

Hi, I'm getting an error in the log. Any ideas what's wrong?

Core
2024.4.4
Supervisor
2024.04.0
Operating System
12.2
Frontend
20240404.2

Pi 4 8 GB with a 250GB SSD

MQTT works fine with Z2M and Ring MQTT add on.

2024-04-29 14:20:14,934 DEBG 'mqtt' stdout output:
In ConnectlifeApiService.php line 83:
                                             
  [Error]                                    

2024-04-29 14:20:14,934 DEBG 'mqtt' stdout output:
In ConnectlifeApiService.php line 83:
                                             
  [Error]                                    

2024-04-29 14:20:14,936 DEBG 'mqtt' stdout output:
  Call to a member function body() on array  
                                             

Exception trace:
  at /home/app/app/Services/ConnectlifeApiService.php:83
 App\Services\ConnectlifeApiService->App\Services\{closure}() at /home/app/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
 Illuminate\Cache\Repository->remember() at /home/app/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
 Illuminate\Cache\CacheManager->__call() at /home/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355
 Illuminate\Support\Facades\Facade::__callStatic() at /home/app/app/Services/ConnectlifeApiService.php:62
 App\Services\ConnectlifeApiService->getAccessToken() at /home/app/app/Services/ConnectlifeApiService.php:154
 App\Services\ConnectlifeApiService->devices() at /home/app/app/Services/ConnectlifeApiService.php:133
 App\Services\ConnectlifeApiService->getOnlineAcDevices() at /home/app/app/Services/MqttService.php:18
 App\Services\MqttService->__construct() at n/a:n/a
 ReflectionClass->newInstanceArgs() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:952
 Illuminate\Container\Container->build() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:795
 Illuminate\Container\Container->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
 Illuminate\Foundation\Application->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:731
 Illuminate\Container\Container->make() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:942
 Illuminate\Foundation\Application->make() at /home/app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:181
 Illuminate\Container\BoundMethod::addDependencyForCallParameter() at /home/app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:124
 Illuminate\Container\BoundMethod::getMethodDependencies() at /home/app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Util.php:41
 Illuminate\Container\Util::unwrapIfClosure() at /home/app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93
 Illuminate\Container\BoundMethod::callBoundMethod() at /home/app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35
 Illuminate\Container\BoundMethod::call() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:662

2024-04-29 14:20:14,936 DEBG 'mqtt' stdout output:
  Call to a member function body() on array  

Hi,
try changing connectlife password.