homebridge-mqttthing
homebridge-mqttthing copied to clipboard
Template config?
Is there a way to do a "template" config, and then only send in a parameter for "name" and a part of the "topic" in order to don't have to repeat the full config when one has 10+ of the same device?
Not currently possible.
So to expand how I think this would work in my mind (as the homebridge config is becoming a bit unmanageable) -
- ZBName must be set - perhaps the filter on attribute
- Type must be common
- Subscribe to tele/tasmota_XXXXXX/ZBDevice/SENSOR for ZBReceived - Name would be extracted from Name
- tele/tasmota_XXXXXX/ZBDevice/SENSOR$.ZBReceived.+.Humidity Would load up a bunch of humidity sensors with name ZbReceived.+.Name and value from Humidity
- Maybe allow a list of ZBDevice to ignore in the case of manual overrides..