glossyio / traffic-monitor

Traffic Monitor built with edge ML for object detection and radar for speed monitoring
GNU General Public License v3.0
9 stars 1 forks source link

Request Traffic Monitor configuration file (for Node-RED) #27

Open glossyio opened 1 week ago

glossyio commented 1 week ago

Problem

Is your feature request related to a problem? Please describe. As a developer, it is hard to manage and create parameters, configuration, and variables for the Traffic Monitor. Presently, most variables are implemented within the UI, and it requires a lot of manual work with potential inconsistencies to develop.

As an implementer or tenant admin, it would be nice to have a single file where unattended changes may be made, for say backup/restore purposes.

In addition, a user has no consistent, single place to configure all their settings. Settings that could use it include:

Proposed Solution

Describe the solution you'd like I think a better solution would be to work completely off a single config file, similar to Frigate's Configuration.

This could be exclusive to Node-RED, since that's where most of the logic is based, and other applications have their own configuration.

Two options I can think of, not sure which is the best:

Alternative Solutions

Describe alternatives you've considered A completely custom solution might also be desirable, such as a YAML file that can be read/written to directly in Node-RED. These could read variables into global (or flow) context.

Additional Info

Additional context Add any other context or screenshots about the feature request here.

mhlmhl commented 1 week ago

The solution should support four more scenarios:

The goal of the ideas listed above is to shift more of the TM installation effort from custom on-site support to a scenario where much of the work is done centrally, in advance. This should reduce cost and make a difference when we are installing and supporting many units.

None of these ideas add significant new requirements to the original goal stated by this issue. They do reinforce the value that we get from capturing all the configuration parameters in one (or at least a small number of) places.

I do not suggest that these scenarios should be implemented with this issue. I just want to raise the future directions that we may want to go, and that are simplified by capturing all the configuration parameters in one place.