ohmantics / homebridge-airmega

Homebridge plugin for the Coway Airmega air purifier series
9 stars 2 forks source link

New accessory added to default room on homebridge restart #54

Open akeybl opened 1 year ago

akeybl commented 1 year ago

This prevents me from being able to add the accessory to scenes, as a new one is created on each restart.

ohmantics commented 1 year ago

It certainly tries to reload the accessory. See this code.

Is there anything unusual about your purifier's name?

akeybl commented 1 year ago

Nothing obvious, I guess your thinking is that the purifier name maps to a different UUID each time? I should probably try to figure out how to see the purifier name/UUID on restart. Hopefully just in the hoembridge logs.

On Mon, Apr 17, 2023 at 12:33 AM, Alex Rosenberg @.***> wrote:

It certainly tries to reload the accessory. See this code https://github.com/ohmantics/homebridge-airmega/blob/d2d1e4d3c075401e1f4bcfefd960e70a426ad2bb/src/lib/AirmegaPlatform.ts#L61 .

Is there anything unusual about your purifier's name?

— Reply to this email directly, view it on GitHub https://github.com/ohmantics/homebridge-airmega/issues/54#issuecomment-1510683269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAII3QKQZNLBBWNSXAIPUVLXBTBYBANCNFSM6AAAAAAW5FBTAU . You are receiving this because you authored the thread.Message ID: @.***>