Robonect binding / Automower WLAN Module

binding
Tags: #<Tag:0x00007fd322208fa8>

(Simon) #61

I also get that “beep beep” every time openhab tries to get some status of the mower (R70li)
Did you find a solution to skip the “beep”?
So, at the moment my polling intervall is quite long…


(Marco Meyer) #62

Did you use the latest snapshot?


(Christoph K) #63

I have the same issue…

I don’t know how exactly it came up as I was updating the firmware on the mower at the same time as I was upgrading to a new binding.

It seems like it’s waking up the mower when something is pulled by triggering some command. In the logs I see that the state of the mower changes from sleeping to parking when it beeps…

I have the same behavior for the latest 2.3 and 2.4 snapshots.


(Marco Meyer) #64

Can you post the logs please? Thx


(Christoph K) #65

I’m currently tracing the binding, but today it did not happen yet.

I usually experienced the behavior while the mower was in auto mode but sleeping. (so practically during night… :slight_smile: ) As I’m currently not at home i set the mower to home mode so it goes to sleep mode and I see when it “beeps” as it would wake up. (but maybe in that case it does not happen…)

Anyways, wanted to let you know that I’m on it and will let you know once i figured out more.


(Christoph K) #66

Hi,

pls. finde the log below. The beep happens when it changes from sleeping (=schläft) to parking (=parkt).

00:31:48.943 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:31:53.956 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 17, "stopped": false, "duration": 218, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 12}, "clock": {"date": "2018-07-15", "time": "00:31:23", "unix": 1531614683}, "successful": true} 
00:32:24.006 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:32:24.379 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 17, "stopped": false, "duration": 249, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 12}, "clock": {"date": "2018-07-15", "time": "00:31:54", "unix": 1531614714}, "successful": true} 
00:32:54.460 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:33:24.476 [DEBUG] [ding.robonect.handler.RobonectHandler] - Failed to communicate with the mower. Taking it offline.
org.openhab.binding.robonect.internal.RobonectCommunicationException: Could not send command http://10.0.0.30/json?cmd=status
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:307) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.internal.RobonectClient.getMowerInfo(RobonectClient.java:190) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.refreshMowerInfo(RobonectHandler.java:238) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.access$1(RobonectHandler.java:237) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler$MowerChannelPoller.run(RobonectHandler.java:407) [241:org.openhab.binding.robonect:2.3.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.util.concurrent.TimeoutException
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:109) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:676) ~[?:?]
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:290) ~[?:?]
	... 11 more
00:33:54.626 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=version 
00:34:24.642 [DEBUG] [ding.robonect.handler.RobonectHandler] - Failed to communicate with the mower. Taking it offline.
org.openhab.binding.robonect.internal.RobonectCommunicationException: Could not send command http://10.0.0.30/json?cmd=version
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:307) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.internal.RobonectClient.getVersionInfo(RobonectClient.java:317) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.refreshVersionInfo(RobonectHandler.java:303) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.access$0(RobonectHandler.java:302) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler$MowerChannelPoller.run(RobonectHandler.java:404) [241:org.openhab.binding.robonect:2.3.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.util.concurrent.TimeoutException
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:109) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:676) ~[?:?]
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:290) ~[?:?]
	... 11 more
00:34:54.792 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=version 
00:35:02.027 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"mower": {"hardware": {"serial": 164601354, "production": "2016-11-15 10:37:00"}, "msw": {"title": "R40Li", "version": "6.12.00", "compiled": "2016-09-15 15:57:53"}, "sub": {"version": "6.01.00"}}, "serial": "05DA2D32-33304343-43162948", "bootloader": {"version": "V1.0", "compiled": "2017-12-14 23:10:00", "comment": "Release V1.0"}, "wlan": {"at-version": "V1.6.0", "sdk-version": "V2.2.0"}, "application": {"version": "V1.0", "compiled": "2018-06-09 13:13:00", "comment": "V1.0 Beta 5"}, "successful": true} 
00:35:02.079 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:35:04.308 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 1, "stopped": false, "duration": 6, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 11}, "clock": {"date": "2018-07-15", "time": "00:34:32", "unix": 1531614872}, "successful": true} 
00:35:04.357 [INFO ] [e.smarthome.model.script.garden.rules] - Mower state changed to Parkt
00:35:34.357 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:36:04.373 [DEBUG] [ding.robonect.handler.RobonectHandler] - Failed to communicate with the mower. Taking it offline.
org.openhab.binding.robonect.internal.RobonectCommunicationException: Could not send command http://10.0.0.30/json?cmd=status
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:307) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.internal.RobonectClient.getMowerInfo(RobonectClient.java:190) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.refreshMowerInfo(RobonectHandler.java:238) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.access$1(RobonectHandler.java:237) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler$MowerChannelPoller.run(RobonectHandler.java:407) [241:org.openhab.binding.robonect:2.3.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.util.concurrent.TimeoutException
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:109) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:676) ~[?:?]
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:290) ~[?:?]
	... 11 more
