Event not working, please help me

Hi

my module event is not working, all test mails are ok, but the triggered one are not send

I found some post about Last true: 1970-1-1 01:00:00, i see also this date/time.

I tried to fix it, but no effort.

Please help me, thx

tomrossi's picture

Re: Event not working, please help me

Can no one help me, i need this function

I am not an expert and need support, please

JD's picture

Re: Event not working, please help me

We're going to need more info!  Can you list what you are trying to do?  Can you post a screen shot of your event window?  

The Event module works for others, so we just need to figure out what's up with your specific installation.

tomrossi's picture

Re: Event not working, please help me

I monitor some temperatures with 1-wire sensors and monitor my heating pumps (on/off) over the grids.In Emoncms the input, feed and dasboard are fine. Afterwards I installed also the event module, but it was from the beginning not triggered, the test email function works fine.

 

 

Bruno's picture

Re: Event not working, please help me

Hi!

My Event module isn't working too, but my problem is worst because all conditions are FALSE when should be TRUE (I choosed conditions that had to be TRUE). When I click in Event Settings I got this page with an error (event settings.jpg)

I don't know if this is directly related to the problem, but when I click Update & Check I got this blank page (no update.jpg)

JD's picture

Re: Event not working, please help me

tomrossi:  Try changing your mute time to something other than 0 seconds.  I have had problems with events that have "no mute" (0 seconds).  

 

Bruno:  I also have the problem where conditions are displayed as FALSE when actually they are TRUE.  However, the event works as expected so I just ignore the labels.  However, your e-mail settings error is not normal.  I don't have any ideas for you, never seen that one before.

Here is my event window:

event window working

Bruno's picture

Re: Event not working, please help me

I've attached my events page. Also when I click in Test nothing happens.

JD's picture

Re: Event not working, please help me

Bruno:  if you don't have results when you click "Test", then you have an e-mail setup problem.  Maybe this will help? http://stackoverflow.com/questions/20872597/call-to-undefined-function-mcrypt-decrypt-even-when-php5-mcrypt-installed

Bruno's picture

Re: Event not working, please help me

Thank you JD, but that didn't solved my problem. The problem probably is related with that update&check blank page :/

 

Edit: Is it necessary to configure something in the event_settings_view.php to the module work?

I oppened the event_settings in the database and it's empty...

XaroRSA's picture

Re: Event not working, please help me

Did you set the SMTP server....?

Bruno's picture

Re: Event not working, please help me

I didn't. It wasn't in the guide :/

XaroRSA's picture

Re: Event not working, please help me

Yeah its not going to work unless u set up the SMTP server. Do you have gmail / hotmail or private domain email?

Bruno's picture

Re: Event not working, please help me

It's gmail but with private domain. Where do I set up the SMTP server?

XaroRSA's picture

Re: Event not working, please help me

http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm

Place setting into the event setting tabs.

Send beer once it works

Bruno's picture

Re: Event not working, please help me

Are you talking about tabs in the Event Settings page? I don't have them.

XaroRSA's picture

Re: Event not working, please help me

O right, well ok lets see, are u on linux or windows? If windows, are u using WAMP, LAMP or what to run the server?

Bruno's picture

Re: Event not working, please help me

I'm on linux (ubuntu 14.04).

XaroRSA's picture

Re: Event not working, please help me

Bruno's picture

Re: Event not working, please help me

That worked!!

Many thanks XaroRSA!! :D  *sending beer* :D

 

 

digix's picture

Re: Event not working, please help me

My event works great for "more than" and "less than".

The problem is with "inactive" , works with test button but not in real condition...

If i stop to transmit data to the input, after 24h (how can i change that ?)  feed is marked as inactive, mail is comming ONLY when transmission is restarted to the input and  "last true" is updated.

Ubuntu 14.04 LTS Emoncms version: 8.4.0

Help !

 

 

 

 

 

JD's picture

Re: Event not working, please help me

This is true for me as well:  the "inactive" notification comes when the feed resumes, no matter how long it was inactive before that.

XaroRSA's picture

Re: Event not working, please help me

This inactive problem is hard to solve, since the server runs on PHP, and it doesn't 'monitor' the feeds. It only checks the feeds conditions on the next update. 

I think the only way to fix this is to set a cron job on your server that will run a script each x minutes / hours to check the condition of you feed.

Comment viewing options

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