[Deprecated] Thinking Cleaner 2.x (Roomba Control)

pmjoen
Wed, 30 Nov 2016 21:12:27 +0000
Community Created Drivers

If you have a Roomba and want it to clean your home with the magic and control of Smartthings, this is for you! Using this device type and smart app you can integrate your Roomba with the Thinking Cleaner wifi module and control when and how it cleans your house.

This original Device Type and Smart App was created by @sidjohn1 but due to lack of support, I have been requested by the community members to continue my improvements and customization in a new thread. I will continue attempting to support this Device Type and Smart App and only ask that if you appreciate my efforts please donate to my preferred local charity as a thank you:

rmhc.org

Ronald McDonald House Charities | RMHC

Ronald McDonald House Charities: a nonprofit family & children's charity dedicated to supporting families with sick children in their time of need.

You will need to have the Thinking Cleaner wifi module installed on your Roomba per the below link.
Thinking Cleaner:
http://www.thinkingcleaner.com

The module was built for the 500/600 model but if you remove from the housing it will also work on the 700/800 model per Thinking Cleaner. If you have an 700/800 model the below links are for the 3d printed cover:
3D Print Cover:
_http://www.thingiverse.com/thing:1219169_
Purchase 3D Printed Cover:
_Thinking Cleaner 800, iRobot Roomba 8xx DIY cover (ZZA8W9MS7) by ThinkingBits

Once you have installed the Thinking Cleaner wifi module and configure per instructions, below are the Device Type and Smart App for Smartthings integration.

GITHUB INTEGRATION HELP

FAQ: Github Integration How to Add and Update from Repositories [OBSOLETE] FAQ

I couldn’t find a good/in-depth FAQ for a GitHub How to with ST so here goes: If you’re looking for uk integration: Please, I am by no means an Expert, If you find an error or see something that I should change let me know and I will update it. Log into the IDE @ https://account.smartthings.com Enable and Link your GitHub Account: Section taken from Smartthings developer docs Step 1 - Enable GitHub Integration Click the Enable GitHub Integration link on the My SmartApps or My Device >Types page. This will launch a wizard that will guide you through the process. [image] Step 2 - Connect your GitHub Account to SmartThings On Step 1 of the wizard, follow the instructions to authorize SmartThings to integrate >with your GitHub account. Click the Next button after you have done t…

PLEASE DO NOT CHANGE THE NAME OF THE DEVICE TYPE OR THE SMART APP AS IT WILL CAUSE PROBLEMS THAT MAY BE DIFFICULT TO TROUBLESHOOT. IF YOU DO MAKE CHANGES TO THE CODE FROM GITHUB, I MAY NOT BE ABLE TO HELP SUPPORT IT FOR YOU.

GITHUB REPOSITORY
Owner: pmjoen
Name: SmartThingsPublic
Branch: master

MANUAL INSTALLATION HELP:

[OBSOLETE] FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic, Groovy Code) FAQ

The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud. As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable. All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those: The process for using a custom Edge Driver in the new …

MANUAL INSTALLATION
DEVICE TYPE:

github.com

pmjoen/SmartThingsPublic/blob/master/devicetypes/pmjoen/thinking-cleaner.src/thinking-cleaner.groovy

/**
 *  Thinking Cleaner
 *
 *	Smartthings Devicetype
 *
 *  If you like this device, please donate the developers perfered local charity "RMHC of Chicagoland & Northwest Indiana":
 *  https://secure2.convio.net/rmhci/site/Donation2;jsessionid=00000000.app261a?idb=2061823896&DONATION_LEVEL_ID_SELECTED=1&df_id=1663&mfc_pref=T&1663.donation=form1&NONCE_TOKEN=43EC125CCF455C2098CE98B9235BF56D&idb=0
 *
 *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 *  in compliance with the License. You may obtain a copy of the License at:
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
 *  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
 *  for the specific language governing permissions and limitations under the License.
 *
 *  Version 2.0 - Re-release of application with new ownership and community support
 *  Version 2.1 - Clean and Max Clean made available for CoRE.
 *  			- Added extended debuging to remove full JSON response when not required.

This file has been truncated. show original

SMART APP:

github.com

pmjoen/SmartThingsPublic/blob/master/smartapps/pmjoen/thinking-cleanerer.src/thinking-cleanerer.groovy

/**
 *  Thinking Cleanerer
 *  Smartthings SmartApp
 *
 *  If you like this device, please donate the developers perfered local charity "RMHC of Chicagoland & Northwest Indiana":
 *  https://secure2.convio.net/rmhci/site/Donation2;jsessionid=00000000.app261a?idb=2061823896&DONATION_LEVEL_ID_SELECTED=1&df_id=1663&mfc_pref=T&1663.donation=form1&NONCE_TOKEN=43EC125CCF455C2098CE98B9235BF56D&idb=0
 *
 *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 *  in compliance with the License. You may obtain a copy of the License at:
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
 *  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
 *  for the specific language governing permissions and limitations under the License.
 *
 *	Version: 2.0 - Initial Version
 */

definition(

This file has been truncated. show original

DEVICE IMAGES:

Once you have the Device Type and Smart App working, you can use any Smart App to use the Roomba as a switch On is clean and Off is Dock. For the full flexibility of your needs you may want to use CoRE (Community’s own Rules Engine).

CoRE LINK:

github.com

ady624/CoRE/blob/master/smartapps/ady624/core.src/core.groovy

/**
 *  CoRE - Community's own Rule Engine
 *
 *  Copyright 2016 Adrian Caramaliu <ady624("at" sign goes here)gmail.com>
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *  Version history
 */

This file has been truncated. show original

Additional improvements and bug fixes have been supported by:
@pmusselman, @Benji, @kolosy and others
Thank you for your support.

207 posts - 26 participants