I got all but one of my devices to work. However, I cannot get Broadlink to control my AV Receiver. The problem is that I don't have the original remote for the receiver and am trying to use a Harmony 650 remote to teach the Broadlink. The Harmony 650 controls the device great but none of the learned commands work from the Harmony work when using Broadlink. Any ideas (not Hubitat problem)?
Hi All,
I am new to HE and automation and have started out with a few plugs and have now moved on to install this Broadlink customisation. I have installed the apps and drivers available in post 289 according to the instructions in this thread. I think it works fine, but I have a few questions:
-
Is there a way to get the status/current settings of the air source heater/AC unit? Or is there a dashboard I can create or download to see this info? Or is there another way to verify the codes I am sending to the HVAC unit?
-
Am I correct in assuming that I cannot see the air heater in HE? I.e. the RM Pro will represent the heater in HE, but the heater it self will not be represented?
-
I installed the virtual thermostat as per the instructions and created a button for the thermostat. The button seems to want to show two properties but both mine are currently "unknown" (Unknown mode and unknown fan mode). When I set up the Broadlink connection I recorded lots of heater commands (on, off, mode: heat, mode: cold, etc). Is there a way to use those already set in the thermostat or how do I set up thee values that the thermostat requires?
Thanks for having taken the time to read my question.
Not that I'm aware of. The ir for ac is only one way communications. Can determine if its blowing warm or cold air to determine the mode but that's it.
Not sure what you mean by this.
You need to define the temperature sensors in the hvac device page. You also need to click simulate or determine the mode (or something like that) for it to use the two temperature sensors defined in the hvac device page.
Sorry for the unclear question. When I did the setup of the Broadlink in the app, I first added the Broadlink device and then I added the heater as a separate device. I think I just assumed that the setup in the HE hub would be analog to that, i.e. that I would set up first the Broadlink device and then the heater as a separate device. But as I understand it, it is only the RM Pro that is set up in HE, not the heater as such. Instead of seting up the heater, the heater (and other devices presumably) commands are set up in the Broadlink device. Hope I managed to explain the question more clearly?
![](https://community.hubitat.com/letter_avatar/peterbrown77.pb/48/5_f40856482fe1e45ac8f1605885140a2d.png)
You need to define the temperature sensors in the hvac device page. You also need to click simulate or determine the mode (or something like that) for it to use the two temperature sensors defined in the hvac device page.
Okej, thanks. At the moment I only have temperature sensors outside so I will have to come back to this setup.
Again, thanks for sharing your experience.
![](https://community.hubitat.com/letter_avatar/magnus.s/48/5_f40856482fe1e45ac8f1605885140a2d.png)
, I first added the Broadlink device and then I added the heater as a separate device. I think I just assumed that the setup in the HE hub would be analog to that, i.e. that I would set up first the Broadlink device and then the heater as a separate device
Now I understand what you mean. In hubitat it is different. You create the broadlink device using these drivers and apps. That is a device now. You learn the heater commands in the new device and save them with meaningful names. You then create a virtual device that represents your heater or create individual button for each command (eg a switch for power, a button for temperature up etc. If it's a fan you can create a virtual fan)
then use rule machine to make things happen. Having your virtual device as a trigger and sending your broadlink code as custom/actuator/string as an action. For the air con/hvac, well that's a little more refined with the drivers provided as they are virtual hvac units.
I did a rule to control the air heater/AC controlled via Broadlink and this app, and basically RM4 or the app adds NULL to a string where I don't see why it should. I am using the SendStoredCode command with the string (ON) which results in (ON, NULL, NULL, NULL). When I run the rule I get an error indicating an error with a NULL object.
Has this happened to you or do you have a theory why this happened?
I posted it in Apps support, but maybe it is not rule machine but this app that creates the NULL strings, so I'll place a link here (Please leave any comments in the other post to keep the thread in one place).
It's been 20 years since I did any programming and after many many attempts I finally finished my one nested rule to control my air heater / AC unit. When I was done I noticed that RM4 had added NULL in a few places. I tried to remove them, but I wasn't allowed to remove NULL (which makes some sense I guess). Why where the NULL commands added (in two places) to the ON string? (ON, , , ) => (ON, NULL, NULL, NULL) [2020-09-29_113051_2] EDIT: I ran the rule and it produced an error code. I amā¦
![](https://community.hubitat.com/user_avatar/community.hubitat.com/stephen_nutt/48/47039_2.png)
The Harmony 650 controls the device great but none of the learned commands work from the Harmony work when using Broadlink. Any ideas (not Hubitat problem)?
I've had this happen trying to use a "teachable" remote to teach other teachable remotes too. You might see if you can find a $5 universal remotes at Wally world that has your codes and use that. It might work better.
I'm having some trouble naming the codes to work on the generic RC HVAC
It may be withdrawn, but I just tried v.50 with my RM Mini 3's and it works a treat Thank you to the OP even if it had to be withdrawn.
![](https://community.hubitat.com/user_avatar/community.hubitat.com/chirpy/48/92826_2.png)
Thank you to the OP even if it had to be withdrawn.
Unfortunately the developer left the forum followed by withdrawing his code. Shame as he was an asset to the community and very helpful. Something happened behind the scenes we weren't aware of.
Iām stuck with RF learning. First my garage door is giving the error Code Format not recognized. This is the code read by broadlink app in hubitat: B12A1C000B0B17160C0B17170D00018A0B0B17160B170B160C0B17170B0B1716000000000000000000000000
The other topic is related to TC2-1 Broadlink wall switch. Somebody here successfully add one of those to HE via this amazing app? @cybrmage if you see this I beg you to help me! This is the only part of my home I was not able to migrate from SmartThings
I found that sometimes my Rf remotes either take multiple times of learning to get a code that is correct, or sometimes another device learns much better than my one that sits outside. I have the rm pro inside, but think the outside one is the pro+ which doesn't seem to learn as well.
I know you're learning ir, but just in case you have more than one broadlink device as you can learn on one device and then still use the other device seeing I find it's only learning that can be a challenge.
Try the e-control app, ihc, ihc eu, broadlink app. Can you add the RF codes?
If you can add them to the e-control app then install this app
https://play.google.com/store/apps/details?id=us.originally.tasker, you can refund the 1ste 15 minutes, so try the lite first.
1)Import codes from e-control in the app rmplugin app
2)activate http
3)Then you can put your http://yourdeviceIPadress/codes
You will find the codes imported, I don't know if the RF codes will be there too, I guess they will.
Then import the codes into broadlink hubitat app, and test if they work in a rule.
Watch out that RF is a radio frequency meaning there could be interference like metal or long distances.
Thankfully I've managed to learn all my commands eventually, just some with some minor challenges. But your Idea is definitely a good one to keep in mind.
I own the Rm plugin plus half of Joao apps as my automation was mainly tasker before... Now my broadlink stuff has predominantly moved over to hubitat once I found out this driver existed (was previously using the rm plugin server and tasker as the middle man for a while and some still remain as I've been lazy).
Happened at the begining and part of the codes I used one of the minis to learn some of the IR codes needed on the Pro. I just pop up the learning box and when the mini show the IR code, then copy pasted to a notepad then added manually to the Pro.
My current set up is x1 RM pro and x3 RM Mini but the Pro always presented as a challenge to br managed. At first it keeps falling the connection and reporting himself as a missing decive upon adding it to hubitat via Brodlink app
I will try this tonight! Thanks @_RiC. Weird case: this very same RF garage remote I take a shot and installed this app just to see if is possible to operate/stay on hubitat and the app simultaneously and ot passed the test! Now I opening this door via the app.
Iāll borrow my sonā tablet to try out what @_RiC suggested and my second option is to conmect this to a virtual push button using alexa or IFTTT.
On the case of alexa wich one is the correct skill to work with this app?
Hello all,
I am using v0.50 with a just purchased off amazon BroadLink RM mini 3. I was able to get things working, except the learn function keeps erroring out almost immediately. I saw earlier in this thread that someone was having similar issues, but as best I can tell I don't know how he ended up resolving it. Any help is appreciated! See below for diagnostic info:
Hubitat C-7
Broadlink Device Manager (BETA) logs:
app:2572020-10-16 09:40:38.259 am debug(learnCodes) params [[learnDevice:C8F7424131D1, operation:learnIR]] learnStage [IDLE] learnResult [failed] newCodeName [null]
app:2572020-10-16 09:40:37.543 am warn(handle_learn_status) learnStage [IDLE] learnResult [failed]
app:2572020-10-16 09:40:37.538 am warn(handle_learn_status) received ir status [DEVICE] [IR_Status] [IDLE]
app:2572020-10-16 09:40:37.221 am debug(learnCodes) params [[learnDevice:C8F7424131D1, operation:learnIR]] learnStage [ERROR] learnResult [null] newCodeName [null]
app:2572020-10-16 09:40:36.232 am debug(learnCodes) params [[learnDevice:C8F7424131D1, operation:learnIR]] learnStage [ERROR] learnResult [null] newCodeName [null]
app:2572020-10-16 09:40:35.992 am warn(handle_learn_status) learnStage [ERROR] learnResult [null]
app:2572020-10-16 09:40:35.988 am warn(handle_learn_status) received ir status [DEVICE] [IR_Status] [ERROR]
app:2572020-10-16 09:40:35.270 am warn(handle_learn_status) learnStage [ Press button on IR Remote.] learnResult [null]
app:2572020-10-16 09:40:35.266 am warn(handle_learn_status) received ir status [DEVICE] [IR_Status] [Learning: Press button on IR Remote.]
app:2572020-10-16 09:40:35.094 am warn(learnCodes) Starting IR learn process with device [C8F7424131D1].
app:2572020-10-16 09:40:35.088 am debug(learnCodes) params [[learnDevice:C8F7424131D1, operation:learnIR]] learnStage [null] learnResult [null] newCodeName [null]
app:2572020-10-16 09:40:33.845 am info(listCodes) code [Dyson_Oscillate_ON]
app:2572020-10-16 09:40:33.842 am info(listCodes) code [Dyson_Oscillate_OFF]
app:2572020-10-16 09:40:33.839 am info(listCodes) code [Dyson_On]
app:2572020-10-16 09:40:33.836 am info(listCodes) code [Dyson_Off]
app:2572020-10-16 09:40:33.834 am info(listCodes) code [Dyson_LESS_AIR]
app:2572020-10-16 09:40:33.831 am info(listCodes)
app:2572020-10-16 09:40:33.806 am debug(importDeviceCodes)
app:2572020-10-16 09:40:33.794 am debug(CodesPage) params [null] editing [false] adding [false] newCodeName [null] AutomaticCodeImport [true]
app:2572020-10-16 09:40:29.385 am debug(MainPage) APP [v0.50 2020-05-10] debug [true] debugVerbose [true]
RM Mini 3 Log:
dev:15142020-10-16 09:40:37.469 am traceIR_Status: IDLE
dev:15142020-10-16 09:40:35.956 am traceIR_Status: ERROR
dev:15142020-10-16 09:40:35.953 am debugRM Mini 3 (V4) - parseDataIR) ERROR - Failed to retreive learn response data
dev:15142020-10-16 09:40:35.940 am debugRM Mini 3 (V4) - (parseDataIR) received description: index:00, mac:C8F7424131D1, ip:c0a801b3, port:50, type:LAN_TYPE_UDPCLIENT, payload:5AA5AA555AA5AA5500000000000000000000000000000000000000000000000079D4FBFF365FEE030900D1314142F7C801000000AFBE000090DD68CA45FFF2FAD00C25B14248C6C2
dev:15142020-10-16 09:40:35.795 am debugRM Mini 3 (V4) - (send_packet) completed
dev:15142020-10-16 09:40:35.791 am debugRM Mini 3 (V4) - (sendMessage) completed
dev:15142020-10-16 09:40:35.788 am debugRM Mini 3 (V4) - (sendMessage) sending packet to 192.168.1.179
dev:15142020-10-16 09:40:35.785 am debugRM Mini 3 (V4) - (sendMessage) Called sendMessage(192.168.1.179)
dev:15142020-10-16 09:40:35.753 am debugRM Mini 3 (V4) - (send_packet) Called send_packet( 192.168.1.179, 0x6A)
dev:15142020-10-16 09:40:35.745 am debugRM Mini 3 (V4) - (checkDataIR) Checking for IR code data
dev:15142020-10-16 09:40:35.230 am traceIR_Status: Learning: Press button on IR Remote.
dev:15142020-10-16 09:40:35.228 am debugRM Mini 3 (V4) - (parseDataIR) Entered LEARN Mode.
dev:15142020-10-16 09:40:35.219 am debugRM Mini 3 (V4) - (parseDataIR) received description: index:00, mac:C8F7424131D1, ip:c0a801b3, port:50, type:LAN_TYPE_UDPCLIENT, payload:5AA5AA555AA5AA550000000000000000000000000000000000000000000000008CD10000365FEE030800D1314142F7C801000000B6BE0000AC66BF176FE9A03DE2C90DADE4067CB2
dev:15142020-10-16 09:40:35.137 am debugRM Mini 3 (V4) - (send_packet) completed
dev:15142020-10-16 09:40:35.135 am debugRM Mini 3 (V4) - (sendMessage) completed
dev:15142020-10-16 09:40:35.132 am debugRM Mini 3 (V4) - (sendMessage) sending packet to 192.168.1.179
dev:15142020-10-16 09:40:35.129 am debugRM Mini 3 (V4) - (sendMessage) Called sendMessage(192.168.1.179)
dev:15142020-10-16 09:40:35.113 am debugRM Mini 3 (V4) - (send_packet) Called send_packet( 192.168.1.179, 0x6A)
dev:15142020-10-16 09:40:35.110 am debugRM Mini 3 (V4) - (learnIR) Attempting to enter IR learn mode...
dev:15142020-10-16 09:40:35.108 am trace(learnIR) Attempting to enter IR learn mode...
dev:15142020-10-16 09:40:33.826 am debugRM Mini 3 (V4) - (exportCodes) Exporting stored codes
"Current States" of RM Mini 3 Device:
- IR_Status : IDLE
- RF_Status : IDLE
- deviceConfig : {"devType":24374,"hasAuth":true,"hasIR":true,"hasTemp":false,"IP":"192.168.1.179","MAC":"C8F7424131D1","Name":"[UNNAMED]","relayCount":0,"internalID":"01000000","isRM4":true,"cloudLocked":false,"devTypeName":"RM Mini 3 (V4)","isPro":false,"KEY":"328B9E244877C714B8526142B2A06A83","supported":true}
- temperature : -100
![](https://community.hubitat.com/user_avatar/community.hubitat.com/knr/48/47884_2.png)
isRM4=true is still a supported device as long as your device is not cloudLocked. 24374 is the new RM Mini 3 referred as 0x5f36 on other upstream libraries, which generally requires 2 extra header bytes in the command (the rest of the protocol stays the same). What I found is that 0x5f36 throws either 0xfffb or 0xfff6 when the driver tries to poll for learnt code without anything ready yet. If you have the latest driver version (0.50), you could replace line 977 from } else if (payload[0] == 4ā¦
Try This it worked for me when learning was not working for me with a new unit from amazon.
That did the trick, thank you!!