Hi @Joe,
Hope everything is ok with you and your family in these crazy world pandemic we are going through.
Sorry to bother with what may be caused by incapacity of properly understanding MQTT and how to correctly use your fantastic MQTT Connector plugin.
I have been working recently on trying to integrate z-wave devices that exist in Indigo with virtual devices that are automatically created in my Hubitat Elevation C-7 Hub (HE), by leveraging an MQTT App and Driver for Hubitat Elevation, created by user @kevin in the Hubitat Forums. Here is the link to it, in case you get curious: https://github.com/xAPPO/MQTT
Now, the MQTT App and Driver is capable of integrating devices both ways, meaning that it can publish devices created natively in HE into an MQTT Broker, to where other apps/systems/plugins can subscribe to in order to do it's stuff. It can also do it , the other way around, meaning the other system/app/plugin is responsible for the creation of topics which adhere to either the Homie or the Home Assistant schemas, where the App/Driver can get necessary info so it can automatically create virtual devices in HE.
I'm up to the point where I defined (a lot) of triggers in Indigo, that effectively create the topic structure adhering to the Homie Schema and Hubitat Elevation MQTT App/Driver can find the devices and it's capabilities and automatically create the needed virtual device counterpart in HE.
Now, the problem I'm facing is two-fold:
a) It's a LOT of triggers to create a single device, which I'm currently using as a proof of concept;
b) Once I'm satisfied with the results, I intend to integrate ALL of my current Indigo z-wave devices with HE, which would mean an absurd number of triggers if I do it the same way I've done for the proof of concept.
So I was hoping you are not too busy so you can point me in the right direction to make my triggers generic, as it's already hard to make sure everything goes into the right topic and I have only covered ONE z-wave device as I've done it... I can't shake the feeling that can't be right, because it's 30+ triggers for one device. There MUST be an easier/more efficient way of doing it.
I feel exhausted already as I have spent the whole day Yesterday trying to figure out the correct topic structure and I cannot believe I'm doing it the right way.
So, if you can, "Help me Obi Wan Kenobi, you are my only hope..."
Below are two screen grabs: a) of the topic structure and b) the incredible amount of triggers I have defined in order to have it in MQTT Explorer.
Thanks in Advance,
Cesar
a)
b)