AlexanderBabel / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
46 stars 11 forks source link

Broadlink RM PRO in VLAN - sendData (no device found) #84

Closed S474N closed 4 years ago

S474N commented 4 years ago

Hi, I have Broadlink RM PRO and now have problem with "sendData (no device found)".

I migrated RM PRO to IoT VLAN.

If I tested it from Node-Red (with plugin for RM PRO), there is no problem. Also no problem from mobile phone with eControl app.

But with this Homebridge plugin have in log this (for example Mute button) and nothing happens:

[5/3/2020, 17:09:33] [Broadlink RM] [ERROR] Mute sendData (no device found)
[5/3/2020, 17:09:33] [Broadlink RM] Mute setSwitchState: (automatically turn off in 0.2 seconds)
[5/3/2020, 17:09:33] [Broadlink RM] Mute getSwitchState: true
[5/3/2020, 17:09:33] [Broadlink RM] Mute setSwitchState: false

New IP of RM PRO is set correctly in config.json, also have on my router enable mDNS and ICMP Snooping. Ping from my LAN (also from RPi with Homebridge) is OK.

Tested also deleting my Home in Homekit and creating new one. Same problem.

Where can be problem, please?

Homebridge v1.0.4 Node.js v12.16.3 npm v6.14.4 homebridge-broadlink-rm-tv v4.0.5

S474N commented 4 years ago

Resolved with adding value "hosts" to config.json with MAC address of Broadlink.

"hosts": [
  {
    "address": "192.168.1.76",
    "mac": "34:ea:34:e7:d7:28",
    "isRFSupported": true
  }
],

Without this is problem with UDP discovery between LANs.