thanks for the reply.
I am still a bit blur on the smartapps. I want to achieve “turn off master switch to turn off group of switches” I should not select invert in this case right?
may I know which part is the “turn on then off” or “turn off then on”? quite weird, i remember seeing it working but can’t work now.
now that I press the off button on the master switch, it doesn’t switch off switches that are off in smartthings. am I right to say that by right it will “turn on then turn off”? or how your this solution actually work?
Hiato
(Hiato)
February 9, 2017, 10:42pm
191
Hi everybody, i’m considering buying the rm2 pro to control my AC. Can someone confirm that I can control the AC completely from ST app? To be able to change temperature, fan speed etc?
Also, could someone post screenshots of the ST app, AC control menu?
Thanks!
itsamti
(itsamti)
February 10, 2017, 12:20am
192
Yep, dont select invert
Use this code, since invert is confusing you; I have removed it.
https://raw.githubusercontent.com/itsamti/MySmartthingsApps/master/Automate%20Lights%20without%20invert
It should turn off switch regardless switch is on/off in smartthings. I remember it was not working for me so I had to use my own simumated switch device handler
https://raw.githubusercontent.com/itsamti/MySmartthingsApps/master/RM%20Bridge%20Simulated%20Switch
thanks for removing the invert. may I know what switches are you controlling that works? is it broadlink tc2 or zwave switches? your this simulated switch device handling is only used for the master switch right? I am actually using your master switch to control 2 simulated switch (generated from mcohome), sometimes the status reported back to smartthings instantly and I have no problem controlling it. but when sometimes it doesn’t, then i use your master switch to turn off, it doesn’t. I am pretty sure I got the setup correct. using ur device handling to created my master switch. using your smartapps to tag the master switch to my 2 simulated switch. what else have gone wrong?
itsamti
(itsamti)
February 10, 2017, 5:16pm
195
rayoflight:
thanks for removing the invert. may I know what switches are you controlling that works? is it broadlink tc2 or zwave switches? your this simulated switch device handling is only used for the master switch right? I am actually using your master switch to control 2 simulated switch (generated from mcohome), sometimes the status reported back to smartthings instantly and I have no problem controlling it. but when sometimes it doesn’t, then i use your master switch to turn off, it doesn’t. I am pretty sure I got the setup correct. using ur device handling to created my master switch. using your smartapps to tag the master switch to my 2 simulated switch. what else have gone wrong?
I am using etekcity RF outlets, few X10 appliance modules.
My setup is exactly what described here -
# Read the main <a href='https://beckyricha.github.io/Broadlink-RM-SmartThings-Alexa.html'>readme</a> for this repository first!
This document contains the setup instructions for the SmartApp version that uses the SmartThings hub for local LAN control and the app "RM Bridge" as a bridge.
## Set-up your Broadlink RM:
I used the app designed for this device by its manufacturer (<a href='https://play.google.com/store/apps/details?id=com.broadlink.rmt&hl=en'>e-Control</a>, available in the play store) to set it up. I only use this app for this setup but it can be installed and run on multiple devices if you also want to control things using the app directly. It's not bad on its own. My Broadlink arrived with a manual only in Chinese, but install the e-Control app and follow its instructions to add your broadlink RM device to your wifi network. Don’t worry - the app is in English. I did not take detailed notes during this section and mine is already set up, but it was like many other apps. You can also add devices in the Broadlink e-Control app as you wish (for instance if you also want to use that app for device control), but that does not affect anything in the RM Bridge app or in SmartThings if you are using this version of my code.
## Set up your Android bridge:
Install the RM Bridge app, change any of the settings you wish and press the red circle where it says "stopped" to start the service. This code will only work while this service is running. Note the ip address and port where the bridge is operating, as well as your user name and password if you are using them. It will be most reliable if you can set your android up with a static ip address, but that is beyond the scope of this tutorial (it can vary for different android devices but is usually accessible under wifi settings by long pressing the name of your wifi network and selecting the advanced options).
## Add some devices to control:
For this to work, you need to record devices directly using a web portal that is designed for setting up devices with the "RM Bridge" app. You might want to read through this whole section before trying one, as both the concept and the steps are important. To make devices work with this app, you need to set them up in a very specific way.
We are going to add devices here and assign them functions that happen when you turn them on and when you turn them off in smartthings. This doesn't need to actually be the power button on your remote. Let's walk through the steps, and then I will explain some creative ways to use them afterward.
1. From a device on the same network as your Broadlink and bridge, go to http://rm-bridge.fun2code.de/rm_manage/index.html
2. Click the "manage codes" button with the wrench icon
3. Click "create new codes"
4. Enter the local IP and port that the RM bridge app shows when you start it up, and click "load devices." (note - if you added security in the RM Bridge settings, you will need to enter your user name and password when prompted.)
5. Select the desired Broadlink device when it comes up, noting that you need to record codes to the same Broadlink that you will want to send the commands from (for instance if you have them in more than one room). If your devices shows up in Chinese characters, you can change their names in the e-control app to make this easier.
6. Enter the device name in the box for that on the web page, with some very specific rules. For my device handler to work, the device name is not optional as it says here. This is what I will hopefully be able to skip with a smart app, but for this quick version you still have to learn and specifically name codes for on and off, as follows: Name of device exactly as it will appear in smartthings (can include spaces if you want), then a space (important), then either the word "on" or "off" (lower case matters for the words on and off). Devices are not required to have both on and off commands recorded, but you do have to record separately whichever you want to work, even if both use the same button such as a toggle switch. See the end of this section for some creative ways to use this feature.
This file has been truncated. show original
Only difference is, I am using my customized device handler for switches
/**
* Broadlink Switch
*
* Copyright 2016 BeckyR
*
* 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.
*
* 09/01/2016 Updated Device Name to Device ID - itsamti
* 09/09/2016 Added Delay function sleepForDuration(500) to sleep 500ms and re-execute on/off one more time to ensure broadlink turn on/off in second try if first one doesnt work - itsamti
*/
// 09/01/2016 - itsamti - Added new switch definition below
metadata
This file has been truncated. show original
itsamti
(itsamti)
February 10, 2017, 5:19pm
196
Hiato:
Hi everybody, i’m considering buying the rm2 pro to control my AC. Can someone confirm that I can control the AC completely from ST app? To be able to change temperature, fan speed etc?
Also, could someone post screenshots of the ST app, AC control menu?
Thanks!
You need to clarify if AC remote is IR/RF or some other. In either case, most IR/RF works on broadlink; only few gives code too long error. You will be creating separate switches for each action, so there wont be any AC control menu.
Please see here
# Read the main <a href='https://beckyricha.github.io/Broadlink-RM-SmartThings-Alexa.html'>readme</a> for this repository first!
This document contains the setup instructions for the SmartApp version that uses the SmartThings hub for local LAN control and the app "RM Bridge" as a bridge.
## Set-up your Broadlink RM:
I used the app designed for this device by its manufacturer (<a href='https://play.google.com/store/apps/details?id=com.broadlink.rmt&hl=en'>e-Control</a>, available in the play store) to set it up. I only use this app for this setup but it can be installed and run on multiple devices if you also want to control things using the app directly. It's not bad on its own. My Broadlink arrived with a manual only in Chinese, but install the e-Control app and follow its instructions to add your broadlink RM device to your wifi network. Don’t worry - the app is in English. I did not take detailed notes during this section and mine is already set up, but it was like many other apps. You can also add devices in the Broadlink e-Control app as you wish (for instance if you also want to use that app for device control), but that does not affect anything in the RM Bridge app or in SmartThings if you are using this version of my code.
## Set up your Android bridge:
Install the RM Bridge app, change any of the settings you wish and press the red circle where it says "stopped" to start the service. This code will only work while this service is running. Note the ip address and port where the bridge is operating, as well as your user name and password if you are using them. It will be most reliable if you can set your android up with a static ip address, but that is beyond the scope of this tutorial (it can vary for different android devices but is usually accessible under wifi settings by long pressing the name of your wifi network and selecting the advanced options).
## Add some devices to control:
For this to work, you need to record devices directly using a web portal that is designed for setting up devices with the "RM Bridge" app. You might want to read through this whole section before trying one, as both the concept and the steps are important. To make devices work with this app, you need to set them up in a very specific way.
We are going to add devices here and assign them functions that happen when you turn them on and when you turn them off in smartthings. This doesn't need to actually be the power button on your remote. Let's walk through the steps, and then I will explain some creative ways to use them afterward.
1. From a device on the same network as your Broadlink and bridge, go to http://rm-bridge.fun2code.de/rm_manage/index.html
2. Click the "manage codes" button with the wrench icon
3. Click "create new codes"
4. Enter the local IP and port that the RM bridge app shows when you start it up, and click "load devices." (note - if you added security in the RM Bridge settings, you will need to enter your user name and password when prompted.)
5. Select the desired Broadlink device when it comes up, noting that you need to record codes to the same Broadlink that you will want to send the commands from (for instance if you have them in more than one room). If your devices shows up in Chinese characters, you can change their names in the e-control app to make this easier.
6. Enter the device name in the box for that on the web page, with some very specific rules. For my device handler to work, the device name is not optional as it says here. This is what I will hopefully be able to skip with a smart app, but for this quick version you still have to learn and specifically name codes for on and off, as follows: Name of device exactly as it will appear in smartthings (can include spaces if you want), then a space (important), then either the word "on" or "off" (lower case matters for the words on and off). Devices are not required to have both on and off commands recorded, but you do have to record separately whichever you want to work, even if both use the same button such as a toggle switch. See the end of this section for some creative ways to use this feature.
This file has been truncated. show original
Hiato
(Hiato)
February 10, 2017, 8:20pm
197
Thanks itsamti, i’m talking about the IR, simple TV control features like changing channel, volume, etc… is this supported via smartthings app?
AndyH
February 12, 2017, 11:03am
198
Hi,
If you’re speaking of app control the Broadlink E-Control App that supports the RMPro has a number of Aircon pre-sets in it which should do what you need.
bee9900
(Jeremy)
February 16, 2017, 12:11pm
199
Hi all, I have successfully set up Echo dot and Broadlink rm2 to control my tv and other IR gadgets in the house.
As Android device I’m using Nvidia Shield TV (2015 model) with RM Bridge App.
Currently the Nvidia shield TV is connected wirelessly to the home network.
I tried to connect the Nvidia shield TV via Ethernet cable to have a faster connection when watching Netflix but this would break Alexa.
Is there a way to use Ethernet cable connection to the Android device and keep everything working?
I am with Plusnet UK and I could obtain a static IP for £5 fee.
Would that work?
Thanks in advance.
Jeremy
Hiato
(Hiato)
February 16, 2017, 7:11pm
200
Thanks @AndyH ! Mine just arrived today and works perfectly with my devices.
However, while trying to make it learn the IR codes over the web portal, I keep getting this error: Error learning code: mac:: :: not rm2…
Any idea what am I doing wrong, @itsamti ? I tried the same from different computers but still no luck…
yyjjxxmm
(Yyjjxxmm)
February 18, 2017, 4:40am
201
Newbie here, Does RM3 (black bean) works with smartthings?
@Hiato Have you figured this out? I’m getting the exact same error with my RM2 that arrived today. I see @beckyricha1 mentioned this here: https://github.com/beckyricha/Broadlink-RM-SmartThings-Alexa/issues/17 , but there weren’t any definite solutions. I’ve updated the firmware to 20025 and downgraded RM Bridge to 1.3.0 as suggested in that thread, but nothing works. I keep getting that same error: “not rm2”.
Hiato
(Hiato)
February 19, 2017, 7:49am
203
I downgraded to 20024 and RM bridge to 1.3.0 and it worked! You can also try 20022, a lot of people are saying it works.
itsamti
(itsamti)
February 19, 2017, 1:28pm
204
Thanks so much for the reply! Do you happen to have a link for downgrading
firmware? I’ve Google’d for about 20 minutes and can’t find a thing. I
know there was an upgrade link in this thread…would it work to alter that
for downgrading as well?
Hiato
(Hiato)
February 20, 2017, 7:53am
206
sorens
February 21, 2017, 2:14pm
207
Turns out it’s possible to remove the Android bridge requirement. This python library (https://github.com/mjg59/python-broadlink ) allows you to send codes directly to the RM.
I wasn’t able to get it to learn new RF codes, so I used the RM Bridge android app to get the hex RF codes I need. Then the python library sends them just fine to my RM2.
Also, since I now don’t have to use RM Bridge, it’s relatively simple to interact with the RM2 from outside my local network.
2 Likes
sapstar
(sapstar)
February 25, 2017, 11:26am
208
Can someone confirm what is the latest version available to buy. I seem to find different versions on Chinese websites which look alike.
RM Pro
RM2 Pro
RM3
Some are listing that they have serial number starting with RM03 would that be the latest one? Any differences between the versions?
sapstar
(sapstar)
February 27, 2017, 2:16pm
209
I finally bought one from Amazon and see it has the RM03 serial number. In the RM tasker it is detected as RM2+ (10026). I watched a comparison video on youtube which shows differences between RM2 Pro and RM3 Pro. As per the video 10026 is RM3. Not sure what difference this makes.