The Automower binding works quiet fine for me - I can send command to the mower via the actions. However, the regular retrieval of the automower status information does not work as I get those error messages, see below. Anybody having the same issue or an idea how to fix?
java.lang.NullPointerException: Cannot invoke "org.openhab.binding.automower.internal.rest.api.automowerconnect.dto.Position.getLatitude()" because the return value of "org.openhab.binding.automower.internal.rest.api.automowerconnect.dto.MowerData.getLastPosition()" is null
at org.openhab.binding.automower.internal.things.AutomowerHandler.updateChannelState(AutomowerHandler.java:317) ~[?:?]
at org.openhab.binding.automower.internal.things.AutomowerHandler.updateAutomowerState(AutomowerHandler.java:215) ~[?:?]
at org.openhab.binding.automower.internal.things.AutomowerHandler.lambda$0(AutomowerHandler.java:94) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Bridge Thing
UID: automower:bridge:385f03ef86
label: Automower Connect Bridge
thingTypeUID: automower:bridge
configuration:
pollingInterval: 3600
appKey: xxx
appSecret: xxx
Automower Thing
UID: automower:automower:xxx
label: Automower Aspire (Automower Husqvarna Automower® Aspire™ R4)
thingTypeUID: automower:automower
configuration:
mowerId: xxx
pollingInterval: 600
bridgeUID: automower:bridge:385f03ef86
channels:
- id: name
channelTypeUID: automower:nameType
label: Automower Name
description: The channel providing the automower name
configuration: {}
- id: mode
channelTypeUID: automower:modeType
label: Mode
description: The current mode
configuration: {}
- id: activity
channelTypeUID: automower:activityType
label: Activity
description: The current activity
configuration: {}
- id: state
channelTypeUID: automower:stateType
label: State
description: The current state
configuration: {}
- id: last-update
channelTypeUID: automower:lastUpdateType
label: Last Update
description: The time when the mower sent the last update
configuration: {}
- id: battery
channelTypeUID: system:battery-level
label: Batterieladung
description: Zeigt die aktuelle Batterieladung in Prozent an (0% - 100%).
configuration: {}
- id: error-code
channelTypeUID: automower:errorCodeType
label: Error Code
description: The error code at the time of last update
configuration: {}
- id: error-timestamp
channelTypeUID: automower:errorTimestampType
label: Error Time
description: The time when the error occurred
configuration: {}
- id: planner-next-start
channelTypeUID: automower:plannerNextStartTimestampType
label: Next Auto Start
description: The channel providing the time for the next auto start. If the
mower is charging then the value is the estimated time when it will be
leaving the charging station. If the mower is about to start now, the
value is NULL.
configuration: {}
- id: planner-override-action
channelTypeUID: automower:plannerOverrideActionType
label: Override Action
description: The channel providing an action that overrides current planner operation.
configuration: {}
- id: calendar-tasks
channelTypeUID: automower:calendarTasksType
label: Planner Info JSON
description: The channel providing a JSON with the information about the planner tasks.
configuration: {}
- id: start
channelTypeUID: automower:start
label: Start with Duration
description: Start for a duration in minutes
configuration: {}
- id: resume_schedule
channelTypeUID: automower:resumeSchedule
label: Resume Schedule
description: Resume schedule
configuration: {}
- id: pause
channelTypeUID: automower:pause
label: Pause
description: Pause the mower now until manual resume
configuration: {}
- id: park
channelTypeUID: automower:park
label: Park with Duration
description: Park for a duration in minutes
configuration: {}
- id: park_until_next_schedule
channelTypeUID: automower:parkUntilNextSchedule
label: Park Until Next Schedule
description: Park until next schedule
configuration: {}
- id: park_until_further_notice
channelTypeUID: automower:parkUntilFurtherNotice
label: Park and Pause the Schedule
description: Park and pause the mower schedule until manual resume
configuration: {}
- id: last-position
channelTypeUID: automower:positionType
label: GPS Position
description: Last Position
configuration: {}
- id: position01
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position02
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position03
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position04
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position05
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position06
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position07
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position08
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position09
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position10
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position11
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position12
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position13
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position14
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position15
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position16
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position17
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position18
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position19
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position20
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position21
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position22
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position23
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position24
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position25
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position26
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position27
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position28
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position29
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position30
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position31
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position32
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position33
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position34
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position35
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position36
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position37
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position38
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position39
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position40
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position41
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position42
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position43
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position44
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position45
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position46
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position47
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position48
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position49
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}
- id: position50
channelTypeUID: automower:positionType
label: GPS Position
description: The channel providing a waypoint of the mower's activity.
configuration: {}