Giter VIP home page Giter VIP logo

personalfme's Issues

External program calls should also be possible *after* storing the audio file

Right now it is only possible to call external programs directly after the alarm, however not after the audo file storing the alarm message has been created.

It would be useful to implement this feature as well for full flexibility. It has been requested by a user (09.02.2018) who is fixing this by changes in the source code right now.

Reimplement email sending to support modern servers

Problem

Many email servers require today TLS 1.3, this is not supported by PersonalFME right now.

PersonalFME is using the poco library for email sending. This library has a long history of serious bugs when using SChannel on Windows. There is basically only one version of poco that works for PersonalFME, and therefore we are pinning the software to this version. This old poco version is not suitable for modern mail servers, as they require TLS 1.3.

This is, for example, reported by #5.

Actions

The poco library cannot be used anymore for mail sending. Using another C++ library for that is a pain, and these libraries might not be future-proof as well. The mail sending code will therefore be moved to Rust, this means integrating Rust code for the first time into PersonalFME. The Rust package management is very easy to use and will in general speed up the development of PersonalFME a lot.

Simplify unit tests

There should only be the following labels for the unit tests

Label Purpose Comments
default all tests runnable without any precondition
with_audio all tests requiring an audio card
realtime_with_audio real-time detection tests using real audio requires the executable CoreTester

All tests should succeed

The brute-force real-time and non-real-time tests are, on purpose, testing down to very slow signal-to-noise ratios. Detections failing below an appropriate threshold should not be reported as a test failure. If the algorithm detects everything down to this threshold, the overall test should pass.

Remove dependency to Octave software

A number of tests, even standard tests (for filtering), are running the free MATLAB® implementation Octave. This makes these tests difficult to run because Octave including some packages must be present on the machine.

Solution:

It is possible to commit files containing the reference data which can be directly read in the tests. These files should in the future be created by Python code (only on demand and the committed).

Implement a terminal command to test the alarm calls

It would be useful to have a terminal command that is testing the alarm calls (i.e. the mail, SMS-sending, ...) in a dry-run without triggering alarms via an audio device.

This functionality should be able to assume any timepoint in order to test also special situations.

This is a user request via mail from 13.04.2018.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.