Git Product home page Git Product logo

Comments (2)

trombastic avatar trombastic commented on May 22, 2024

Dear Paul,

Let's assume the following settings for a Event:
Fixed limit: 20
Limit type: value is less than limit
hysteresis: 1
Because there is a hysteresis we have two events for every Event, one when the actual value is above our limit + hysteresis and one when the actual value is below our limit - hysteresis.

Now you can decide what should happen PyScada can send an eMail when the event occurs (value is above our limit + hysteresis) or when the value leaves the triggered state (value is below limit - hysteresis), record and send mail will send a mail in both cases, record and send mail only when event occurs will only send an eMail in the first case.

The last option you have is the level, the selection here will only change the subject text of the eMail that is send by adding the appropriate word. If you setup an Event PyScada will generate an eMail and send it to all selected recipients, when the Event is triggered. At the moment there is no way of changing the Text (e.g. with a Template) for that eMail.

The Mail section in admin is just for administration to see how many an which kind of eMails have been send by pyscada.

If sending eMails with your own template is crucial for you, you can ether hack it under pyscada.models.Event -->compose_mail, or write a script for the scripting plug-in.

from pyscada.

paulalting avatar paulalting commented on May 22, 2024

Hi Martin,
Thank you for the explanation, that makes better sense to me now.
It would be good to add this into the documentation.

from pyscada.

Related Issues (20)

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.