{"id":502,"date":"2017-10-24T21:43:48","date_gmt":"2017-10-25T03:43:48","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=502"},"modified":"2017-10-24T21:43:48","modified_gmt":"2017-10-25T03:43:48","slug":"removing-platforms-and-accessories-from-homebridge","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=502","title":{"rendered":"Removing Platforms and Accessories from Homebridge"},"content":{"rendered":"<p>I added a few LIFX devices to Homebridge to make them available through Apple&#8217;s Home app. After LIFX added native HomeKit support to their lights, I decided that keeping the homebridge-lifx-lan plugin on Homebridge was unnecessary. I first quit Homebridge by pressing Ctrl-C and then used the following command to remove the plugin:<\/p>\n<p>sudo npm uninstall -g homebridge-lifx-lan<\/p>\n<p>Soon after I launched homebridge on my Mac mini and then the Home app on my iOS device to find that the LIFX accessories were still stuck under Homebridge. I also tried deleting the LIFX platform from the config.json file, but it was no help.<\/p>\n<p>To fix this, I restored the config.json file and reinstalled the plugin:<\/p>\n<p>sudo npm install -g homebridge-lifx-lan<\/p>\n<p>Then I installed the Hesperus app on my iOS device and followed these instructions:<\/p>\n<p><a href=\"https:\/\/github.com\/devbobo\/homebridge-lifx-lan\/wiki\/Removing-a-bulb-from-Homebridge\">https:\/\/github.com\/devbobo\/homebridge-lifx-lan\/wiki\/Removing-a-bulb-from-Homebridge<\/a><\/p>\n<p>Success! After this, I quit Homebridge, removed the platform code from the config.json file, and removed the plugin using this command:<\/p>\n<p>sudo npm uninstall -g homebridge-lifx-lan<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I added a few LIFX devices to Homebridge to make them available through Apple&#8217;s Home app. After LIFX added native HomeKit support to their lights, I decided that keeping the homebridge-lifx-lan plugin on Homebridge was unnecessary. I first quit Homebridge &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=502\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=502"}],"version-history":[{"count":1,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions\/503"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}