question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[solved] No buttons in Home App

See original GitHub issue

Hello,

I own a Braodlink RM Pro 2017, which works flawlessly so far. After updating Node.js from version 6.12 to 8.9.1, I installed the homebridge-broadlink-rm plugin under Raspian Stretch. In my config.json I added the following lines:

"platforms": [ {"platform": "BroadlinkRM", "name": "Broadlink RM", "hideScanFrequencyButton": false, "hideLearnButton": false, "accessories": [] },...

My Homebridge starts without any problem and shows that the broadling-rm plugin has found the RM Pro under IPv4 adress 192.168.0.46. In addition, the log shows that there is no accesorie for the “BroadlinkRM” platform.

I now would expect a Learn and a ScanFrequency Button within my Home App under iOS 11. However, I can not found such buttons. What do I have to do, in order to overcome this problem?

Best regards,

Thorsten

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
alexymikcommented, Dec 13, 2017

Hi,

I had the same problem and your post helped me figure it out. I had an empty array of accessories [] as I was hoping to populate it after learning codes. Turns out you need at least one device as you point out.

Here’s some better formatting of your example:

"platforms":[
  {
    "platform": "BroadlinkRM",
    "name": "Broadlink RM",
    "hideScanFrequencyButton": false,
    "hideLearnButton": false,
    "accessories": [
      {
        "name": "New switch",
        "type": "switch",
        "data": {
          "on": "",
          "off": ""
        }
      }
    ]
  }
]

I am also hoping to submit a pull request for some more clear documentation so I’m including this image for reference later.

homebridge-broadlink

Thanks

1reaction
drtpcommented, Nov 24, 2017

Okay, now it works. Thank to this description I only had to add some additional lines to the accessories part of the BroadlinkRM platform within config.json:

"platforms": [ {"platform": "BroadlinkRM", "name": "Broadlink RM", "hideScanFrequencyButton": false, "hideLearnButton": false, "accessories": [{"name": "New switch", "type": "switch", "data":{"on" :"", "off": ""}}] },...

Why is this missing within the manual on the start page of the plugin?

Best regards,

Thorsten

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 Ways to Fix Home Button Not Working on Android - iMobie
Way 1. Clean the Home Button · Way 2. Get the Home Button Repaired · Way 3. Use an On-Screen Button App.
Read more >
How to Fix iPhone Home Button not Working-5 Ways - YouTube
... notice: The Standard Repair of ReiBoot has a chance to fix the phone without data loss, but doesn't guarantees 100% success rate....
Read more >
HomeKit: switches stop working properly - Apple Community
I ran into an issue where my wireless switches (Hue / Aqara) stop working properly in HomeKit. When I press a button on...
Read more >
HomeKit button not triggering shortcut - Reddit
So I'm trying to toggle a lamp on and off with a shortcut after pressing an IKEA button. The button registers in HomeKit,...
Read more >
Is Your iPhone Home Button Not Working? 5 Quick Fixes to Try
Instead, press and hold the Home button for around 10 seconds until the prompt disappears and the app quits. That's it. This fix...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found