Hello everyone! maybe someone who already managed to get devices popped up after installing the Add-On could give me a hint what to do now.
I installed the Add-On, typed in my connectlife credentials, AC is a split AC airconditioner, all devices are online in the connectlife app.
mqtt credentials were left blank as suggested.
However I cannot see my AC devices in HA.
Would be really nice to get some assistance.
I got info that someone (ip from Hungary) was abusing the integration and flooding the API with requests so they had to turn it off until proper public API will be available.
So guys please, when you are doing anything with unofficial APIs, please take care what are you are doing. They knew about this integration but they did not limit us until someone started to abuse itâŚ
Dear Andrey,
API is under the development but because of the community interest for API, we left ââ unauthorized ââ gate open. Unfortunately integration was abused from HU and we had to close it down until we will make it as it should be to protect users and the system.
We appreciate your understanding and your input!
Kind regards
Neda MijatoviÄ
Yeah but as can be seen above it is not connected to this attack from HU. Also question on their plan to implement it by 2025. Guess itâs easier to switch to an alternative wiii adapter.
this is a recap.
create a directory for the addon
download the zip from git
unzip it
execute docker build . --build-arg=âBUILD_FROM=alpine:3.19â -t ha-connectlife-addon
create compose.yml like this one
version: â3.8â
services:
ha-connectlife-addon:
image: ha-connectlife-addon
environment:
- CONNECTLIFE_LOGIN=YOUR CONNECTLIFE EMAIL
- CONNECTLIFE_PASSWORD=YOUR CONNECTLIFE PWD
- LOG_LEVEL=info
- MQTT_HOST=YOUR MQTT IP (dont use 127.0.0.1, it fail to me)
- MQTT_USER=YOUR MQTT USER
- MQTT_PASSWORD=YOUR MQTT PWD
- MQTT_PORT=1883
- MQTT_SSL=false
command: /bin/ash -c âphp artisan app:mqtt-loopâ
Wait for Add-on to appear or click âReloadâ in the same overflow menu.
Install / build thhe add-on.
Turn on the add-on watchdog - Connectlife API is not stable and sometimes times out.
In the Configuration section, fill in the necessary fields. If you leave the fields blank, the add-on will attempt to fetch MQTT credentials from the Supervisor API.
Wait for Add-on to appear or click âReloadâ in the same overflow menu.
Install / build thhe add-on.
Turn on the add-on watchdog - Connectlife API is not stable and sometimes times out.
In the Configuration section, fill in the necessary fields. If you leave the fields blank, the add-on will attempt to fetch MQTT credentials from the Supervisor API.
The only thing I would add is that, in my case, leaving field blank did not work, and I had to fill username and password (as I expected) manually. Also you need MQTT installed⌠But it was very âeasyâ if you have a little HomeAssistant experience.
I had left this effort alone for a few days.
Now today, all of a sudden, the MQTT integration discovered the portable A/C.
Very odd!
Working great, thank you for the addon!
Under MQTT there were still no ConnectLife devices discovered. I tried also manually adding MQTT ip, username and password. My MQTT server is working, already are there 88 devices.
In log I can see many reports like this but I believe this is because I have different type of AC (feature code 109) and a few other products in my ConnectLife account
2024-03-04 15:32:34,912 DEBG 'mqtt' stdout output:
[ErrorException]
Undefined array key "t_temp_type"
Exception trace:
at /home/app/app/Services/AcDevice.php:28
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255
Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() at /home/app/app/Services/AcDevice.php:28
App\Services\AcDevice->__construct() at /home/app/app/Services/ConnectlifeApiService.php:139
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
2024-03-04 15:32:34,912 DEBG 'mqtt' stdout output:
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
Illuminate\Container\Container->call() at /home/app/vendor/laravel/framework/src/Illuminate/Console/Command.php:211
Illuminate\Console\Command->execute() at /home/app/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at /home/app/vendor/laravel/framework/src/Illuminate/Console/Command.php:180
Illuminate\Console\Command->run() at /home/app/vendor/symfony/console/Application.php:1096
Symfony\Component\Console\Application->doRunCommand() at /home/app/vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at /home/app/vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:201
Illuminate\Foundation\Console\Kernel->handle() at /home/app/artisan:35
2024-03-04 15:32:34,912 DEBG 'mqtt' stdout output:
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
Illuminate\Container\Container->call() at /home/app/vendor/laravel/framework/src/Illuminate/Console/Command.php:211
Illuminate\Console\Command->execute() at /home/app/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at /home/app/vendor/laravel/framework/src/Illuminate/Console/Command.php:180
Illuminate\Console\Command->run() at /home/app/vendor/symfony/console/Application.php:1096
Symfony\Component\Console\Application->doRunCommand() at /home/app/vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at /home/app/vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:201
Illuminate\Foundation\Console\Kernel->handle() at /home/app/artisan:35
2024-03-04 15:32:35,914 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-03-04 15:32:35,914 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)