Skip to content
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

Some data missing to initiate AWS connection Landriod Vision #103

Open
angri313 opened this issue Apr 22, 2024 · 8 comments
Open

Some data missing to initiate AWS connection Landriod Vision #103

angri313 opened this issue Apr 22, 2024 · 8 comments

Comments

@angri313
Copy link

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
Copy link

TomW80 commented Apr 25, 2024

Do you restart openhab after installing the binding?

@angri313
Copy link
Author

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
Copy link

TomW80 commented Apr 27, 2024

Can you post your config of the mower thing?

@angri313
Copy link
Author

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:

  • id: common#status
    channelTypeUID: worxlandroid:status-type
    label: Status Code
    description: null
    configuration: {}
  • id: common#error
    channelTypeUID: worxlandroid:error-type
    label: Error Code
    description: null
    configuration: {}
  • id: common#online
    channelTypeUID: worxlandroid:switch-ro
    label: Online
    description: Online status of the mower
    configuration: {}
  • id: common#online-timestamp
    channelTypeUID: worxlandroid:timestamp
    label: Online Status Timestamp
    description: Last device update
    configuration: {}
  • id: common#action
    channelTypeUID: worxlandroid:action-type
    label: Action
    description: Action channel for your mower
    configuration: {}
  • id: common#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Mowing enabled
    description: null
    configuration: {}
  • id: common#lock
    channelTypeUID: worxlandroid:lock-type
    label: Lock mower
    description: Lock or unlock your mower.
    configuration: {}
  • id: config#timestamp
    channelTypeUID: worxlandroid:timestamp
    label: Last Update
    description: Last device update
    configuration: {}
  • id: config#command
    channelTypeUID: worxlandroid:number-ro
    label: Command
    description: null
    configuration: {}
  • id: multi-zones#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Multizone Enabled
    description: null
    configuration: {}
  • id: multi-zones#last-zone
    channelTypeUID: worxlandroid:zone-type
    label: Last Zone
    description: null
    configuration: {}
  • id: multi-zones#zone-1
    channelTypeUID: worxlandroid:zone-meter-type
    label: Meters Zone 1
    description: null
    configuration: {}
  • id: multi-zones#zone-2
    channelTypeUID: worxlandroid:zone-meter-type
    label: Meters Zone 2
    description: null
    configuration: {}
  • id: multi-zones#zone-3
    channelTypeUID: worxlandroid:zone-meter-type
    label: Meters Zone 3
    description: null
    configuration: {}
  • id: multi-zones#zone-4
    channelTypeUID: worxlandroid:zone-meter-type
    label: Meters Zone 4
    description: null
    configuration: {}
  • id: multi-zones#allocation-0
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 1
    description: null
    configuration: {}
  • id: multi-zones#allocation-1
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 2
    description: null
    configuration: {}
  • id: multi-zones#allocation-2
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 3
    description: null
    configuration: {}
  • id: multi-zones#allocation-3
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 4
    description: null
    configuration: {}
  • id: multi-zones#allocation-4
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 5
    description: null
    configuration: {}
  • id: multi-zones#allocation-5
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 6
    description: null
    configuration: {}
  • id: multi-zones#allocation-6
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 7
    description: null
    configuration: {}
  • id: multi-zones#allocation-7
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 8
    description: null
    configuration: {}
  • id: multi-zones#allocation-8
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 9
    description: null
    configuration: {}
  • id: multi-zones#allocation-9
    channelTypeUID: worxlandroid:zone-type
    label: Zone Allocation 10
    description: null
    configuration: {}
  • id: schedule#mode
    channelTypeUID: worxlandroid:schedule-mode-type
    label: Schedule Mode
    description: Sets Normal or Party mode
    configuration: {}
  • id: schedule#time-extension
    channelTypeUID: worxlandroid:time-extension-type
    label: Schedule Time Extension
    description: null
    configuration: {}
  • id: schedule#next-start
    channelTypeUID: worxlandroid:timestamp
    label: Next Start
    description: Next mowing start based on schedule
    configuration: {}
  • id: schedule#next-stop
    channelTypeUID: worxlandroid:timestamp
    label: Next Stop
    description: Next mowing stop based on schedule
    configuration: {}
  • id: aws#poll
    channelTypeUID: worxlandroid:switch-rw
    label: Poll AWS
    description: Enables or disables polling Worx AWS
    configuration: {}
  • id: aws#connected
    channelTypeUID: worxlandroid:switch-ro
    label: Connected
    description: Connection to AWS is alive
    configuration: {}
  • id: sunday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: sunday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: sunday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: sunday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: sunday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: sunday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: sunday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: sunday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: monday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: monday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: monday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: monday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: monday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: monday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: monday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: monday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: tuesday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: tuesday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: tuesday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: tuesday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: tuesday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: tuesday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: tuesday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: tuesday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: wednesday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: wednesday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: wednesday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: wednesday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: wednesday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: wednesday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: wednesday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: wednesday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: thursday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: thursday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: thursday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: thursday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: thursday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: thursday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: thursday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: thursday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: friday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: friday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: friday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: friday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: friday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: friday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: friday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: friday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: saturday#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: saturday#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: saturday#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: saturday#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: saturday2#enable
    channelTypeUID: worxlandroid:switch-rw
    label: Active
    description: Defines if this day schedule is active or not
    configuration: {}
  • id: saturday2#time
    channelTypeUID: worxlandroid:schedule-time
    label: Start Time
    description: Start time of the mowing on this day
    configuration: {}
  • id: saturday2#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: saturday2#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Edgecut
    description: null
    configuration: {}
  • id: one-time#edgecut
    channelTypeUID: worxlandroid:switch-rw
    label: Schedule Edgecut
    description: null
    configuration: {}
  • id: one-time#duration
    channelTypeUID: worxlandroid:schedule-duration-type
    label: Duration
    description: null
    configuration: {}
  • id: battery#temperature
    channelTypeUID: worxlandroid:battery-temp-type
    label: Battery Temperature
    description: Current temperature of the battery
    configuration: {}
  • id: battery#voltage
    channelTypeUID: worxlandroid:voltage-type
    label: Battery Voltage
    description: Battery voltage reported by the mower
    configuration: {}
  • id: battery#level
    channelTypeUID: system:battery-level
    label: Batterieladung
    description: Zeigt die aktuelle Batterieladung in Prozent an (0% - 100%).
    configuration: {}
  • id: battery#charge-cycles
    channelTypeUID: worxlandroid:number-ro
    label: Current Charge Cycles
    description: null
    configuration: {}
  • id: battery#charge-cycles-total
    channelTypeUID: worxlandroid:number-ro
    label: Total Charge Cycles
    description: null
    configuration: {}
  • id: battery#charging
    channelTypeUID: worxlandroid:charging-type
    label: Battery Charging
    description: null
    configuration: {}
  • id: orientation#pitch
    channelTypeUID: worxlandroid:axis-type
    label: Pitch
    description: null
    configuration: {}
  • id: orientation#roll
    channelTypeUID: worxlandroid:axis-type
    label: Roll
    description: null
    configuration: {}
  • id: orientation#yaw
    channelTypeUID: worxlandroid:axis-type
    label: Yaw
    description: null
    configuration: {}
  • id: metrics#blade-time
    channelTypeUID: worxlandroid:metrics-duration
    label: Current Blade Time
    description: null
    configuration: {}
  • id: metrics#blade-time-total
    channelTypeUID: worxlandroid:metrics-duration
    label: Total Blade Time
    description: null
    configuration: {}
  • id: metrics#distance
    channelTypeUID: worxlandroid:distance-type
    label: Total Distance
    description: null
    configuration: {}
  • id: metrics#total-time
    channelTypeUID: worxlandroid:metrics-duration
    label: Total Time
    description: null
    configuration: {}
  • id: rain#state
    channelTypeUID: worxlandroid:rain-state-type
    label: State
    description: null
    configuration: {}
  • id: rain#counter
    channelTypeUID: worxlandroid:rain-counter
    label: Counter
    description: null
    configuration: {}
  • id: rain#delay
    channelTypeUID: worxlandroid:rain-delay-type
    label: Delay
    description: null
    configuration: {}
  • id: wifi#rssi
    channelTypeUID: worxlandroid:rssi
    label: RSSI
    description: Received signal strength indicator
    configuration: {}
  • id: wifi#wifi-quality
    channelTypeUID: system:signal-strength
    label: Signalstärke
    description: Zeigt die aktuelle Signalstärke an. Werte von 0 (Kein Signal) bis 4
    (Ausgezeichnet).
    configuration: {}

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
Copy link

TomW80 commented Apr 29, 2024

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
Copy link
Author

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
Copy link

TomW80 commented Apr 29, 2024

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

@angri313
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants