ble-mqtt-bridge
ble-mqtt-bridge copied to clipboard
Enhanced config file
Enhancement of #7.
For my setup is nice not only to communicate with the bridge via MAC addresses/handles/UUIDs but also with human-readable names/tags.
Through a couple of iterations this leads to a config file where you are able to add names to devices and define handles, UUIDs or alias characteristics for a handle. If a handle is defined but called via UUID or characteristic, the handle will be used for BLE communication because it is much faster than UUIDs.
However, if you don't want to use these options it's completly possible to ignore the additional configs and leave them out.
Hope you can include it in your base branch :)
Thanks a lot for this. I'll look at it in more depth soon. One thing I've noticed is that the configuration file is json - I think YAML is more readable and familiar. What do you think?
Sure, YAML is fine as well. I'm more used to JSON configs as I'm mostly developing in environments that support JSON configs natively, but feel free to update!
Whats the status of this implementation?
If you want to use a YAML config, then I can implement that to bring this PR through. I have would have some more local changes to send only one MQTT message so I would squash all these changes together.
Sorry, I actually have the working version here, I just need to push it. I'll do it when I'm back from my vacation next week.
Hey, hope you had a wonderful christmas time! Any update this? :)