00:36:34.529 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=version 
00:37:04.545 [DEBUG] [ding.robonect.handler.RobonectHandler] - Failed to communicate with the mower. Taking it offline.
org.openhab.binding.robonect.internal.RobonectCommunicationException: Could not send command http://10.0.0.30/json?cmd=version
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:307) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.internal.RobonectClient.getVersionInfo(RobonectClient.java:317) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.refreshVersionInfo(RobonectHandler.java:303) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.access$0(RobonectHandler.java:302) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler$MowerChannelPoller.run(RobonectHandler.java:404) [241:org.openhab.binding.robonect:2.3.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.util.concurrent.TimeoutException
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:109) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:676) ~[?:?]
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:290) ~[?:?]
	... 11 more
00:37:34.695 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=version 
00:37:59.998 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"mower": {"hardware": {"serial": 164601354, "production": "2016-11-15 10:37:00"}, "msw": {"title": "R40Li", "version": "6.12.00", "compiled": "2016-09-15 15:57:53"}, "sub": {"version": "6.01.00"}}, "serial": "05DA2D32-33304343-43162948", "bootloader": {"version": "V1.0", "compiled": "2017-12-14 23:10:00", "comment": "Release V1.0"}, "wlan": {"at-version": "V1.6.0", "sdk-version": "V2.2.0"}, "application": {"version": "V1.0", "compiled": "2018-06-09 13:13:00", "comment": "V1.0 Beta 5"}, "successful": true} 
00:38:00.081 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:38:00.189 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 1, "stopped": false, "duration": 9, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 11}, "clock": {"date": "2018-07-15", "time": "00:37:27", "unix": 1531615047}, "successful": true} 
00:38:30.268 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:39:00.311 [DEBUG] [ding.robonect.handler.RobonectHandler] - Failed to communicate with the mower. Taking it offline.
org.openhab.binding.robonect.internal.RobonectCommunicationException: Could not send command http://10.0.0.30/json?cmd=status
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:307) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.internal.RobonectClient.getMowerInfo(RobonectClient.java:190) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.refreshMowerInfo(RobonectHandler.java:238) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler.access$1(RobonectHandler.java:237) [241:org.openhab.binding.robonect:2.3.0]
	at org.openhab.binding.robonect.handler.RobonectHandler$MowerChannelPoller.run(RobonectHandler.java:407) [241:org.openhab.binding.robonect:2.3.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.util.concurrent.TimeoutException
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:109) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:676) ~[?:?]
	at org.openhab.binding.robonect.internal.RobonectClient.sendCommand(RobonectClient.java:290) ~[?:?]
	... 11 more
00:39:30.460 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=version 
00:39:34.857 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"mower": {"hardware": {"serial": 164601354, "production": "2016-11-15 10:37:00"}, "msw": {"title": "R40Li", "version": "6.12.00", "compiled": "2016-09-15 15:57:53"}, "sub": {"version": "6.01.00"}}, "serial": "05DA2D32-33304343-43162948", "bootloader": {"version": "V1.0", "compiled": "2017-12-14 23:10:00", "comment": "Release V1.0"}, "wlan": {"at-version": "V1.6.0", "sdk-version": "V2.2.0"}, "application": {"version": "V1.0", "compiled": "2018-06-09 13:13:00", "comment": "V1.0 Beta 5"}, "successful": true} 
00:39:34.909 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:39:35.777 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 1, "stopped": false, "duration": 1, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -75}, "health": {"temperature": 28, "humidity": 12}, "clock": {"date": "2018-07-15", "time": "00:39:02", "unix": 1531615142}, "successful": true} 
00:40:05.830 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:40:06.838 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 1, "stopped": false, "duration": 31, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 11}, "clock": {"date": "2018-07-15", "time": "00:39:32", "unix": 1531615172}, "successful": true} 
00:40:36.888 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:40:44.153 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 17, "stopped": false, "duration": 23, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 11}, "clock": {"date": "2018-07-15", "time": "00:40:11", "unix": 1531615211}, "successful": true} 
00:40:44.207 [INFO ] [e.smarthome.model.script.garden.rules] - Mower state changed to Schläft
00:41:14.203 [DEBUG] [ding.robonect.internal.RobonectClient] - send HTTP GET to: http://10.0.0.30/json?cmd=status 
00:41:14.371 [DEBUG] [ding.robonect.internal.RobonectClient] - Response body was: {"name": "Raul", "id": "53C95A", "status": {"status": 17, "stopped": false, "duration": 53, "mode": 0, "battery": 100, "hours": 333}, "timer": {"status": 2, "next": {"date": "2018-07-16", "time": "08:30:00", "unix": 1531729800}}, "blades": {"quality": 6, "hours": 141, "days": 44}, "wlan": {"signal": -74}, "health": {"temperature": 28, "humidity": 11}, "clock": {"date": "2018-07-15", "time": "00:40:41", "unix": 1531615241}, "successful": true} 


