Supereg / homebridge-http-switch

Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
ISC License
219 stars 36 forks source link

serialNumber does not work in Eve #64

Closed mbierman closed 4 years ago

mbierman commented 4 years ago

Describe the bug I set serialNumber. It does show up in in Home but it does not show up in Eve.

Expected behavior I would expect the serial number to appear in both apps.

To Reproduce Steps to reproduce the behavior:

  1. Edit config.json as shown

    {
        "accessory": "HTTP-SWITCH",
        "name": "Arming error",
        "switchType": "stateless",
        "serialNumber": "SW003",
        "timeout": 1000,
        "onUrl": "https://maker.ifttt.com/t...",
        "method": "POST",
        "debug": false
    },
  2. Restarthomebridge

  3. Check Eve

  4. Check Home

Version (output of npm list -g homebridge homebridge-http-switch)

Configuration

....

Additional context Add any other context about the problem here.

Supereg commented 4 years ago

I set serialNumber. It does show up in in Home but it does not show up in Eve.

If it shows up in the Home App it is properly save in the HomeKit database. See no Issue in the plugin? What does it show in the Eve App?

mbierman commented 4 years ago

Eve shows the default serial number as if it isn't set at all SW01 while Home shows what I set above, SW003.

I don't see a discrepancy between serial numbers for other accessories.

Supereg commented 4 years ago

Well as I said, if Home App displayes it correctly then HomeKit received it correctly and there is nothing we can do about it. Would assume, as Eve seems to assume that serial numbers never change, that they never update it.