Closed travishaagen closed 4 years ago
Is it possible to detect an accessory name change from an iOS device? I tried the following, but it doesn't appear to work:
acc := accessory.New( accessory.Info{ Name: "Initial Name", ID: uint64(123), }, accessory.TypeSensor) acc.Info.Name.Perms = characteristic.PermsAll() acc.Info.Name.OnValueRemoteUpdate(func(newName string) { fmt.Printf("OnValueRemoteUpdate name => %s\n", newName) })
The name characteristic is readonly. HomeKit doesn't send name changes back to the accessory.
Is it possible to detect an accessory name change from an iOS device? I tried the following, but it doesn't appear to work: