Git Product home page Git Product logo

openhab2-addons's People

Contributors

bgilmer77 avatar cdjackson avatar clinique avatar cweitkamp avatar digitaldan avatar dimalo avatar floriansw avatar gerrieg avatar hakan42 avatar hilbrand avatar jongj avatar kaikreuzer avatar kgoderis avatar lolodomo avatar maggu2810 avatar marcelrv avatar martinvw avatar mhilbush avatar mjagdis avatar olibutzki avatar paulianttila avatar peuter avatar pfink avatar ssalonen avatar tavalin avatar thomdietrich avatar vbier avatar velinyordanov avatar watou avatar wborn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cyberkeiler

openhab2-addons's Issues

error-date plus 1 hour

I'm using Rnobonect Hx6p with an Husqvarna Automower 305. DateTime of error-date is plus 1 hour to real Time of error.

Remotestart-Item from Readme produces syntax error

Hello,

i installed the robonect binding and copied the configuration from the readme/wiki page (https://www.openhab.org/addons/bindings/robonect/).

Unfortunately
Switch mowerOneHourJob "Start mowing for one hour from now" {channel="robonect:mower:automower:job",remoteStart=REMOTE_1,afterMode=AUTO,duration=60}
gives me this error in openhab.log:

Configuration model 'robonect.items' has errors, therefore ignoring it: [13,121]: mismatched input 'REMOTE_1' expecting RULE_STRING
[13,140]: mismatched input 'AUTO' expecting RULE_STRING
[13,154]: extraneous input '60' expecting RULE_STRING
[14,26]: mismatched input 'Error' expecting '}'
[24,31]: mismatched character '<EOF>' expecting '"'

If i comment that out, everything else (battery status, mode, etc.) works.
Other question: Is it even possible to set the parameters (remotestart, after-mode and duration) dynamically? Either by items or even better by sending a command in a rule?

Robonect never going to sleep due to polling

Hi.
I have got a problem that I suspect is due to this binding. It seems like my Robonect never goes to sleep although I have it configured to do so and my current suspicion is that it's because the openHAB binding constantly polls the API. This is normally not a problem, but when the Automower has run into something and isn't able to go back to the charging station it means Robonect uses up the battery. See this forum thread for more info: http://robonect.de/viewtopic.php?f=28&t=1126

I don't really know what could do to mitigate this problem. I could configure Robonect to shut down one minute after remote access and then set the bindings polling rate to something over a minute but I guess that will lead to all sorts of other problems. So I think something will have to be changed in the binding itself. Ideas?

last-error

last-error shows first but not last error of error history.

Temperature and humidity

I installed 1.0 preview yesterday and noticed that now temperature and humidity are accessible through the API. I am fully aware that this is not a released version, but it would be very nice to have support for those values in the binding :-)

This is what my status json looks like (with linebreaks that I added for readability):

{
	"successful": true,
	"name": "Rosenlund Automower",
	"status": {
		"status": 4, 
		"stopped": false, 
		"duration": 47493, 
		"mode": 0, 
		"battery": 20, 
		"hours": 991
	}, 
	"timer": {
		"status": 2, 
		"next": {
			"date": "30.07.2017", 
			"time": "13:00:00", 
			"unix": 1501419600
		}
	}, 
	"wlan": {
		"signal": -66
	}, 
	"health": {
		"temperature": 28, 
		"humidity": 32
	}
}

Changing mower mode

I've experienced that changing the mower mode causes a short switchback to the original state:

17:29:56.941 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'mowerMode' received command HOME
17:29:56.958 [INFO ] [marthome.event.ItemStateChangedEvent] - mowerMode changed from AUTO to HOME
17:29:58.617 [INFO ] [marthome.event.ItemStateChangedEvent] - mowerMode changed from HOME to AUTO
17:30:01.803 [INFO ] [marthome.event.ItemStateChangedEvent] - mowerMode changed from AUTO to HOME

I have toggled the mode to HOME, then it automatically switched back to AUTO and than back to HOME. The same happens by switching to MAN.

Character encoding problems

I'm experiencing character encoding problems within error messages sent from my Automower to openHAB. I don't really know if the problem lies within the binding or within Robonect's API.

