Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [

],

"platforms": [
{
"platform": "BelkinWeMo",
"name": "WeMo Platform",
"expected_accessories" : "8",
"timeout" : "30",
"no_motion_timer": "60",
"homekit_safe" : "1"
}
]
}



Try this, I removed your individual 8 devices as thats not necessary in the platform. "expected_accessories" should be the number of wemo devices that u have. "timeout" is the time that homebridge waits to find wemo device in your network, you can try increasing it if homebridge is not finding all devices. "homekit_safe" will make sure that homebridge finds all devices before it runs, to protect your homekit configuration.

you also need to uninstall the wemo plugin using this command,

sudo npm unnstall -g homebridge-wemo

then install wemo platform using:

npm install -g homebridge-platform-wemo


it may take couple tries while starting up homebridge to find all devices and run given that you have 8 devices, but good luck

Hit me if u need anything else.






Thanks for taking the time to have a look at this. Config.json is as follows:

Code:
{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

    "accessories": [
           {
               "accessory": "WeMo",
               "name": "Owly Lamp",
               "description": "Owly Lamp",
               "wemo_name": "Owly Lamp"
           },
           {
               "accessory": "WeMo",
               "name": "Sofa Lamps",
               "description": "Lamps behind the sofa",
               "wemo_name": "Sofa Lamps"
           },
           {
               "accessory": "WeMo",
               "name": "Tall Lamp",
               "description": "The tall lamp",
               "wemo_name": "Tall Lamp"
           },
           {
               "accessory": "WeMo",
               "name": "Piano Lamps",
               "description": "The lamps above the pianos",
               "wemo_name": "Pianos"
           },
           {
               "accessory": "WeMo",
               "name": "Piano Room Desk",
               "description": "Piano Room Desk",
               "wemo_name": "Piano Room Desk"
           },
           {
               "accessory": "WeMo",
               "name": "Bookcase",
               "description": "The bookcase in the piano room",
               "wemo_name": "Bookcase"
           },
           {
               "accessory": "WeMo",
               "name": "Office",
               "description": "PhD Room",
               "wemo_name": "Office"
           },
           {
               "accessory": "WeMo",
               "name": "Globe",
               "description": "The globe lamp",
               "wemo_name": "Globe"
           }
       ]
     }

I know I need to add the following, but where?

Code:
"platforms": [
       {
         "platform": "BelkinWeMo",
         "name": "WeMo Platform",
         "expected_accessories" : "0",
         "timeout" : "25",
         "no_motion_timer": "60",
         "homekit_safe" : "1"
       } 
   ]

Thanks for any advice folks!
Thanks for taking the time to have a look at this. Config.json is as follows:

Code:
{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

    "accessories": [
           {
               "accessory": "WeMo",
               "name": "Owly Lamp",
               "description": "Owly Lamp",
               "wemo_name": "Owly Lamp"
           },
           {
               "accessory": "WeMo",
               "name": "Sofa Lamps",
               "description": "Lamps behind the sofa",
               "wemo_name": "Sofa Lamps"
           },
           {
               "accessory": "WeMo",
               "name": "Tall Lamp",
               "description": "The tall lamp",
               "wemo_name": "Tall Lamp"
           },
           {
               "accessory": "WeMo",
               "name": "Piano Lamps",
               "description": "The lamps above the pianos",
               "wemo_name": "Pianos"
           },
           {
               "accessory": "WeMo",
               "name": "Piano Room Desk",
               "description": "Piano Room Desk",
               "wemo_name": "Piano Room Desk"
           },
           {
               "accessory": "WeMo",
               "name": "Bookcase",
               "description": "The bookcase in the piano room",
               "wemo_name": "Bookcase"
           },
           {
               "accessory": "WeMo",
               "name": "Office",
               "description": "PhD Room",
               "wemo_name": "Office"
           },
           {
               "accessory": "WeMo",
               "name": "Globe",
               "description": "The globe lamp",
               "wemo_name": "Globe"
           }
       ]
     }

I know I need to add the following, but where?

Code:
"platforms": [
       {
         "platform": "BelkinWeMo",
         "name": "WeMo Platform",
         "expected_accessories" : "0",
         "timeout" : "25",
         "no_motion_timer": "60",
         "homekit_safe" : "1"
       }  
   ]

Thanks for any advice folks!
 
  • Like
Reactions: Zcott
Disaster!
My Homebridge has stopped working, couldn't get it running on my Rpi so did a clean install of everything (Raspbian noobs) and a fresh install of Homebridge.

Using the HMCatalog app or the Insteon+ app, Homebridge is discovered, but when I try to pair with it using the pin it fails.

