iosexternal-accessoryhomekitios-homekit

How to send images/files to HomKit accessory from iOS iPhone/iPad


  1. What are the things needed to send the files to HomeKit accessory using HomeKit services? from accessory design perspective and from iOS perspective.
  2. Is HomeKit allow to send files like images or xml data from iOS application?

Solution

  • HomeKit allows you to create a custom characteristic that can take various different formats. You can use the "Data" format, making the characteristic be "Write" or "Read" and send the information (image) you need in whatever direction to the device or the app. As Adam Shiemke was saying, you might want to define a protocol on that characteristic, i.e. in case you want to send additional data like a name and an image.