Smartthings Roomba Control via Thinking Cleaner Version 1.5.1 Released

Have you checked this out:

http://www.irobot.com/About-iRobot/STEM/Create-2.aspx

There are a few projects that may give you ideas.

@sidjohn1 Any idea on whether and when there will be support available for the 700/800 series? Any alternative way to hack now?

@ashutosh1982 only thinking cleaner knows about the timing of 700/800 support. I would contact them.
As far as other ways to get 700/800 series working there is roowifi. I stopped working on the devicetype months ago and was considering dropping development totally.
I decided that if there was truly demand for it I would go back and develope the device type. For all of those who want a roowifi devicetype, use the link below to donate to my paypal account. Once it hits $50 I will continue development.

Roowifi Donate

1 Like

@sidjohn1 aren’t there services exposed to check statuses like charge, dock, check bin? The way the Thinking Cleaner App sends notifications to our phone, cant we incorporate those within the Roomba app?

Yes, i’m currently testing an update that tracks error conditions and sends notices. Sadly the API does not track all of them well. I hope the be done testing and have the new code posted by the end of April… life permiting :slight_smile: .

2 Likes

For the past 1 week, the app has stopped working. I checked the IP address of the Roomba and it shows 10.10.10.146. I have the same IP address in smarthings for Roomba. Checked the Network id: 0a0a0a92:0050

This is what i see in the logs each time i hit the Clean button:

d042d152-9716-4fe8-a584-6131960ee52d 12:13:41 PM: debug The Status Command was sent
d042d152-9716-4fe8-a584-6131960ee52d 12:13:41 PM: debug The Clean Command was sent
d042d152-9716-4fe8-a584-6131960ee52d 12:13:41 PM: debug Executing ā€˜on’

Starting the Roomba from the Native app works though. What so you think might be wrong here?

On the device type, uncomment the line log.debug result. Then save and publish. Open live logging in a browser and hit the refresh button. It should dump the response back from the thinking cleaner.

From the logs above it looks like it’s sending the commands

It is sending the commands right

d042d152-9716-4fe8-a584-6131960ee52d 2:29:10 PM: debug The Status Command was sent
d042d152-9716-4fe8-a584-6131960ee52d 2:29:10 PM: debug The Clean Command was sent
d042d152-9716-4fe8-a584-6131960ee52d 2:29:10 PM: debug Executing 'on’
d042d152-9716-4fe8-a584-6131960ee52d 2:29:00 PM: debug The Status Command was sent
d042d152-9716-4fe8-a584-6131960ee52d 2:29:00 PM: debug Executing ā€˜refresh’

Yep, commands are being sent, but I don’t see the json response being sent back and it looks like I’m having the same issue, both of my Roombas have dropped off. I’m opening up a ticket with support.

well one has come back, and the other is unpingable… :confounded:
either way i’d say delete the device and readd it and see if it works. I’m still testing and tweaking an updated version that has better EVERYTHING.

I tried removing it a few times, still the same. Let us know if you find out the problem.

An updated Thinkingcleaner App and Devicetype are now live. Enjoy version 1.2.
I’ve added notifications, network state tracking, better icons, and better logging :smile: .
As a troubleshooting note, if you receive a ā€œlink badā€ error, you have a communication issue between your thinkingcleaner and smartthings hub. If a refresh (hit it a few times to be safe) does not resolve this error, delete the device and app, then reboot your hub a few times and let it all chill for a few (like 8) hours. Reboot your hub a couple more times and re-add the device, if it still does not work you have and issue on your LAN.

1 Like

Under the preference section, if I append a port number at the end of the ip-address, I get an error ā€œfailed to save pageā€.

I have a situation where My Roomba is connected to my Wifi network but my ST hub is connected to my cable modem so I have forwarded ports on the cable modem to redirect requests to the WiFi router. On my Wifi router, I have one of my ports forwarded to Roomba (that has a static ip). The same setup works perfectly from the smartthings app for foscam cameras.

I will try to add support for port forwarding but if you can get to it before I do, that will be gr8.

i’m not sure how well that setup will work in general as that sounds like you have set up a Double NAT. I’d highly recommend putting your wired and wireless devices on the same network, but if you just want to change the port number just change the ā€œ80ā€'s in the code to what ever port you are using. If it works, awesome… if not put your smartthings hub and thinking cleaner on the same network and try again.

headers: [HOST: ā€œ${ip}:80ā€, Accept: ā€œapplication/jsonā€] -> headers: [HOST: ā€œ${ip}:8081ā€, Accept: ā€œapplication/jsonā€]
def porthex = convertPortToHex(ā€œ80ā€) -> def porthex = convertPortToHex(ā€œ8081ā€)

I add a new input field in the code:
input(ā€œportā€, ā€œtextā€, title: ā€œPortā€, description: ā€œYour Thinking Cleaner Port, Use 80 for defaultā€)

and replaced port 80 with %{port} in the code.

Entered the IP address of my WiFi Router within the app.
On the WiFi router, setup a port forwarding rule to forward request to Roomba’s IP at port 80.

and everything started to work.

The new app looks very good with the updated statuses.

1 Like

Thinking Cleaner and Thinking Cleanerer Version: 1.3 is now live. It includes better error tracking, error correction and the ability to change the default port (thx to sidhartha100), fix a bug that prevented auto population of deviceNetworkId, New interface, better polling, and logging. Added sms notifcations

Enjoy!

1 Like

For those who are missing out on the Roomba / SmartThings love because you have a 700 or 800 series model Thinking Cleaner will be restarting their kickstarter campaign at the end of August and will work with the current devicetype and app.

3 Likes

the interface for 500-600 series is now on Amazon for $US99

2 Likes

Anyone know if this works for the Pet Series?

1 Like

To my knowledge all the PET series were in the 5xx and 6xx family, thinking cleaner should work fine. Regardless of color, it it looks like a cyclops smiling or and eye with eyebrow, it will just work.

Technically it will also work with the 700/800 series too, it just won’t be as pretty. If you are OK with taking a Dremel to your 700/800 series roomba and popping out the thinking cleaner card from the plastic case then you’re $99 away from smartthings integration.

Which iRobot Roomba models are compatible?
The module will fit in all models of the Roomba 500 and 600 series, but it is also software and hardware compatible with the 700 and 800 series. The only problem is a mechanical one. The communication (SCI) port we use is located under the handle of the 700 and 800 models.
We do not support the older Roomba models like the Roomba SE and Green (discovery series) and the original Roomba.
http://thinkingcleaner.com/Q&A.html