openeew / openeew-firmware

Firmware for an OpenEEW sensor.
Apache License 2.0
8 stars 8 forks source link

MQTT topic to dynamically adjust the STA/LTA threshold #3

Closed johnwalicki closed 3 years ago

johnwalicki commented 3 years ago

Add a MQTT topic to dynamically adjust the STA/LTA threshold. Some sensors in noisy environments might be too sensitive and might trigger lots of false positives. It will be important to remotely change the STA/LTA algorithm threshold to reduce the frequency of detection events.

The topic will be iot-2/cmd/threshold/fmt/json There will be a stringified json key/value pair passed as part of this topic. {"thresholdoverride" : double }

johnwalicki commented 3 years ago

Todos:

johnwalicki commented 3 years ago

Suggest that the stringified json key/value pair passed as part of this topic use some Case so its easier to read. {"ThresholdOverride" : double }

johnwalicki commented 3 years ago

This issue will be closed by https://github.com/openeew/openeew-firmware/commit/12b02e94b95cd7f31901f6b925d2c6f6f601c4a5

johnwalicki commented 3 years ago

Closed by https://github.com/openeew/openeew-firmware/pull/25