Readonly
hapReadonly
hapReadonly
platformReadonly
serverReadonly
userReadonly
versionThe homebridge API version as a floating point number.
use publishExternalAccessories directly to publish a standalone Accessory
Returns true if the current running homebridge version is greater or equal to the passed version string.
Example:
We assume the homebridge version 1.3.0-beta.12 (serverVersion) and the following example calls below
versionGreaterOrEqual("1.2.0"); // will return true
versionGreaterOrEqual("1.3.0"); // will return false (the RELEASE version 1.3.0 is bigger than the BETA version 1.3.0-beta.12)
versionGreaterOrEqual("1.3.0-beta.8); // will return true
The current homebridge semver version.