iRobot 9xx on openHAB

Sorry, there is no link.

here again:

you should really check your posts - still no link

then tell me your real maialdress or use the picture in this mail,
if it work…

<img src="//community-openhab-org.s3-eu-central-1.amazonaws.com/original/3X/7/d/7dbb20aa02c4496b187c99db2ce539ec5e7c2e35.png" alt="">

Thanks, however the site is in Geman, and am unable to understand.

I checked the pages there is nothing new. Everything based on koalazak/rest980

try this one https://github.com/NickWaterton/Roomba980-Python

it is based on koalazak/rest980 as well and it is working fine

Thanks. I had followed that link and got everything installed. However, I don’t seem to understand how to get the items to work in openhab?

I’ve copied the items, sitemap file into the the correct location, but I do not see them when I load openhab?

Is there some other settings that I need to configure? like a binding, etc?

thanks

please post your items definition and you exact configuration step here so that we are able to help

Blockquote
please post your items definition and you exact configuration step here so that we are able to help

I have simply copied over the files that are located here:

Into:
c:\openhab2\conf\items

That’s not enough. As afr as i remeber you need to setup up the connection between the Python script and your roomba and the a connection bewteen the script and openhab using mqtt. This should be described somewhere.

Blockquote
That’s not enough. As afr as i remeber you need to setup up the connection between the Python script and your roomba and the a connection bewteen the script and openhab using mqtt. This should be described somewhere.

That is what I am missing. I checked the site, and I do not see this info anywhere.

have you done all these things?

yes i have. get the following when I run it again:

Requirement already satisfied: numpy in c:\python27\lib\site-packages (from Roomba980-Python==1.2.1)
Requirement already satisfied: opencv-python in c:\python27\lib\site-packages (from Roomba980-Python==1.2.1)
Requirement already satisfied: paho-mqtt in c:\python27\lib\site-packages (from Roomba980-Python==1.2.1)
Requirement already satisfied: pillow in c:\python27\lib\site-packages (from Roomba980-Python==1.2.1)
Requirement already satisfied: six in c:\python27\lib\site-packages (from Roomba980-Python==1.2.1)

I am able to load openhab and install other bindings, etc (like hue, chormecast, etc), however, I do not see any way to add the Roomba…

I also found this in my OpenHab.log:

2018-04-02 09:59:58.641 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘roomba.items’ has errors, therefore ignoring it: [5,125]: mismatched input ‘false’ expecting RULE_STRING
[7,266]: mismatched input ‘false’ expecting RULE_STRING
[8,274]: mismatched input ‘false’ expecting RULE_STRING
[9,257]: mismatched input ‘false’ expecting RULE_STRING
[10,279]: mismatched input ‘false’ expecting RULE_STRING
[11,255]: mismatched input ‘false’ expecting RULE_STRING
[12,293]: mismatched input ‘false’ expecting RULE_STRING

ok does the python script connect to the roomba? so whats the output of the script? are there any error messages like not connecting to roomba or mqtt?

you should install a tool that enables you to connect to your mqtt broker and check if there are messages are flying in

It does connect: I get this:

[I 2018-04-02 11:10:20,032] *******************
[I 2018-04-02 11:10:20,052] * Program Started *
[I 2018-04-02 11:10:20,052] *******************
[I 2018-04-02 11:10:20,052] Roomba.py Version: 1.2.2
[I 2018-04-02 11:10:20,052] Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
[I 2018-04-02 11:10:20,052] Paho MQTT Version: 1.3.1
[I 2018-04-02 11:10:20,052] CV Version: 3.4.0
[I 2018-04-02 11:10:20,052] PIL Version: 5.0.0
[I 2018-04-02 11:10:20,052] to Exit
[I 2018-04-02 11:10:20,052] Roomba 980 MQTT data Interface
[I 2018-04-02 11:10:20,052] Creating Roomba object 192.168.1.37
[I 2018-04-02 11:10:20,052] CONTINUOUS connection
[I 2018-04-02 11:10:20,052] connecting Roomba 192.168.1.37
[I 2018-04-02 11:10:20,069] Posting DECODED data
[I 2018-04-02 11:10:20,069] MAP: Maps Enabled
[I 2018-04-02 11:10:20,069] MAP: openening existing line image
[W 2018-04-02 11:10:20,069] MAP: line image problem: [Errno 2] No such file or directory: ‘./lines.png’: created new image
[I 2018-04-02 11:10:20,069] MAP: openening existing problems image
[W 2018-04-02 11:10:20,085] MAP: problems image problem: [Errno 2] No such file or directory: ‘./problems.png’: created new image
[I 2018-04-02 11:10:20,085] MAP: openening existing map no text image
[W 2018-04-02 11:10:20,085] MAP: map no text image problem: [Errno 2] No such file or directory: ‘./map_notext.png’: set to None
[W 2018-04-02 11:10:20,115] error loading font: cannot open resource, loading default font
[I 2018-04-02 11:10:20,131] MAP: home_pos: (400,750)
[I 2018-04-02 11:10:20,131] MAP: Initialisation complete
[I 2018-04-02 11:10:20,131] Connecting
[I 2018-04-02 11:10:20,131] Seting TLS
[I 2018-04-02 11:10:22,851] Roomba Data: {}
[I 2018-04-02 11:10:23,115] Roomba Connected
[I 2018-04-02 11:10:23,115] Received Roomba Data : wifistat, {“state”:{“reported”:{“netinfo”:{“dhcp”:true,“addr”:3232235813,“mask”:4294967040,“gw”:3232235777,“dns1”:3232235777,“dns2”:0,“bssid”:“2c:56:dc:5d:58:80”,“sec”:4}}}}
[I 2018-04-02 11:10:23,170] Received Roomba Data : wifistat, {“state”:{“reported”:{“wifistat”:{“wifi”:1,“uap”:false,“cloud”:1}}}}
[I 2018-04-02 11:10:23,170] Received Roomba Data : wifistat, {“state”:{“reported”:{“netinfo”:{“dhcp”:true,“addr”:3232235813,“mask”:4294967040,“gw”:3232235777,“dns1”:3232235777,“dns2”:0,“bssid”:“2c:56:dc:5d:58:80”,“sec”:4}}}}
[I 2018-04-02 11:10:23,170] Received Roomba Data : wifistat, {“state”:{“reported”:{“wlcfg”:{“sec”:7,“ssid”:“4D6F727068657573”}}}}

OK do you receive messages in a tool like mqtt-spy? Just subscribe to # an your mqtt broker. If this works, then the next step ist to connect openhab to the broker and then the items. so half the wy we are gone

I am trying to use mqtt-spy, but i cannot connect to the mqtt server that is included in the https://github.com/NickWaterton/Roomba980-Python

Is this using a different port other than 1833?