Homebridge: Difference between platform and plugin

Created on 27 May 2018  ·  5Comments  ·  Source: homebridge/homebridge

Hello,
I apologise for the easy question but being a newbie I have not realised the difference between platforms and accessory inside a config.json file.

Can anyone please advise?

I have noticed that some plugin require a platform to be specified, some others just accessories, why?

Can the coexist in the same config.json file?

Thnaks for clarifying, dan

stale

Most helpful comment

Platforms can be configured dynamically. Essentially it does the heavy lifting for you, you login to your Nest,Ecobee, etc, and a platform will handle the declaring of accessories and their characteristics and auto link commands. Accessories allow more granular control and require more setup. You will have to setup the device name, IP address of the device for each device you want to link. That make sense?

All 5 comments

Its just because of the way the plugin works platforms connect several items accessories mostly one. And yes you can use several platforms and accessory in the same config.

So a platform is a group of accessory, have I understood correctly?

And then other “independent” accessories may coexists with platforms.

Is that correct?
Thanks,
Dan

Platforms can be configured dynamically. Essentially it does the heavy lifting for you, you login to your Nest,Ecobee, etc, and a platform will handle the declaring of accessories and their characteristics and auto link commands. Accessories allow more granular control and require more setup. You will have to setup the device name, IP address of the device for each device you want to link. That make sense?

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Hi, I too have this question - what is the difference?

Mike

Was this page helpful?
0 / 5 - 0 ratings