Neato BotVac Connected binding?

oh2bindings
binding
vacuum
Tags: #<Tag:0x00007f182386ceb8> #<Tag:0x00007f182386cd78> #<Tag:0x00007f182386cc10>

(Bernhard) #162

Hi Bernd,

do you have this up and running for the vr200, or is it only for the native botvac?

BR
Bernhard


(Bernd Weltrowski) #163

Hi Bernhard,

only the neato supports the map.


(Michael) #164

Hello i am very new to OpenHAB but i get i to run on my homeserver.
The first thing i have done so far, i added the Neato Botvac binding. Everything worked till the point when i wanted to send a command to the Neato from the OpenHAB->PaperUI->Control.
If i change the status from the Neato, eg. i disconnect him from the station i see it under control. But i i want to start the Neato or something like this, nothing happens.
Had anyone of you the same problem? Or do anyone of you have some advise what i can try?

thanks


(ChubbySanta) #165

Try and paste here both .things and .sitemap files, so we can check for typos or something.
At the very beginning, I was lost between channels, links, things etc… and I was making silly mistakes writing those files because of that :slight_smile:

P.S.: Also an excerpt of the log would be helpful


(Michael) #166

Attached a picture from paper ui controls

and below a few lines from the log

] - Error when getting Robot State. Error message Timeout waiting a response from robot
2017-11-10 20:11:58.873 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Timeout waiting a response from robot
2017-11-10 22:39:58.876 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Timeout waiting a response from robot
2017-11-10 22:39:58.876 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Timeout waiting a response from robot
2017-11-10 22:41:08.421 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Connect Timeout
2017-11-10 22:47:58.762 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Timeout waiting a response from robot
2017-11-10 22:47:58.762 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Timeout waiting a response from robot
2017-11-10 22:48:53.759 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Could not find robot_serial for specified vendor_name
2017-11-10 22:48:53.759 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Could not find robot_serial for specified vendor_name
2017-11-10 22:49:53.874 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Could not find robot_serial for specified vendor_name
2017-11-10 22:49:53.874 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Could not find robot_serial for specified vendor_name
2017-11-10 22:50:53.766 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Could not find robot_serial for specified vendor_name
2017-11-10 22:50:53.766 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Could not find robot_serial for specified vendor_name
2017-11-10 22:51:53.866 [ERROR] [ab.binding.neato.internal.NeatoRobot] - Error when getting Robot State. Error message Could not find robot_serial for specified vendor_name
2017-11-10 22:51:53.867 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: Could not find robot_serial for specified vendor_name


(E. Gerland) #167

I am using OH 2.1 stable and org.openhab.binding.neato_2.0.0.201702202022.jar

It’s annoying that I always get the following error after a few hours:
Could not find robot_serial for specified vendor_name

To fix it I can either restart the binding (does not work always) or change the serial in Habmin (and save it) and change it back to the right value (and save).

@scurb:
Do you recommend to change to the latest OH2 binding?

I see, it is already the latest version :wink:
(I edited this post because I messed up two bindings)


(E. Gerland) #168

Hi Alex,

have you been able to solve your issue?


(Ppmh) #169

Hi , just added the neato binding as well for a neato connected. It finds it right away as a thing, but then it start giving this error like NCO explained as well. I did a full reset (15 seconds turnoff of the neato) and switched it back on. It now seems to connect and get the state (shows online).

Update: it also listens to commands now so it seems to work.


(E. Gerland) #170

I would like to use a manual things file as well.
Could you please share your .thing config?
Thanks in advance.


(Ppmh) #171

i have done exactly as described, so i created a neato.sitemap file, a neato.things file and an neato.items file. It received the serial key and secret automatically when i gave in the neato online user account + password. It found a thing with this info in it. I’ve copied that info in the neato.things file as well.

[12:06:45] openhabian@openHABianPi:/etc/openhab2/things$ cat neato.things
neato:vacuumcleaner:rover [ serial=“OPS28417-xxxxx”, secret=“xxxxxx”, name=“Rover”]


(ChubbySanta) #172

Hello everyone,

Just dropped back since a while, to share the news: D3 and D5 now both support Cleaning Summary with Coverage Map, which give us more things to try out :slight_smile:


(Georg) #173

Hy,
i have installed the addon (org.openhab.binding.neato-2.2.0-SNAPSHOT.jar).
so far everithing is working fine. I can use the status information in sitemap. But I can’t send commands to my neato. If I send the “clean” comman i get this:

2017-12-19 16:24:40.490 [ome.event.ItemCommandEvent] - Item ‘Neato_EG_Command’ received command clean

2017-12-19 16:24:40.541 [vent.ItemStateChangedEvent] - Neato_EG_Command changed from stopCleaning to clean

==> /var/log/openhab2/openhab.log <==

2017-12-19 16:24:41.438 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method ‘ThingHandler.handleCommand()’ on ‘org.openhab.binding.neato.handler.NeatoHandler@ae94f1’: null

Do you have any suggestion or ideas what to do? I use an Connected D5


(Dirk) #174

Hi, I’m having trouble getting this binding (org.openhab.binding.neato_2.0.0.201702202022.jar) to work on openHAB 2.2 with a Botvac D5 connected. The following shows up in the logfiles:

2017-12-29 23:54:12.197 [INFO ] [b.binding.neato.handler.NeatoHandler] - Will get STATE for Robot myRobot
2017-12-29 23:54:13.302 [INFO ] [b.binding.neato.handler.NeatoHandler] - Successfully got and parsed new state for myRobot
==> /var/log/openhab2/events.log <==
2017-12-29 23:54:13.311 [hingStatusInfoChangedEvent] - 'neato:vacuumcleaner:myrobot' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
==> /var/log/openhab2/openhab.log <==
2017-12-29 23:54:13.316 [ERROR] [b.binding.neato.handler.NeatoHandler] - Error when refreshing state. Error: null
==> /var/log/openhab2/events.log <==
2017-12-29 23:54:13.326 [hingStatusInfoChangedEvent] - 'neato:vacuumcleaner:myrobot' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

Am I doing something wrong or Is this perhaps an known issue?


(Dirk) #175

Today I tried the same version as @skyscraper uses (org.openhab.binding.neato-2.2.0-SNAPSHOT.jar) and receive the exact same error message:

2017-12-30 23:46:38.455 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.neato.handler.NeatoHandler@c4bbeb': null

java.lang.NullPointerException: null
        at org.openhab.binding.neato.internal.classes.NeatoState.getError(NeatoState.java:86) [242:org.openhab.binding.neato:2.2.0.201711070001]
        at org.openhab.binding.neato.handler.NeatoHandler.publishChannel(NeatoHandler.java:185) [242:org.openhab.binding.neato:2.2.0.201711070001]
        at org.openhab.binding.neato.handler.NeatoHandler.refreshStateAndUpdate(NeatoHandler.java:140) [242:org.openhab.binding.neato:2.2.0.201711070001]
        at org.openhab.binding.neato.handler.NeatoHandler.handleCommand(NeatoHandler.java:82) [242:org.openhab.binding.neato:2.2.0.201711070001]
        at sun.reflect.GeneratedMethodAccessor152.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) [109:org.eclipse.smarthome.core:0.10.0.b1]
        at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [109:org.eclipse.smarthome.core:0.10.0.b1]
        at com.sun.proxy.$Proxy167.handleCommand(Unknown Source) [242:org.openhab.binding.neato:2.2.0.201711070001]
        at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:72) [116:org.eclipse.smarthome.core.thing:0.10.0.b1]
        at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [116:org.eclipse.smarthome.core.thing:0.10.0.b1]
        at sun.reflect.GeneratedMethodAccessor151.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) [109:org.eclipse.smarthome.core:0.10.0.b1]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [109:org.eclipse.smarthome.core:0.10.0.b1]
        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) [?:?]

(HoLiuS) #177

Hi Bernd,

I’m new to openhab2 and stumbled over this thread. I’m very much interested in the binding Neato BotVac binding compatible with the VR200. Could you send that to me also?

Thank you very much!


(Jan) #178

Look at this thread. There you will find the right file.


(HoLiuS) #179

awesome, thank you!!


(K4nape) #180

Hi Bernd,
Maybe stupid question but i can’t find “Neato Vacuum Secret” :smiley: Where i can get it?

Status: OFFLINE - COMMUNICATION_ERROR Could not find robot_serial for specified vendor_name
Anyone solved this problem?

Update: Solved all problems. Nice binding ! I waiting update :stuck_out_tongue:


(Maciej Swic) #181

Hi, i have the same COMMUNICATION_ERROR issue. Did you ever get it resolved please?


(Maciej Swic) #182

How did you solve the COMMUNICATION_ERROR issue please?