Emoncms event module

Hi there,

I installed emoncms Event module, and it works fine. I'm looking for this event: send me an alert if a given feed (i.e. production) is zero for at least 11 hours. How can I create this type of events?

Thanks!!! :)

JD's picture

Re: Emoncms event module

How about this:  sends an e-mail if variable "indoor temp" = 0 for more than 12 hours

 

Note that if indoor temp wiggles even once from 0, it will reset the 12 hour timer.  If you have an actual sensor connected (whose signal is bound to vary at least a little) you may want to use "less than 1" instead of "equal to 0".

 

hercules71035's picture

Re: Emoncms event module

Yeah! Great answer! I'll try it!

JD's picture

Re: Emoncms event module

Oh wait... there used to be a feature in Event called "Pre Mute" that confused me.  "Pre Mute" is what you want. What I proposed above will fire a message immediatly when the variable equals 0, then wait 12 hours before notifying you again.  The 12-hour setting is a "Post Mute".

Does anyone know if "Pre Mute" has re-appeared in the Event module version 8.5.x?  I am still on 8.4.0 and don't have it.

 

Paul Reed's picture

Re: Emoncms event module

...is zero...do you mean null??

If it is null (ie a feed which isn't being updated) try https://github.com/emoncms/notify

Paul

hercules71035's picture

Re: Emoncms event module

No paul, I want zero. I'm interested in monitoring if something goes wrong in production (i.e. Inverter is down) not if emontx works properly.

Paul Reed's picture

Re: Emoncms event module

Ah, in that case JD's solution appears sound, especially setting <1 instead of 0.
However, emoncms was never designed to be mission critical, so be wary of using it in a commercial environment.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.