neilenns / node-deepstackai-trigger

Detects motion using Deepstack AI and calls registered triggers based on trigger rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

That the properties of a trigger can be changed via MQTT

jbolanosg opened this issue · comments

It would be very useful if in specific circumstances a trigger can be enabled or disabled or properties such as: cooldownTime, threshold and others can be changed. If the triggers are reinitialized, they start with the properties configured in the trigger.json.

It seems plausible to add something that would allow re-configuring existing triggers by sending a message to a topic like triggername/settings, but persisting those settings between launches of the Docker container would be a pretty major change and one I'm unlikely to tackle any time soon.

What's the scenario you're trying to accomplish?

Closing old issues.