Yeah, that's the primary reason why we allowed any plugin to add properties to any device. The GPM plugin is the plugin-agnostic way of managing those in a UI, but any plugin can also manage them for its own purposes. There might be some useful/interesting uses for this in conjunction with your Shims plugin (or any plugin that needs to "wrap" other Indigo devices) perhaps.FlyingDiver wrote:That's pretty sweet, Matt.
Trigger only on changes
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Trigger only on changes
Re: Trigger only on changes
I created global properties for two devices (MQTT connector and a shims device). The MQTT connector device I did 'sqlLoggerIgnoreStates: *' which blocks all incoming sql-logger, and for the Shims Device - 'sqlLoggerIgnoreStates: id, ts'', but it still updates the table even though there are no changes (except the suppressed ones). See the picture. Have I created the global properties wrong?
- Attachments
-
- Screen Shot 2020-02-17 at 7.39.17 PM.png (91.94 KiB) Viewed 1620 times
-
- Screen Shot 2020-02-17 at 8.02.54 PM.png (232.43 KiB) Viewed 1620 times
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger only on changes
Looks like you need to add c1 to that list. Whatever it is.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- matt (support)
- Site Admin
- Posts: 21542
- Joined: Mon Jan 27, 2003 1:17 pm
- Location: Texas
- Contact:
Re: Trigger only on changes
Do add c1. You might actually not need id and ts. Those are probably not really device states. Won't hurt to leave them though.
Re: Trigger only on changes
I guess I don't fully follow how this works...
I'll try it.
Re: Trigger only on changes
I’ve used it for a few days and it works great. Thanks!
