dgreif / homebridge-hatch-baby-rest

A homebridge plugin for Hatch Baby Rest night light
MIT License
74 stars 19 forks source link

Set accessory info serial number to MAC address #42

Closed schmittx closed 3 years ago

schmittx commented 3 years ago

As a stop gap until a Python version can be made, I want to use Homebridge --> HomeAssistant (via HomeKit Controller component). But, HomeAssistant cannot handle accessories without a serial number/unique identifier specified (currently set to Unknown). See this issue for same concern with another Homebridge plugin.

Can the MAC address (or some other stable identifier) be used for the serial number?

dgreif commented 3 years ago

Great idea @schmittx. Mac address is now used as the serial number in 2.2.1