philscott-dev / homebridge-stagg-ekg-plus

Homebridge plugin for the Stagg EKG+ electric kettle
https://www.npmjs.com/package/homebridge-stagg-ekg-plus
MIT License
4 stars 0 forks source link

Ability to use "Name" field to name the device in HomeKit #3

Open jcr- opened 3 years ago

jcr- commented 3 years ago

Hi and thanks for this awesome plugin/server!

I'd like the ability to give a nice, concise name to the device via the Homebridge config, so I can say "Siri, turn on the Kettle." I guess I would like HomeKit/Homebridge to honor the name field and name the device accordingly.

By default, despite my choosing the name "Kettle" in the config, the device is still called "Stagg EKG+" by default, which is a mouthful to say to Siri, especially first thing in the morning. :-)

I was able to manually rename it in the Home.app, but IDK if it will survive a reboot of HomeBridge.

In Homebridge I used this config:

    {
        "name": "Kettle",
        "host": "192.168.XXX.XXX",
        "port": 8080,
        "tempUnits": "f",
        "serialNumber": "XXXXXXXXXXXX",
        "platform": "Stagg EKG+"
    }
philscott-dev commented 3 years ago

I can confirm, this will survive a reboot. I do the same for my setup. I just have the device's name set to "Kettle" in the Home.app.

Glad you're getting some use out of this though! Getting Home to respect the device name on initial setup has been on my list of things to do - just haven't gotten to it yet since this workaround addresses the issue. Hopefully soon!