nibi79 / worxlandroid

openHAB Binding for Worx Landroid
60 stars 20 forks source link

Some data missing to initiate AWS connection Landriod Vision #103

Open angri313 opened 7 months ago

angri313 commented 7 months ago

The API-bridge is online, but the mower thing is stuck somewhere in the initialization. No mower item is filled with any data.

The first try of initialisation of the mower thing gives data back and also when the thing configuration ist stored without any changes. Log: “Some data missing to initiate AWS connection” “Worx Landroid Api Response” , but includes some right informations of the mower. It looks like the connection to the mower is available, but breaks during initialization.

My setup: Openhabian running on Rpi 4 openHAB 4.1.2 - Release Build org.openhab.binding.worxlandroid-4.1.0-SNAPSHOT.jar

My mower: Landroid Vision WR208E Version 1.2.29+4 - 3.34.0+3

I can see the mower through the mobile app and also at the web interface.

Is the Vision series imply in this binding right now? If not, can i help you with testings on my openhab?

TomW80 commented 7 months ago

Do you restart openhab after installing the binding?

angri313 commented 7 months ago

Do you restart openhab after installing the binding?

Yes, i´ve done several reboots. The bridge is online after reboot but the mower thing is stuck in initializing.

TomW80 commented 7 months ago

Can you post your config of the mower thing?

angri313 commented 6 months ago

Hallo Tom, here are Config and logs:

Brige Thing:

UID: worxlandroid:bridge:9f2d091c32 label: Bridge Worx Landroid API thingTypeUID: worxlandroid:bridge configuration: password: MyPassword username: MyUsername location: Shaun

Mower Thing:

UID: worxlandroid:mower:9f2d091c32:48d6ce588c label: Landroid Mower thingTypeUID: worxlandroid:mower configuration: pollingInterval: 1200 refreshStatusInterval: 3600 serialNumber: 20233029460100XXXXXX bridgeUID: worxlandroid:bridge:9f2d091c32 location: Shaun channels:

log when storing mower Thing:

2024-04-29 12:02:43.987 [DEBUG] [ternal.handler.AWSClientThingHandler] - Some data missing to initiate AWS connection 2024-04-29 12:02:43.988 [DEBUG] [nal.handler.WorxLandroidMowerHandler] - Initializing WorxLandroidMowerHandler for serial number '20233029460100XXXXXX' 2024-04-29 12:02:43.989 [DEBUG] [landroid.internal.api.WorxApiHandler] - URI: https://api.worxlandroid.com/api/v2/product-items/20233029460100XXXXXX?status=1 ==> /var/log/openhab/events.log <==

2024-04-29 12:02:43.981 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:9f2d091c32:48d6ce588c' changed from UNINITIALIZED to INITIALIZING ==> /var/log/openhab/openhab.log <==

2024-04-29 12:02:44.157 [ERROR] [nal.handler.WorxLandroidMowerHandler] - initialize mower: id 20233029460100XXXXXX - Landroid Mower::worxlandroid:mower:9f2d091c32:48d6ce588c

TomW80 commented 6 months ago

looks good so far. However, I have the following values, but nothing should change.

pollingInterval: 3600
refreshStatusInterval: 1200

How large is your binding file? There used to be two versions of the 4.1.0 snapshot. mine is 17MB.

angri313 commented 6 months ago

The Intervalls came up as preconfigurated.

Mine file is also round 17MB. Depending on which program I use to view the file.

I´ve tried both versions during my testings.

TomW80 commented 6 months ago

Then unfortunately I can't help you any further. Here is the other version. Link

angri313 commented 6 months ago

Thanks a lot Tom.

I don't want to upset anyone. I was just wondering why there are two different versions with the same name. If I can contribute something to the development or testing, I would be happy to help.