Just released 0.0.6 -
https://github.com/FlyingDiver/Indigo-M ... /tag/0.0.6Added a fancy new UI for parsing and matching topic components for a Trigger. Here's a screen clip:
- Screen Shot 2019-08-07 at 11.37.01 AM.png (52.85 KiB) Viewed 1045 times
It needs more instructions on the panel. It works like this. The topic string is broken into components using "/" as the delimiter. That seems to be the standard in the MQTT world. Then you build the matcher by adding a match type/string going for each component (left to right). So the example here will match "indigo/devices/*/update". Skip means it can be anything. I wonder if "Any" would be better?
Right now the only options for Match Type are "Match" and "Skip". I could add others like "Prefix" or "Numeric" or "RegEx". Suggestions welcome.
Unfortunately, there's no way to re-order the sections. So if you get them wrong you need to delete the wrong ones and add them back in. But it's really quick to do so.
I'm probably going to remove the existing RegEx trigger. It's just not useful. And the simple string one is easily replicated here, so that one might go too.