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.