(Simon) #67

I updated the mower and the binding.
Thx 4 that, I haven’t heard the beep for some days.


(sebastien) #68

Hi,

I’m using you binding since 4 weeks with a Gardena R100Li (== Gardena sileno). I use the 1.0 beta 6 from robonect. All the basics are working properly. Thanks for this great binding !

Two things are not working with my setup.

Health

health-temperature and health-humidity are not working. I have no error in the logs but no values associated to items.

Here is the response to http://tondeuse/json?cmd=status

{"name": "Robonect", "id": "XXXXXX", "status": {"status": 17, "distance": 0, "stopped": false, "door": false, "duration": 1002, "mode": 2, "battery": 100, "hours": 68}, "timer": {"status": 0}, "blades": {"quality": 89, "hours": 12, "days": 10}, "wlan": {"signal": -86}, "health": {"temperature": 32, "humidity": 37}, "clock": {"date": "2018-07-21", "time": "16:44:29", "unix": 1532191469}, "successful": true}

Job

I can’t make job request work.

My definition of item :

Switch mowerOneHourJob "Start mowing for one hour from now" {channel="robonect:mower:automower:job",remoteStart="REMOTE_1",afterMode="HOME",duration="60"}

I got the following error when changing switch state :

2018-07-21 16:55:27.369 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.robonect.handler.RobonectHandler@4e3177e7': Name is null
java.lang.NullPointerException: Name is null
	at java.lang.Enum.valueOf(Enum.java:236) [?:?]
	at org.openhab.binding.robonect.internal.model.cmd.ModeCommand$Mode.valueOf(ModeCommand.java:1) [250:org.openhab.binding.robonect:2.4.0.201807211101]
	at org.openhab.binding.robonect.handler.RobonectHandler.handleJobCommand(RobonectHandler.java:158) [250:org.openhab.binding.robonect:2.4.0.201807211101]
	at org.openhab.binding.robonect.handler.RobonectHandler.sendCommand(RobonectHandler.java:144) [250:org.openhab.binding.robonect:2.4.0.201807211101]
	at org.openhab.binding.robonect.handler.RobonectHandler.handleCommand(RobonectHandler.java:104) [250:org.openhab.binding.robonect:2.4.0.201807211101]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at com.sun.proxy.$Proxy193.handleCommand(Unknown Source) [250:org.openhab.binding.robonect:2.4.0.201807211101]
	at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
	at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
	at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Thanks again for you job on this binding.


(Marco Meyer) #69

Hi Christoph,

Sorry for the late response. Looking at your log, now I understand the beep. The reason is actually, that for some unkown reason the status cannot be queried and the binding has a timeout. This takes the binding in an error state where it tries later to request the version info etc. again. Unfortunately this info cannot be retrieved without waking the mower. This causes the beep. I have to review, if this logic makes really sense. Maybe I can remove this extra version query. However, looks like your mower/module or your openhab does have some WLAN connectivity issues. Fixing this, will also fix the beep :wink:


(Marco Meyer) #70

Hmmm, can you post your item configuration for the health channel? I don’t see any issue in the JSON from the module. Thus I would expect humidity and temperature to work.

For the job. I have to admin that I did not test this on my mower yet and currently have no access. But I have a working unit test. The exception indicates, that your afterMode parameter results somehow in ‘null’ which I do not understand. can you try once to remove all the double quotes in the item config? I’m not sure if these are really required.


(sebastien) #71

Ok, i found my error for this part, i use String instead of Number in item declaration ! :roll_eyes:

But i had another error with health-temperature. Without specific in item declaration format i got an error :
Exception while formatting value '27' of item mowerTemperature with format '%.0f %unit%': Conversion = 'u'

When i put a format in item declaration everything is ok :

Number mowerTemperature "Temperature [%d]" {channel="robonect:mower:automower:health-temperature"}

All is ok now, thanks.

If i don’t put the quotes, I have a syntax error parsing rule :

Configuration model 'tondeuse.items' has errors, therefore ignoring it: [9,132]: mismatched input 'REMOTE_1' expecting RULE_STRING
[9,151]: mismatched input 'HOME' expecting RULE_STRING
[9,165]: mismatched input '60' expecting RULE_STRING