beckyricha / Broadlink-RM-SmartThings-Alexa

Control RF and Ir devices using SmartThings and Alexa.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Almost certainly something I am missing. Can't get ST to control the RM2

Martin1973X opened this issue · comments

I have the remote code programmed using the RM.
rm bridge

The code is listed as tvswitch and works from the test button. (I'm not concerned about posting a class C internal IP)
The code I am using is the LAN version and seems to be configured as suggested.

code

`The device seems to be set up, but no communication to the RM2 or output from ST.

fina

tvswitch

The configuration SHOULD toggle the TV on / off when used, but no output from the RM. No debug info when using the switch under a simulator.

sim

I get the nagging feeling I am missing something which should be obvious but just can't seem to get there. Any suggestions or help would be appreciated. The switch shows up in the ST app, just doesn't do anything. RM firmware is 20025, the RM works fine with everything else, including visiting the http address in the first image at which point I get the response "{"code":0,"msg":"rm2 send data success"}" and the TV mode toggles (on or off) .

EDIT - ignore the transposed port address, I did change it to the correct one of 7474 and still nothing. Been working on this for two days.

Oh, and the app says it's controlling the switch.

device events

Got it, thanks. The issue was that the RM switch code needs to be stored with on and off as the title but the ST device does not.

Example - for my device tvswitch. The stored remote code on the RM Code Manager site needs two stored codes

tvswitch on
tvswitch off

BUT the ST Device manager just needs to be

tvswitch

Thanks for the help, all is working as it should now. I said it was probably something I was missing.