I've tried running Hombridge on my MacBook,
Using a different iPhone/iPad.
Deleting the Homebridge persist files.
Resetting HomeKit configuration.
Logging out of iCloud services.
Rebooting all devices.
Using a different iCloud ID.
Using a brand new iCloud ID.
Rebooting my router.
Factory resetting my router.
Unplugging/disconnecting as many other devices from my router that I can.

Anyone else seen this error?
I'm running out of options now!
 

Attachments

  • image.png
    image.png
    106.1 KB · Views: 337
I'm not sure if this fell into one of the steps you already tried, but if not, FWIW:

iOS device has gotten your Homebridge username (looks like a MAC address) "stuck" somehow, where it's in the database but inactive. Fix: change your username in the "bridge" section of config.json to be some new value.
 
  • Like
Reactions: Recognition
Try this(at the same time)
Reset the homekit configuration in iOS
Delete the presist folder on the .homebridge
Restart rpi

Restart the homebridge.


If this dont help i am sure it has to do with the recent change in homebridge to support latest ios beta. Let us know if this helps.






Disaster!
My Homebridge has stopped working, couldn't get it running on my Rpi so did a clean install of everything (Raspbian noobs) and a fresh install of Homebridge.

Using the HMCatalog app or the Insteon+ app, Homebridge is discovered, but when I try to pair with it using the pin it fails.

I've tried running Hombridge on my MacBook,
Using a different iPhone/iPad.
Deleting the Homebridge persist files.
Resetting HomeKit configuration.
Logging out of iCloud services.
Rebooting all devices.
Using a different iCloud ID.
Using a brand new iCloud ID.
Rebooting my router.
Factory resetting my router.
Unplugging/disconnecting as many other devices from my router that I can.

Anyone else seen this error?
I'm running out of options now!
Th
 
  • Like
Reactions: Recognition
I'm not sure if this fell into one of the steps you already tried, but if not, FWIW:

Try this(at the same time)
Reset the homekit configuration in iOS
Delete the presist folder on the .homebridge
Restart rpi

Restart the homebridge.


If this dont help i am sure it has to do with the recent change in homebridge to support latest ios beta. Let us know if this helps.







Th
Thanks all, I've tried combinations of what you've suggested but not necessarily in that order!

I've wiped my Rpi already and will do a fresh install of Homebridge on it tonight with both your suggestions.

The problem started when I tried to update Homebridge npm to work with iOS beta.

I think I just did 'npm -g update' and missed of 'Homebridge' from the end.
After that when I tried restarting Homebridge the terminal would just say "command not found" or something similar.
I guess I accidentally deleted part of Homebridge and screwed up everything else!

Really hope I can get it working again, it was so handy to have!
 
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [

],

"platforms": [
{
"platform": "BelkinWeMo",
"name": "WeMo Platform",
"expected_accessories" : "8",
"timeout" : "30",
"no_motion_timer": "60",
"homekit_safe" : "1"
}
]
}



Try this, I removed your individual 8 devices as thats not necessary in the platform. "expected_accessories" should be the number of wemo devices that u have. "timeout" is the time that homebridge waits to find wemo device in your network, you can try increasing it if homebridge is not finding all devices. "homekit_safe" will make sure that homebridge finds all devices before it runs, to protect your homekit configuration.

you also need to uninstall the wemo plugin using this command,

sudo npm unnstall -g homebridge-wemo

then install wemo platform using:

npm install -g homebridge-platform-wemo


it may take couple tries while starting up homebridge to find all devices and run given that you have 8 devices, but good luck

Hit me if u need anything else.


Would it be possible to use the timeout and HomeKit safe functions in the accessories part?
Have trouble with the sonos plugin not always finding all my speakers even tho I only have 2
 
'use the timeout and HomeKit safe functions in the accessories part'
i guess your question is about a different plugin,
So the plugin author should implement this before you can use it. It's a part of code for wemo platform plugin....




Would it be possible to use the timeout and HomeKit safe functions in the accessories part?
Have trouble with the sonos plugin not always finding all my speakers even tho I only have 2
Would it be possible to use the timeout and HomeKit safe functions in the accessories part?
Have trouble with the sonos plugin not always finding all my speakers even tho I only have 2
 
  • Like
Reactions: Perevers
No luck getting my iPhone to add the Homebridge using the methods you suggested.
I did try one thing though that did work.
I ran Homebridge on my MacBook Air and used the the iPhone simulator and the HMCatalog app and it connected and paired! I was able to control my WeMo switches and Nest thermostat through the simulator.

So that leads me to believe it's my iPhone that is the issue?

