merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
383 stars 62 forks source link

Autogenerate from metadata? #424

Closed filipef101 closed 1 year ago

filipef101 commented 1 year ago

Describe the idea or improvement Autogenerate device configs from metadata

Describe the solution you'd like Would it be possible to autogenerate configs from metadata or is there some limitation? I would imagine a list of actions, methods, property, propmonitor, let the user select what to enable

Additional context I'm noticing that mantaining a config per device is a bit unmantainable(?) so this could be a friendly alternative

merdok commented 1 year ago

It is already being done automatically. The device specific files are not really needed, but some devices have special handling or different values for properties so this is more or less handled there.