-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It doesn't work for some reason #25
Comments
That's all you can catch. the login and password from the application are correct, MQTT works, I don't know what's going on |
s6-rc: info: service s6rc-oneshot-runner: starting INFO Server running on [http://0.0.0.0:8000]. 2024-04-02 14:39:18,788 DEBG 'webapi' stdout output: INFO Server running on [http://0.0.0.0:8000]. 2024-04-02 14:39:18,789 DEBG 'webapi' stdout output: 2024-04-02 14:39:18,789 DEBG 'webapi' stdout output: 2024-04-02 14:39:19,791 INFO success: webapi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) |
Wrong credentials to MQTT server I think. |
Tried to run through the console pi@raspberrypi:~/connectlife-api-connector $ sudo docker run -it -p 8000:8000 -e CONNECTLIFE_LOGIN=$$$$ -e CONNECTLIFE_PASSWORD=$$$$-- -e LOG_LEVEL=info -e MQTT_HOST=192.168.3.172 -e MQTT_USER=pi -e MQTT_PASSWORD=$$$$ -e MQTT_PORT=1883 -e MQTT_SSL=false ha-connectlife-addon /bin/ash -c 'php artisan app:mqtt-loop' "callId": "54e5f228f4b648c08cd56143521c3e27", "errorCode": 403120, "errorDetails": "Account temporarily locked out", "errorMessage": "Account Temporarily Locked Out", "apiVersion": 2, "statusCode": 403, "statusReason": "Forbidden", "time": "2024-04-02T11:47:42.905Z" }"] In ConnectlifeApiService.php line 83: Call to a member function body() on array |
Try changing connectlife password. |
Changed, unfortunately nothing has changed, the same log ( |
Turn off the addon and try tomorrow. Maybe you hit some rate limits. |
It's the same today, the same mistakes ( |
Are you able to login here: |
Yes, after that I immediately connected like a plugin, but the device was not created 2024-04-04 17:00:50,076 DEBG 'mqtt' stdout output: "callId": "f1890e90bf6c41109a78be2f2ef7a586", "errorCode": 0, "apiVersion": 2, "statusCode": 200, "statusReason": "OK", "time": "2024-04-04T14:00:50.042Z", ... 2024-04-04 17:00:51,543 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,543 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,543 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,543 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,544 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,544 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,619 DEBG 'mqtt' stdout output: 2024-04-04 17:00:51,619 DEBG 'mqtt' stdout output: 2024-04-04 17:01:51,843 DEBG 'mqtt' stdout output: 2024-04-04 17:01:51,843 DEBG 'mqtt' stdout output: 2024-04-04 17:02:52,308 DEBG 'mqtt' stdout output: 2024-04-04 17:02:52,308 DEBG 'mqtt' stdout output: 2024-04-04 17:03:52,595 DEBG 'mqtt' stdout output: 2024-04-04 17:03:52,595 DEBG 'mqtt' stdout output: 2024-04-04 17:04:52,759 DEBG 'mqtt' stdout output: 2024-04-04 17:04:52,759 DEBG 'mqtt' stdout output: |
My air conditioner is connected to the network and controlled through the "connect life" application, but it is not visible through this plugin ( |
Paste your logs after add-on start please. |
s6-rc: info: service s6rc-oneshot-runner: starting 2024-04-05 18:21:07,660 DEBG 'mqtt' stdout output: 2024-04-05 18:21:07,673 DEBG 'mqtt' stdout output: 2024-04-05 18:21:07,673 DEBG 'mqtt' stdout output: "email": "secret@gmail.com",
}, "registered": "2024-04-02T16:08:32.646Z", "socialProviders": "googleplus,site", "verified": "2024-04-02T16:08:24.766Z", "verifiedTimestamp": 1712074104766, "newUser": false, "sessionInfo": {
} }"] 2024-04-05 18:21:08,304 DEBG 'mqtt' stdout output: "callId": "secret", "errorCode": 0, "apiVersion": 2, "statusCode": 200, "statusReason": "OK", "time": "2024-04-05T15:21:08.270Z", "id_token": "secret.secret-secret-9z0N-secret-secret" }"] 2024-04-05 18:21:08,304 DEBG 'mqtt' stdout output: "callId": "secret", "errorCode": 0, "apiVersion": 2, "statusCode": 200, "statusReason": "OK", "time": "2024-04-05T15:21:08.270Z", "id_token": "secret.secret-secret-9z0N-secret-secret" }"] 2024-04-05 18:21:08,305 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-04-05 18:21:09,143 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,214 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,214 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,555 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,555 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,557 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,557 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,632 DEBG 'mqtt' stdout output: 2024-04-05 18:21:09,632 DEBG 'mqtt' stdout output: |
Is there any information, can it work for me? |
I have no idea. I can debug it for you but I will need your credentials. |
same problem on my installation |
Thank you! I sent your credentials to your email |
@bulava92 I logged in to your account in the connectlife iOS app (https://apps.apple.com/pl/app/connectlife/id1519398796). The app forced me to select my region. I did that and no devices were added to your account, empty. I think you have to use VPN because the problem is related with your region. |
Can confirm that. Guess there are several datacenters. Couldn't even log in to swagger when it was up. |
Thanks for sharing this information. |
The only difference is China and Russia. All other countries should work the same way |
I can't turn on the split. all other functions are ok |
How do I change the region in the app? |
I tried uninstalling and reinstalling but it gives me the following error. Suggestions? The add-on could not be installed |
2024-04-02 14:10:01,671 DEBG 'mqtt' stdout output:
PhpMqtt\Client\MqttClient->connectInternal() at /home/app/vendor/php-mqtt/client/src/MqttClient.php:123
2024-04-02 14:10:01,672 DEBG 'mqtt' stdout output:
PhpMqtt\Client\MqttClient->connect() at /home/app/app/Providers/AppServiceProvider.php:29
2024-04-02 14:10:01,672 DEBG 'mqtt' stdout output:
PhpMqtt\Client\MqttClient->connect() at /home/app/app/Providers/AppServiceProvider.php:29
2024-04-02 14:10:01,672 DEBG 'mqtt' stdout output:
App\Providers\AppServiceProvider->App\Providers{closure}() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:908
2024-04-02 14:10:01,672 DEBG 'mqtt' stdout output:
App\Providers\AppServiceProvider->App\Providers{closure}() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:908
2024-04-02 14:10:01,673 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->build() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:795
2024-04-02 14:10:01,673 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->build() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:795
2024-04-02 14:10:01,674 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
2024-04-02 14:10:01,674 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:957
2024-04-02 14:10:01,675 DEBG 'mqtt' stdout output:
Illuminate\Foundation\Application->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:731
2024-04-02 14:10:01,675 DEBG 'mqtt' stdout output:
Illuminate\Foundation\Application->resolve() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:731
2024-04-02 14:10:01,675 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->make() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:942
2024-04-02 14:10:01,675 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->make() at /home/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:942
2024-04-02 14:10:01,676 DEBG 'mqtt' stdout output:
Illuminate\Foundation\Application->make() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:1066
2024-04-02 14:10:01,676 DEBG 'mqtt' stdout output:
Illuminate\Foundation\Application->make() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:1066
2024-04-02 14:10:01,677 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolveClass() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:982
2024-04-02 14:10:01,677 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolveClass() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:982
2024-04-02 14:10:01,678 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolveDependencies() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:943
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
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-04-02 14:10:01,678 DEBG 'mqtt' stdout output:
Illuminate\Container\Container->resolveDependencies() at /home/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:943
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
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-04-02 14:10:02,680 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-04-02 14:10:02,680 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
The text was updated successfully, but these errors were encountered: