I am programmatically generating my configuration JSON file, as well as the arguments passed to homekit2mqtt. My accessories appear in Home and I can add them, however if I restart my program and it regenerates the JSON and re-launches homekit2mqtt, then the accessories aren’t found by HomeKit. I assume I am changing something (—name?) that needs to remain the same. The documentation doesn’t say which values are used to create the HAP IDs (or whatever HomeKit uses).
I am programmatically generating my configuration JSON file, as well as the arguments passed to homekit2mqtt. My accessories appear in Home and I can add them, however if I restart my program and it regenerates the JSON and re-launches homekit2mqtt, then the accessories aren’t found by HomeKit. I assume I am changing something (—name?) that needs to remain the same. The documentation doesn’t say which values are used to create the HAP IDs (or whatever HomeKit uses).