Here is what I get in my events.log when the Automower moves outside of the working area (In swedish it's "Utanför arbetsområdet"):
2017-07-01 14:43:37.645 [ItemStateChangedEvent ] - RosenlundAutomower_Error_ErrorMessage changed from UNDEF to Utanf�r arbetsomr�det 2017-07-01 14:43:37.650 [ItemStateChangedEvent ] - RosenlundAutomower_Error_ErrorCode changed from UNDEF to 1 2017-07-01 14:43:37.676 [ItemStateChangedEvent ] - RosenlundAutomower_MowerStatus_MowerStatus changed from 2 to 7

I've tried recreating the error with debug logging turned on but it's hard. I can't seem to purposely move the AM outside of it's perimeter without lifting it up. I don't know if there's anything that can be looked on without debug log? Otherwise we'll simply have to wait until it happens by itself again. It happened three times last saturday but of course it hasn't happened since...

What I notice is that the page used (http://192.168.168.70/json?cmd=status) doesn't contain any info about encoding used, which makes me believe this might be something Fabian should look at, but I thought I'd try here first. What do you think?

NullPointerException after restarting robonect binding

I don't know if this is a one-time problem after upgrading, but I'd better file it here just in case. When I first installed the robonect I was on OH 2.0 and everything worked fine. Then I upgraded to 2.1 and after that the items connected to my robonect-thing didn't update at all. No errors in the log, just nothing happened. I restarted the binding and got the following error in the log:

21:14:58.962 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'robonect:mower:b9eb2b40' changed from ONLINE to UNINITIALIZED 21:14:58.964 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while disposing handler of thing 'robonect:mower:b9eb2b40': java.lang.NullPointerException java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_131] at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_131] at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:194) at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:83) at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:67) at org.eclipse.smarthome.core.thing.internal.ThingManager.doDisposeHandler(ThingManager.java:831) at org.eclipse.smarthome.core.thing.internal.ThingManager.disposeHandler(ThingManager.java:819) at org.eclipse.smarthome.core.thing.internal.ThingManager.unregisterAndDisposeHandler(ThingManager.java:865) at org.eclipse.smarthome.core.thing.internal.ThingManager.removeThingHandlerFactory(ThingManager.java:1044) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131] at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.inject.BindMethod.invoke(BindMethod.java:655)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.DependencyManager.invokeUnbindMethod(DependencyManager.java:1837)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeUnbindMethod(SingleComponentManager.java:394)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:375)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:291)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1241)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1136)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:996)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1175)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)[34:org.apache.felix.scr:2.0.6] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:222)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:908)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:873)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:139)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:950)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:805)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:787)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:579)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:706)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:523)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:452)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.Activator.access$300(Activator.java:54)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:306)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)[34:org.apache.felix.scr:2.0.6] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131] at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)[34:org.apache.felix.scr:2.0.6] at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)[34:org.apache.felix.scr:2.0.6] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.container.Module.publishEvent(Module.java:466)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.container.Module.doStop(Module.java:624)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.container.Module.stop(Module.java:488)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.eclipse.osgi.internal.framework.EquinoxBundle.stop(EquinoxBundle.java:419)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:] at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:44)[40:org.apache.karaf.bundle.core:4.0.8] at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:54)[40:org.apache.karaf.bundle.core:4.0.8] at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[57:org.apache.karaf.shell.core:4.0.8] at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:274)[57:org.apache.karaf.shell.core:4.0.8] at java.lang.Thread.run(Thread.java:748)[:1.8.0_131] Caused by: java.lang.NullPointerException at org.openhab.binding.robonect.handler.RobonectHandler.dispose(RobonectHandler.java:377)[10:org.openhab.binding.robonect:2.1.0.201706272144] at org.eclipse.smarthome.core.thing.internal.ThingManager$11.call(ThingManager.java:836)[108:org.eclipse.smarthome.core.thing:0.9.0.b5] at org.eclipse.smarthome.core.thing.internal.ThingManager$11.call(ThingManager.java:1)[108:org.eclipse.smarthome.core.thing:0.9.0.b5] at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:181)[101:org.eclipse.smarthome.core:0.9.0.b5] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131] ... 1 more 21:14:59.052 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'robonect:mower:b9eb2b40' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR) 21:14:59.227 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'robonect:mower:b9eb2b40' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING 21:14:59.848 [WARN ] [jdbc.internal.JdbcPersistenceService] - JDBC::store: ignore Item 'RosenlundAutomower_Error_ErrorMessage' because it is UnDefType 21:14:59.850 [INFO ] [marthome.event.ItemStateChangedEvent] - RosenlundAutomower_Error_ErrorMessage changed from NULL to UNDEF 21:14:59.858 [INFO ] [marthome.event.ItemStateChangedEvent] - RosenlundAutomower_MowerStatus_MowerStatus changed from 2.00 to 4

After this everything seems to work again so it's maybe not a problem?

Oh, and a note about the decimals above... My persistence saves everything with two decimals and I have restoreOnStartup set, so the 2.00 just means that the value was 2 before the restart and upgrade of OH.

EOFException errors in log

I just noticed I have quite many instances of the following in my openhab.log:

2017-09-20 14:37:45.703 [ERROR] [ing.robonect.handler.RobonectHandler] - Unexpected exception. Setting thing offline com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 2 at com.google.gson.Gson.fromJson(Gson.java:820)[13:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:775)[13:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:724)[13:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:696)[13:com.google.gson:2.3.1] at org.openhab.binding.robonect.model.ModelParser.parse(ModelParser.java:31)[210:org.openhab.binding.robonect:2.2.0.201708111441] at org.openhab.binding.robonect.RobonectClient.getMowerInfo(RobonectClient.java:154)[210:org.openhab.binding.robonect:2.2.0.201708111441] at org.openhab.binding.robonect.handler.RobonectHandler.refreshMowerInfo(RobonectHandler.java:256)[210:org.openhab.binding.robonect:2.2.0.201708111441] at org.openhab.binding.robonect.handler.RobonectHandler.access$0(RobonectHandler.java:255)[210:org.openhab.binding.robonect:2.2.0.201708111441] at org.openhab.binding.robonect.handler.RobonectHandler$1.run(RobonectHandler.java:358)[210:org.openhab.binding.robonect:2.2.0.201708111441] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_131] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131] at java.lang.Thread.run(Thread.java:748)[:1.8.0_131] Caused by: java.io.EOFException: End of input at line 1 column 2 at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1414)[13:com.google.gson:2.3.1] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:498)[13:com.google.gson:2.3.1] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:418)[13:com.google.gson:2.3.1] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:190)[13:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:810)[13:com.google.gson:2.3.1] ... 15 more

At the same time the following comes in events.log:

2017-09-20 14:37:45.736 [hingStatusInfoChangedEvent] - 'robonect:mower:f0ef14ed' changed from ONLINE to OFFLINE: java.io.EOFException: End of input at line 1 co lumn 2 2017-09-20 14:38:35.714 [hingStatusInfoChangedEvent] - 'robonect:mower:f0ef14ed' changed from OFFLINE: java.io.EOFException: End of input at line 1 column 2 to ONLINE

I guess this isn't a flaud in the binding itself but either a problem in the Robonect API or maybe simply the mower being on the edge of wifi range right when the API call happens. I suspect though that the binding could catch the exception instead of it ending up as a stacktrace in the log?

Robonect - first thoughts

Hi Marco,

I managed to get the preview of your Robonect binding up and running. Here are my first thoughts I like to discuss with you:

WLAN Signal is defined as String inside thing-types.xml. All other bindings I have looked at define any kind of signal strength as Number. It's working fine for just showing within UI with String type but I don't know the implications later on. I think if you want to use the WLAN signal inside rules for comparison e.g. <= -60 we will get into trouble.

Mower mode and Mower Status are directly translated into meaningful strings. As most users are using Transforming to convert technical values into human readable ones you could just stick with the numbers. In either case you have to describe the possible values for each channel. Maybe it´s just a matter of taste but I would prefer the technical values and leave it up to the user to map them to what ever he wants. :-)

Next timer date, Next timer time, Next timer unix timestamp are really hard to deal with and don't give the user any real benefit in that kind of form. I would like to suggest to remove those three definitions and replace them by a single channel e.g. NextTimer with type DateTime. What do you think?

Hope it`s OK for you I am using the issue tracker. If you prefer any other kind of communication let me know!

Keep up!

Regards
Ingo

error#message always UNDEF

I have one item connected to the mowerStatus#status channel and one to the error#message. Now it seems that the error#message item is always UNDEF, also when mowerStatus#status is 7. I tried lifting the mower while it was working (trigging the upside-down warning) and in the Robonect web ui I can see error code 10 and a description, but the item is still UNDEF.

What can I do to provide further info on this? I guess the first step would be to check the Robonect API and see if I get the correct code there, just give me an URL and I'll check.

Exceptions in error status

This night my mower changed to the error state. After that an exception was thrown. This exception was always raised, when the mower changed again to the error state.
Anyhow it seems that everything is working fine.

Maybe you know this issue and can fix it:

2017-08-27 23:57:05.004 [ERROR] [ing.robonect.handler.RobonectHandler] - Unexpected exception. Setting thing offline com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 2 at com.google.gson.Gson.fromJson(Gson.java:820)[11:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:775)[11:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:724)[11:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:696)[11:com.google.gson:2.3.1] at org.openhab.binding.robonect.model.ModelParser.parse(ModelParser.java:31)[229:org.openhab.binding.robonect:2.2.0.201708181923] at org.openhab.binding.robonect.RobonectClient.getMowerInfo(RobonectClient.java:154)[229:org.openhab.binding.robonect:2.2.0.201708181923] at org.openhab.binding.robonect.handler.RobonectHandler.refreshMowerInfo(RobonectHandler.java:265)[229:org.openhab.binding.robonect:2.2.0.201708181923] at org.openhab.binding.robonect.handler.RobonectHandler.access$0(RobonectHandler.java:264)[229:org.openhab.binding.robonect:2.2.0.201708181923] at org.openhab.binding.robonect.handler.RobonectHandler$1.run(RobonectHandler.java:394)[229:org.openhab.binding.robonect:2.2.0.201708181923] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_144] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_144] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_144] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_144] at java.lang.Thread.run(Thread.java:748)[:1.8.0_144] Caused by: java.io.EOFException: End of input at line 1 column 2 at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1414)[11:com.google.gson:2.3.1] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:498)[11:com.google.gson:2.3.1] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:418)[11:com.google.gson:2.3.1] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:190)[11:com.google.gson:2.3.1] at com.google.gson.Gson.fromJson(Gson.java:810)[11:com.google.gson:2.3.1] ... 15 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.