neilenns / node-deepstackai-trigger

Detects motion using Deepstack AI and calls registered triggers based on trigger rules.
MIT License
167 stars 28 forks source link

That the properties of a trigger can be changed via MQTT #415

Closed jbolanosg closed 3 years ago

jbolanosg commented 3 years ago

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.

neilenns commented 3 years ago

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?

neilenns commented 3 years ago

Closing old issues.