Page 2 of 2

Re: Trigger only on changes

PostPosted: Mon Feb 17, 2020 10:48 am
by jay (support)
FlyingDiver wrote:
That's pretty sweet, Matt.


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.

Re: Trigger only on changes

PostPosted: Mon Feb 17, 2020 7:16 pm
by Mattias
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?

Re: Trigger only on changes

PostPosted: Mon Feb 17, 2020 7:23 pm
by FlyingDiver
Looks like you need to add c1 to that list. Whatever it is.

Re: Trigger only on changes

PostPosted: Mon Feb 17, 2020 7:39 pm
by matt (support)
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

PostPosted: Mon Feb 17, 2020 7:47 pm
by Mattias
I guess I don't fully follow how this works...:) I'll try it.

Re: Trigger only on changes

PostPosted: Wed Feb 19, 2020 1:14 pm
by Mattias
I’ve used it for a few days and it works great. Thanks!