Open LukasA83 opened 1 year ago
No ideas from my side, but I have this problem also since 3 days.
I also have no idea
Same here, there are several more reports:
https://community.openhab.org/t/worx-landroid-binding/95246/223
The same thing happened to me... I did the following:
But did it solve the issue in Openhab, @PilotIoTSystems ?
@LukasA83 No, there is no solution yet! It still doesn't work!
Have do some research, API Req./Resp. looks good, get Bearer token + mqtt_endpoint (from .../users/me) + certificate (from .../users/certificate) but it seems that there is no mqtt connection req. to the mqtt_endpoint. the only thing I see is the dns lookup for the endpoint but no try to connect to one of these ip nor a connection to tcp 1883 or tcp 8883. @nibi79 : what would be the expected behaviour after getting the client certificate (pkcs12)? I would expect a mqtt connection to mqtt_endpoint.
2022-11-04 18:21:18.861 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-11-04 18:21:19.453 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-11-04 18:21:19.453 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-11-04 18:21:19.746 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":666666,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-07-12 10:28:34","updated_at":"2022-09-28 2022-11-04 18:21:18.861 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-11-04 18:21:19.453 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-11-04 18:21:19.453 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-11-04 18:21:19.746 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":666666,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-07-12 10:28:34","updated_at":"2022-09-28 16:25:37"}
2022-11-04 18:21:19.749 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-11-04 18:21:19.750 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-11-04 18:21:19.896 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":5555555,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-07-12 10:59:29","updated_at":"2020-07-12 10:59:29"}
2022-11-04 18:21:19.896 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
I tried your 3.2-beta binding
290 │ Active │ 80 │ 3.0.0.202210051231
with openhab 3.3.0-1 on debian11
When you get the response with the certificate you get also a value 'active' and this value is false. And when the certificate is not valid/active it is not possible to get a mqtt connection. Some other Implementation (e.g. iobroker) use a solution without certificate but I have not been able to solve it this way yet.
and I also asked POSITEC (provider of the API) for support but so far without success!
... when the certificate is not valid/active it is not possible to get a mqtt connection. ...
hmmm, thats true, when I have a look to my older logs it was always active:true. Last time at the 6th Oct.
and this problem hits only a few users? strange. what's your status? still active:true?
had a look to the received certificate and it looks good so far. Interestingly with a long lifetime
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
d0:93:8b:38:e7:39:83:0c:74:0d:55:50:xxxxxxxxxxxxxxx
Signature Algorithm: sha256WithRSAEncryption
Issuer: OU = Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
Validity
Not Before: Jul 12 10:57:29 2020 GMT
Not After : Dec 31 23:59:59 2049 GMT
Subject: CN = AWS IoT Certificate
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
...
and I also asked POSITEC (provider of the API) for support but so far without success!
yeah, the support is unfortunately not that fast 👎
No it's also not working for me and I think it's not working for all users in generall!?
@mitch-geht-ab "and this problem hits only a few users? strange."
When I had the problem with MyWorx Bridge (OpenHAB 3.3), the Desktop APP was still working fine. After the mower re-pair, the Desktop APP also stopped. EISHA wrote to this (sorry for the German language): "Entscheident ist das active:false im certificate. Offenbar zieht Positec nun die mqtt Verbindung ohne Zertifikat durch." Probably the same certificate problem is behind both.
@mitch-geht-ab He developed the Desktop APP. https://github.com/EishaV/Desktop-App
@nibi79 Eisha writes about the Desktop APP: "Es wird kein Zertifikat mehr bereitgestellt. Positec stellt auf custom authorisation via wss um." I don't know what this means, but it seems that the authorization method has changed...
Yes that is what I meant:
Some other Implementation (e.g. iobroker) use a solution without certificate but I have not been able to solve it this way yet.
Looks like the awsiot sdk for java does not support adding custom auth headers via websocket. Not sure if there is any alternative?!
you're right! and there are alternatives but I didn't get them to work until now...
I'll try to publish a new repository with a small testproject tomorrow .... maybe someone else has an idea and can help me...
as promised yesterday -> https://github.com/nibi79/WorxTest
in this testproject I use another library:
<dependency>
<groupId>software.amazon.awssdk.iotdevicesdk</groupId>
<artifactId>aws-iot-device-sdk</artifactId>
<version>1.10.3</version>
</dependency>
Here it's possible to set header information, but I'm not sure how to handle the token. Take a look at the ioBroker implementation:
Maybe someone else has a solution or an idea
Sorry... no connection
[Completed exceptionally: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.]
ErrorCode 5134
I also spent couple of hours on this, but ended up with the same error. Is there anyway to get more detailed logs on the sdk used to connect to aws?
@nibi79: I spent some time and got the MQTT connection working, see my pull request on the test repository: https://github.com/nibi79/WorxTest/pull/1
Hopefully you can continue from there.
How can community support @nibi79, @LukasA83, @mitch-geht-ab , @PilotIoTSystems ?
I'm still workig on this but I think i have a interims solution for this,
Great to hear!
hi all, @mitch-geht-ab, @sihui62, @LukasA83, @PilotIoTSystems, @MatzeMuc86
I have put in a lot of effort and managed to create a new version of the binding. However, I had to implement some workarounds to make it work properly:
I may be able to resolve these issues in a different way in the future. As of now, the software works with OH 3.4.1 and OH 3.4.2, but not with OH 3.2 (I had to update my installation to 3.4.1). I am unsure about compatibility with other versions of OH.
I hope your mowers are not still in hibernation. Please give your feedback after testing this new version -> https://github.com/nibi79/worxlandroid/releases/tag/v3.4.1-beta
don't forget to set the loglevel -> log:set DEBUG org.openhab.binding.worxlandroid
Hi @nibi79, thanks a lot for all your effort. I installed the addon on my openHAB 3.3.0 installation. Bridge is online again and log looks good so far. My mower is still in the basement, but I'll start it up again in the next few days.
Thanks also from my side!!! As soon as weather alows I will test.
Same from my side, mower is still in the basement... But updated the binding and checked the items and it looks good so far. Have also enabled debugging for the binding and will report if sth. look strange (aside the issues you allready reported). As side note, my OH installation is at 3.4.2
The AWS connection is interrupted every 15–20 minutes
I get an AWS connection success
message around every 20 minutes in the debug log, so that should be okay.
Thx a lot @nibi79, as soon as the snow is melted we can start the mowing season :-)
openHAB Version 3.4.2
Do you also have this error? #77 | Error connecting to Worx Landroid WebApi! Error = java.io.EOFException
Do you also have this error?
Nope. Here is the debug log, sensitive data is masked.
Hi @nibi79! Thank you very much for your help and for your time. I have uploaded the v3.4.1-beta binding. My OH version is 3.3.0 MyWorxBridge works great! Of course, the robot is offline because it is still resting during the winter. I copy the debug log, although I don't understand much of it...
#### worx_debug.txt ```2023-03-07 22:01:24.189 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Dependency Manager created HttpClientFactoryinterface=org.openhab.core.io.net.http.HttpClientFactory, filter=null, policy=static, cardinality=1..1, bind=setHttpClientFactory, unbind=unsetHttpClientFactory, updated=null, field=null, field-option=null, collection-type=null, parameter=null 2023-03-07 22:01:24.189 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Component created: DS=DS13, implementation=org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory, immediate=false, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[binding.worxlandroid] 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Component Services: scope=singleton, services=[org.openhab.core.thing.binding.ThingHandlerFactory] 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Component Properties: {} 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Querying state disabled 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Querying state disabled 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Component can not be activated since it is in state disabled 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory] : Querying state disabled 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Updating target filters 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : No change in target property for dependency HttpClientFactory: currently registered: false 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : No existing service listener to unregister for dependency HttpClientFactory 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Setting target property for dependency HttpClientFactory to null 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : New service tracker for HttpClientFactory, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.core.io.net.http.HttpClientFactory), initialReferenceFilter (objectClass=org.openhab.core.io.net.http.HttpClientFactory) 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : dm HttpClientFactory tracker reset (closed) 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : dm HttpClientFactory tracking 1 SingleStatic added {org.openhab.core.io.net.http.HttpClientFactory, org.openhab.core.io.net.http.WebSocketFactory}={service.id=270, service.bundleid=174, service.scope=bundle, component.name=org.openhab.core.io.net.http.internal.WebClientFactoryImpl, component.id=145} (enter) 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : dm HttpClientFactory tracking 1 SingleStatic active: false trackerOpened: false optional: false 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : dm HttpClientFactory tracking 1 SingleStatic added {org.openhab.core.io.net.http.HttpClientFactory, org.openhab.core.io.net.http.WebSocketFactory}={service.id=270, service.bundleid=174, service.scope=bundle, component.name=org.openhab.core.io.net.http.internal.WebClientFactoryImpl, component.id=145} (exit) 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : dm HttpClientFactory tracker opened 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : registering service listener for dependency HttpClientFactory 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Changed state from disabled to unsatisfiedReference 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Component enabled 2023-03-07 22:01:24.204 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : ActivateInternal 2023-03-07 22:01:24.343 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state unsatisfiedReference 2023-03-07 22:01:24.349 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state unsatisfiedReference 2023-03-07 22:01:24.389 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Activating component from state unsatisfiedReference 2023-03-07 22:01:24.390 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state unsatisfiedReference 2023-03-07 22:01:24.390 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state unsatisfiedReference 2023-03-07 22:01:24.391 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Changed state from unsatisfiedReference to satisfied 2023-03-07 22:01:24.391 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : registration change queue [registered] 2023-03-07 22:01:24.395 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Checking constructor public org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory() 2023-03-07 22:01:24.395 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Found constructor with 0 arguments : public org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory() 2023-03-07 22:01:24.396 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : getting bind: setHttpClientFactory 2023-03-07 22:01:24.397 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Locating method setHttpClientFactory in class org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory 2023-03-07 22:01:24.398 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : doFindMethod: Looking for method org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.setHttpClientFactory 2023-03-07 22:01:24.398 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Declared Method org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.setHttpClientFactory([interface org.osgi.framework.ServiceReference]) not found 2023-03-07 22:01:24.399 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Declared Method org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.setHttpClientFactory([interface org.osgi.service.component.ComponentServiceObjects]) not found 2023-03-07 22:01:24.400 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : getReferenceClass: Looking for interface class org.openhab.core.io.net.http.HttpClientFactory through loader of org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory 2023-03-07 22:01:24.401 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : getParameterClass: Found class org.openhab.core.io.net.http.HttpClientFactory 2023-03-07 22:01:24.401 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : doFindMethod: No method taking ServiceReference found, checking method taking org.openhab.core.io.net.http.HttpClientFactory 2023-03-07 22:01:24.402 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : doFindMethod: Found Method protected void org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.setHttpClientFactory(org.openhab.core.io.net.http.HttpClientFactory) 2023-03-07 22:01:24.402 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Found bind method: protected void org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.setHttpClientFactory(org.openhab.core.io.net.http.HttpClientFactory) 2023-03-07 22:01:24.403 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : This thread collected dependencies 2023-03-07 22:01:24.403 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : getService (single component manager) dependencies collected. 2023-03-07 22:01:24.404 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state satisfied 2023-03-07 22:01:24.404 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Querying state satisfied 2023-03-07 22:01:24.405 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : For dependency HttpClientFactory, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.io.net.http.HttpClientFactory, org.openhab.core.io.net.http.WebSocketFactory}={service.id=270, service.bundleid=174, service.scope=bundle, component.name=org.openhab.core.io.net.http.internal.WebClientFactoryImpl, component.id=145}] service: [org.openhab.core.io.net.http.internal.WebClientFactoryImpl@31d23432]]] 2023-03-07 22:01:24.408 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : invoking bind: setHttpClientFactory: parameters [org.openhab.core.io.net.http.internal.WebClientFactoryImpl] 2023-03-07 22:01:24.409 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : invoked bind: setHttpClientFactory 2023-03-07 22:01:24.410 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : getting activate: activate 2023-03-07 22:01:24.410 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Locating method activate in class org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory 2023-03-07 22:01:24.411 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Declared Method org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory.activate([interface org.osgi.service.component.ComponentContext]) not found 2023-03-07 22:01:24.411 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Locating method activate in class org.openhab.core.thing.binding.BaseThingHandlerFactory 2023-03-07 22:01:24.412 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Found activate method: protected void org.openhab.core.thing.binding.BaseThingHandlerFactory.activate(org.osgi.service.component.ComponentContext) 2023-03-07 22:01:24.412 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.manager.ComponentContextImpl] 2023-03-07 22:01:24.413 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : invoked activate: activate 2023-03-07 22:01:24.414 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Set implementation object for component 2023-03-07 22:01:24.414 [DEBUG] [.internal.WorxLandroidHandlerFactory] - bundle org.openhab.binding.worxlandroid:3.4.1 (286)[org.openhab.binding.worxlandroid.internal.WorxLandroidHandlerFactory(327)] : Changed state from satisfied to active 2023-03-07 22:01:25.356 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - try to connect to API... 2023-03-07 22:01:25.762 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token 2023-03-07 22:01:27.531 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3599,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"} 2023-03-07 22:01:27.547 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - API connected: true 2023-03-07 22:01:27.547 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me 2023-03-07 22:01:27.984 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":554788,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2022-04-30 18:53:57","updated_at":"2022-10-26 08:05:41"} 2023-03-07 22:01:28.000 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items?status=1 2023-03-07 22:01:28.141 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: [{"id":678946,"uuid":"96c531a3-fe95-4002-a5b3-c2cd794e4a2f","product_id":69,"user_id":554788,"serial_number":"202130267111005405FB","mac_address":"4C752542BD14","name":"G-Robi","locked":true,"firmware_version":3.26,"firmware_auto_upgrade":false,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":"1149","registered_at":"2022-04-30 00:00:00","online":false,"app_settings":null,"protocol":0,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_control","bluetooth_pairing","digital_fence_settings","lock","mqtt","multi_zone","multi_zone_percentage","one_time_scheduler","pairing_smartconfig","pause_over_wire","rain_delay","rain_delay_start","safe_go_home","scheduler_two_slots","unrestricted_mowing_time"],"capabilities_available":[],"features":{"auto_lock":3.25,"bluetooth_control":3.2,"bluetooth_pairing":true,"chassis":"m_2021","digital_fence_settings":3.25,"display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"pause_over_wire":3.26,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartconfig"},"accessories":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100\/4C752542BD14\/commandIn","command_out":"PRM100\/4C752542BD14\/commandOut"},"warranty_registered":true,"purchased_at":"2022-04-27 00:00:00","warranty_expires_at":"2025-04-27 00:00:00","setup_location":{"latitude":47.401787457056344,"longitude":15.245071537792684},"city":{"id":2770377,"country_id":40,"name":"Oberaich","latitude":47.400002,"longitude":15.21667,"created_at":"2018-02-15 22:08:29","updated_at":"2018-02-15 22:08:29"},"time_zone":"Europe\/Vienna","lawn_size":null,"lawn_perimeter":187,"auto_schedule_settings":null,"auto_schedule":false,"distance_covered":276979,"mower_work_time":18660,"blade_work_time":17340,"blade_work_time_reset":17340,"blade_work_time_reset_at":"2022-11-06 07:11:22","battery_charge_cycles":112,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2022-01-04 12:36:15","updated_at":"2022-10-27 01:26:25","last_status":null}] 2023-03-07 22:01:30.119 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - try to connect to AWS... 2023-03-07 22:01:31.245 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - connected to existing session! 2023-03-07 22:01:31.260 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS connection success 2023-03-07 22:01:31.260 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - connection resumed 2023-03-07T22:01:31.260929700 2023-03-07 22:01:31.260 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS connected: true 2023-03-07 22:01:31.385 [DEBUG] [id.internal.WorxLandroidMowerHandler] - Initializing WorxLandroidMowerHandler for serialNumber '202130267111005405FB' 2023-03-07 22:01:31.385 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items 2023-03-07 22:01:31.510 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: [{"id":678946,"uuid":"96c531a3-fe95-4002-a5b3-c2cd794e4a2f","product_id":69,"user_id":554788,"serial_number":"202130267111005405FB","mac_address":"4C752542BD14","name":"G-Robi","locked":true,"firmware_version":3.26,"firmware_auto_upgrade":false,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":"1149","registered_at":"2022-04-30 00:00:00","online":false,"app_settings":null,"protocol":0,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_control","bluetooth_pairing","digital_fence_settings","lock","mqtt","multi_zone","multi_zone_percentage","one_time_scheduler","pairing_smartconfig","pause_over_wire","rain_delay","rain_delay_start","safe_go_home","scheduler_two_slots","unrestricted_mowing_time"],"capabilities_available":[],"features":{"auto_lock":3.25,"bluetooth_control":3.2,"bluetooth_pairing":true,"chassis":"m_2021","digital_fence_settings":3.25,"display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"pause_over_wire":3.26,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartconfig"},"accessories":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100\/4C752542BD14\/commandIn","command_out":"PRM100\/4C752542BD14\/commandOut"},"warranty_registered":true,"purchased_at":"2022-04-27 00:00:00","warranty_expires_at":"2025-04-27 00:00:00","setup_location":{"latitude":47.401787457056344,"longitude":15.245071537792684},"city":{"id":2770377,"country_id":40,"name":"Oberaich","latitude":47.400002,"longitude":15.21667,"created_at":"2018-02-15 22:08:29","updated_at":"2018-02-15 22:08:29"},"time_zone":"Europe\/Vienna","lawn_size":null,"lawn_perimeter":187,"auto_schedule_settings":null,"auto_schedule":false,"distance_covered":276979,"mower_work_time":18660,"blade_work_time":17340,"blade_work_time_reset":17340,"blade_work_time_reset_at":"2022-11-06 07:11:22","battery_charge_cycles":112,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2022-01-04 12:36:15","updated_at":"2022-10-27 01:26:25"}] 2023-03-07 22:01:31.526 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items?status=1 2023-03-07 22:01:31.651 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: [{"id":678946,"uuid":"96c531a3-fe95-4002-a5b3-c2cd794e4a2f","product_id":69,"user_id":554788,"serial_number":"202130267111005405FB","mac_address":"4C752542BD14","name":"G-Robi","locked":true,"firmware_version":3.26,"firmware_auto_upgrade":false,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":"1149","registered_at":"2022-04-30 00:00:00","online":false,"app_settings":null,"protocol":0,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_control","bluetooth_pairing","digital_fence_settings","lock","mqtt","multi_zone","multi_zone_percentage","one_time_scheduler","pairing_smartconfig","pause_over_wire","rain_delay","rain_delay_start","safe_go_home","scheduler_two_slots","unrestricted_mowing_time"],"capabilities_available":[],"features":{"auto_lock":3.25,"bluetooth_control":3.2,"bluetooth_pairing":true,"chassis":"m_2021","digital_fence_settings":3.25,"display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"pause_over_wire":3.26,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartconfig"},"accessories":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100\/4C752542BD14\/commandIn","command_out":"PRM100\/4C752542BD14\/commandOut"},"warranty_registered":true,"purchased_at":"2022-04-27 00:00:00","warranty_expires_at":"2025-04-27 00:00:00","setup_location":{"latitude":47.401787457056344,"longitude":15.245071537792684},"city":{"id":2770377,"country_id":40,"name":"Oberaich","latitude":47.400002,"longitude":15.21667,"created_at":"2018-02-15 22:08:29","updated_at":"2018-02-15 22:08:29"},"time_zone":"Europe\/Vienna","lawn_size":null,"lawn_perimeter":187,"auto_schedule_settings":null,"auto_schedule":false,"distance_covered":276979,"mower_work_time":18660,"blade_work_time":17340,"blade_work_time_reset":17340,"blade_work_time_reset_at":"2022-11-06 07:11:22","battery_charge_cycles":112,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2022-01-04 12:36:15","updated_at":"2022-10-27 01:26:25","last_status":null}] 2023-03-07 22:01:31.682 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - subsribe to topic -> PRM100/4C752542BD14/commandOut 2023-03-07 22:01:31.698 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish topic -> PRM100/4C752542BD14/commandIn 2023-03-07 22:01:31.698 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish message -> null 2023-03-07 22:01:31.698 [DEBUG] [id.internal.WorxLandroidMowerHandler] - Initialize thing: G-Robi::worxlandroid:mower:MyWorxBridge:202130267111005405FB 2023-03-07 22:01:35.278 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items 2023-03-07 22:01:35.414 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: [{"id":678946,"uuid":"96c531a3-fe95-4002-a5b3-c2cd794e4a2f","product_id":69,"user_id":554788,"serial_number":"202130267111005405FB","mac_address":"4C752542BD14","name":"G-Robi","locked":true,"firmware_version":3.26,"firmware_auto_upgrade":false,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":"1149","registered_at":"2022-04-30 00:00:00","online":false,"app_settings":null,"protocol":0,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_control","bluetooth_pairing","digital_fence_settings","lock","mqtt","multi_zone","multi_zone_percentage","one_time_scheduler","pairing_smartconfig","pause_over_wire","rain_delay","rain_delay_start","safe_go_home","scheduler_two_slots","unrestricted_mowing_time"],"capabilities_available":[],"features":{"auto_lock":3.25,"bluetooth_control":3.2,"bluetooth_pairing":true,"chassis":"m_2021","digital_fence_settings":3.25,"display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"pause_over_wire":3.26,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartconfig"},"accessories":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100\/4C752542BD14\/commandIn","command_out":"PRM100\/4C752542BD14\/commandOut"},"warranty_registered":true,"purchased_at":"2022-04-27 00:00:00","warranty_expires_at":"2025-04-27 00:00:00","setup_location":{"latitude":47.401787457056344,"longitude":15.245071537792684},"city":{"id":2770377,"country_id":40,"name":"Oberaich","latitude":47.400002,"longitude":15.21667,"created_at":"2018-02-15 22:08:29","updated_at":"2018-02-15 22:08:29"},"time_zone":"Europe\/Vienna","lawn_size":null,"lawn_perimeter":187,"auto_schedule_settings":null,"auto_schedule":false,"distance_covered":276979,"mower_work_time":18660,"blade_work_time":17340,"blade_work_time_reset":17340,"blade_work_time_reset_at":"2022-11-06 07:11:22","battery_charge_cycles":112,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2022-01-04 12:36:15","updated_at":"2022-10-27 01:26:25"}] 2023-03-07 22:01:35.414 [DEBUG] [rnal.discovery.MowerDiscoveryService] - Discovered a mower thing with ID '202130267111005405FB' 2023-03-07 22:02:01.729 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items 2023-03-07 22:02:01.838 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: [{"id":678946,"uuid":"96c531a3-fe95-4002-a5b3-c2cd794e4a2f","product_id":69,"user_id":554788,"serial_number":"202130267111005405FB","mac_address":"4C752542BD14","name":"G-Robi","locked":true,"firmware_version":3.26,"firmware_auto_upgrade":false,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":"1149","registered_at":"2022-04-30 00:00:00","online":false,"app_settings":null,"protocol":0,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_control","bluetooth_pairing","digital_fence_settings","lock","mqtt","multi_zone","multi_zone_percentage","one_time_scheduler","pairing_smartconfig","pause_over_wire","rain_delay","rain_delay_start","safe_go_home","scheduler_two_slots","unrestricted_mowing_time"],"capabilities_available":[],"features":{"auto_lock":3.25,"bluetooth_control":3.2,"bluetooth_pairing":true,"chassis":"m_2021","digital_fence_settings":3.25,"display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"pause_over_wire":3.26,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartconfig"},"accessories":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100\/4C752542BD14\/commandIn","command_out":"PRM100\/4C752542BD14\/commandOut"},"warranty_registered":true,"purchased_at":"2022-04-27 00:00:00","warranty_expires_at":"2025-04-27 00:00:00","setup_location":{"latitude":47.401787457056344,"longitude":15.245071537792684},"city":{"id":2770377,"country_id":40,"name":"Oberaich","latitude":47.400002,"longitude":15.21667,"created_at":"2018-02-15 22:08:29","updated_at":"2018-02-15 22:08:29"},"time_zone":"Europe\/Vienna","lawn_size":null,"lawn_perimeter":187,"auto_schedule_settings":null,"auto_schedule":false,"distance_covered":276979,"mower_work_time":18660,"blade_work_time":17340,"blade_work_time_reset":17340,"blade_work_time_reset_at":"2022-11-06 07:11:22","battery_charge_cycles":112,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2022-01-04 12:36:15","updated_at":"2022-10-27 01:26:25"}] 2023-03-07 22:02:31.715 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish topic -> PRM100/4C752542BD14/commandIn 2023-03-07 22:02:31.716 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish message -> null 2023-03-07 22:02:31.717 [DEBUG] [id.internal.WorxLandroidMowerHandler] - send polling message 2023-03-07 22:12:30.736 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish topic -> PRM100/4C752542BD14/commandIn 2023-03-07 22:12:30.736 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - publish message -> null 2023-03-07 22:12:30.736 [DEBUG] [id.internal.WorxLandroidMowerHandler] - send polling message ```
@sihui62 how did you attach the log.TXT to make it a dropdown?
make it a dropdown?
Through the details
tag:
make it a dropdown?
Through the
details
tag:
@sihui62
Great! It worked! Thanks!
Tonight I got a reconnect error:
2023-03-08 00:15:02.465 [ERROR] [worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.
2023-03-08 00:15:02.465 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS reconnected: false
The connection did not get restored on its own. After disabling and reenabling the Bridge Thing the connection was restored, debug log is attached.
Tonight I got a reconnect error:
2023-03-08 00:15:02.465 [ERROR] [worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly. 2023-03-08 00:15:02.465 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS reconnected: false
The connection did not get restored on its own. After disabling and reenabling the Bridge Thing the connection was restored, debug log is attached.
debug error
Unfortunately, this happened to me too...
connection_interrupted.txt 2023-03-09 01:05:27.683 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - connection interrupted errorcode: 5134 2023-03-09 01:05:27.683 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - connection interrupted errorcode: 0 2023-03-09 01:05:32.699 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - lastResumed: 2023-03-09T00:48:40.239339200 interrupted 2023-03-09T01:05:27.683530400 im: false 2023-03-09 01:05:32.699 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS connection closed -> reconnectToWorx 2023-03-09 01:05:32.699 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - try to reconnect to AWS... 2023-03-09 01:05:32.699 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - reconnecting... 2023-03-09 01:05:32.699 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - connection interrupted errorcode: 0 2023-03-09 01:05:33.066 [ERROR] [worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly. 2023-03-09 01:05:33.066 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS reconnected: false
What value have you set for "Polling interval"? Please set the value to the maximum "599".
What value have you set for "Polling interval"?
Mine is set to 599. But the mower thing is still offline (we have a lot of snow at the moment, so the mower is still stored in the basement), could that be the culprit?
so the mower is still stored in the basement), could that be the culprit?
No, that shouldn't be the problem. Please keep monitoring and report if it occurs again. Perhaps I'll need to implement another workaround that does a reconnect in case of such an exception. However, that's not really satisfying.
and report if it occurs again
It happened just once, at the moment everything is fine. Thx again for all your hard work!
@nibi79 It stopped working for me 3 days ago and hasn't been updated since then. (I can see the Last Update in the Device Information) I tried the update manually (using the poll refresh button), but it doesn't help. OH ver. 3.3.0 Thank you for your work!
Please keep monitoring and report if it occurs again.
Unfortunately it stopped working completely. It does not help do disable/reenable the Bridge Thing or create a new Bridge Thing. :-(
2023-03-11 15:21:19.228 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - try to connect to AWS...
2023-03-11 15:21:19.637 [ERROR] [worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.
2023-03-11 15:21:19.637 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS connected: false
I tried the latest 3.4.1 version and it seemed to work fine first, but today I tried to start the lawn mowing from the Android app, and it no longer worked (it worked two weeks ago, when I started the mowing season). Dunno if it could be that the API servers thought my connection to be misbehaving and hence blocked my app access, too. Or is it just a temporary glitch in their servers.
Things that I'm unable to do via the Android app now include:
To see if there is any truth to my guess above, I disabled the landroid binding from my Openhab 3.4.2 for now.
Would be curious to know if anyone else has witnessed similar behavior in the Android app.
@PilotIoTSystems
and hasn't been updated since then
Are your things OFFLINE or ONLINE? Have you tried disabling and then enabling your things again?
@sihui62
Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.
It could be that you are blocked for 24 hours. Therefore, disable the things and wait without doing anything, then try again.
@osalo
blocked my app access, too
That sounds strange, and to be honest, I have no idea.
@nibi79
Are your things OFFLINE or ONLINE? Have you tried disabling and then enabling your things again?
Yesterday I disabled and then re-enabled things, since then it's online again! OH ver. 3.3.0
Related to my previous post: my Android APP started to work again, and the manual start + partymode etc function again from the Android app.
Unfortunately I don't know if the "no connection" issue in the Android app was caused by downtime in the Worx-related servers or if I caused a temporary ban for my IP/connection from their servers due to my Openhab binding tests.
Will test the Openhab binding bit more a tad later / in the coming days-weeks.
Hi,
Since around 1 week I got the blocked message in the binding. I tried to wait 48 hours and also remove and add back the mower to my worx account without success. The Worx app operates normally.
Here is the log:
2022-10-21 10:20:42.915 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h 2022-10-21 10:22:50.060 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token 2022-10-21 10:22:50.692 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"} 2022-10-21 10:22:50.696 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me 2022-10-21 10:22:50.858 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"} 2022-10-21 10:22:50.874 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate 2022-10-21 10:22:50.877 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate 2022-10-21 10:22:51.024 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"} 2022-10-21 10:22:51.034 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h 2022-10-21 10:23:43.735 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token 2022-10-21 10:23:44.169 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"} 2022-10-21 10:23:44.175 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me 2022-10-21 10:23:44.236 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"} 2022-10-21 10:23:44.251 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate 2022-10-21 10:23:44.254 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate 2022-10-21 10:23:44.387 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"} 2022-10-21 10:23:44.459 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
Any idea?