My iPhone was running ios9.2.1 so I've installed the latest public beta. Hopefully this will work.
Just re-installing Homebridge on my Rpi now...

EDIT:
Success!!

It works again! Looks like my iOS version (9.2.1) was not connecting to the Homebridge, (I understand that it uses Apples Bonjour to communicate?).
Updated to the latest public beta (out today) and it lives!

Just tentatively re-populating my config.son file one plugin at a time!
Hopefully now more issues for a while.

I can finally sleep easy (the wife will be pleased...!)

Thanks for your help!
 
Last edited:
  • Like
Reactions: aristobrat
No luck getting my iPhone to add the Homebridge using the methods you suggested.
I did try one thing though that did work.
I ran Homebridge on my MacBook Air and used the the iPhone simulator and the HMCatalog app and it connected and paired! I was able to control my WeMo switches and Nest thermostat through the simulator.

So that leads me to believe it's my iPhone that is the issue?

My iPhone was running ios9.2.1 so I've installed the latest public beta. Hopefully this will work.
Just re-installing Homebridge on my Rpi now...

EDIT:
Success!!

It works again! Looks like my iOS version (9.2.1) was not connecting to the Homebridge, (I understand that it uses Apples Bonjour to communicate?).
Updated to the latest public beta (out today) and it lives!

Just tentatively re-populating my config.son file one plugin at a time!
Hopefully now more issues for a while.

I can finally sleep easy (the wife will be pleased...!)

Thanks for your help!
Glad it worked out for you!
 
I bought my 1st Raspberry Pi and got this to work with Z-Wave & my old Vera lite bridge thanks to the advice on this thread. Thank you all!
 
  • Like
Reactions: aristobrat
Has everyone ne given up on this ? I'm going to try it at weekend. I want to get and lg oied tv and have seen a plugin to control webos with is the os this to runs
 
Homebridge is connecting my,

Nest thermostat,
2x WeMo switches,
3x 433hz RF switches
RedEye IR transmitter
Power to my PS4,

to HomeKit which already has 5 hue bulbs connected.
 
  • Like
Reactions: aristobrat
What devises are you guys controlling ? I'm just try wemo as a test case
Mine controls a WeMo Outlet and an ISY hub (which controls several Insteon wall switches and a motion/light detector, and has a bunch of rules about when to turn the light switches on/off based on time, motion, and/or if it's dark outside).

The WeMo Outlet is just there in case the ISY ever locks up and needs a power cycle (when I'm not home), but knock on wood, that's never happened. Thing has been rock solid (god, please don't jinx me for saying that). :)

I just had a garage door opener installed, and I'm about to add that to HomeBridge.
 
  • Like
Reactions: m11rphy
I've been using HomeBridge since Christmas to interface my ISY994i and Insteon devices with my HomeKit devices. It works fine, but sometimes my wife will logout my account on the iMac instead of switching users. I've trying to decide if I want a used low power PC, such as a NUC or something from Zotac, to run Linux, a Raspberry Pi, or a used Mac Mini to move my HomeBridge instance over. What are your thoughts?
 
I've been using HomeBridge since Christmas to interface my ISY994i and Insteon devices with my HomeKit devices. It works fine, but sometimes my wife will logout my account on the iMac instead of switching users. I've trying to decide if I want a used low power PC, such as a NUC or something from Zotac, to run Linux, a Raspberry Pi, or a used Mac Mini to move my HomeBridge instance over. What are your thoughts?
Raspberry Pi. I am running the first gen Pi and works very reliable with homebridge.
 
I've been using HomeBridge since Christmas to interface my ISY994i and Insteon devices with my HomeKit devices. It works fine, but sometimes my wife will logout my account on the iMac instead of switching users. I've trying to decide if I want a used low power PC, such as a NUC or something from Zotac, to run Linux, a Raspberry Pi, or a used Mac Mini to move my HomeBridge instance over. What are your thoughts?
Raspberry Pi here too.
Running it headless with Homebridge on it for over a year now.
It lives in my key/junk drawer near the router.
VNC or ssh into it to tinker.
Nice, cheap and simple :)
 
Headless Raspberry Pi here, too. Inexpensive and well documented (in terms of running HomeBridge).
 
Pi 3 (yeah overkill for this, but I'll eventually find other tasks for it) ordered and should arrive today. I've always wanted one to tinker with.
 
  • Like
Reactions: aristobrat
I have homebridge runnin on my Pi2

So far working plugins
Wemo
Hive (British gas heating)
Ifttt to run hiveboos and hot water boost
Lgtv webos- only turns TV off
Plus hue -running native HomeKit.

All functions work through Siri.

Cracking bit of kit.
 
  • Like
Reactions: aristobrat
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.