Emoncms Event module

Hi @ll.

I've tried to install the event module today, because that's the only thing that is missing at the moment from the perferct system ;)

It adds the event, but it does not send an email, as outlined in this post :http://openenergymonitor.org/emon/node/1299#comment-7644

Could someone php-savvy have a look, and perhaps try to bring that module to life ?

Thx,

TBP

elyobelyob's picture

Re: Emoncms Event module

As far as I am aware, Trystan "got as far as creating the functionality to create events" .. I was looking at creating a new alert type where it will call an external URL on any update. However, as the module is just a shell, I came to a grinding halt.I too would find this very useful.

kisskovi's picture

Re: Emoncms Event module

Hi,
i'm also looking for it! It would be very precious, or even life/property saver.
Just thinking of: im getting an email to my phone when room temperature is above 50C so i should head home or call someone (family,neighbor/firefighters/etc.) to look after.

 

elyobelyob's picture

Re: Emoncms Event module

Been working on this .. not got email working as yet .. not sure how Trystan planned this .. which SMTP server would be used, for example .. 

I also can't see how inactive will work .. as I am working on the system notifying when a live value comes through. The 'inactive' message is triggered with a check of a value .. inactive would need a cron job running to check every minute or so ..

If anyone is happy to delve about with the code, then you can see my changes here ..  https://github.com/elyobelyob/emoncms.git & https://github.com/elyobelyob/event .. it requires a change to the core emoncms code .. so really requires someone with write permissions of emoncms etc to review and see whether they are happy with the changes. Anyway, it's nearly there and I'm more than happy with the cURL option that I've built into it.

Nick

fluppie007's picture

Re: Emoncms Event module

Very cool that you're busy bringing this module to life!! What I've found about sending e-mails with PHP:
http://php.net/manual/en/function.mail.php and http://www.w3schools.com/php/php_mail.asp

http://email.about.com/od/emailprogrammingtips/qt/How-To-Validate-Email-Addresses-In-A-Php-Script.htm

But you probably already know about these pages?

elyobelyob's picture

Re: Emoncms Event module

Yeah, it's more a case of filling in the required variables e.g. SMTP server, username & password,  HTTPS & Authentication etc ... I presume that these will be core details across the project and not event specific .. I'm not fussed about email alerts, and am looking at prowl messages direct to the mobile for instantaneous alerts e.g. using pushingbox.com ...

elyobelyob's picture

Re: Emoncms Event module

Well, will be spending more time on it .. and am not sure why it's not working with my incoming nodes at moment on my live machine .. it works on my localhost, but perhaps have to make changes elsewhere as well, all about testing at the moment ..

elyobelyob's picture

Re: Emoncms Event module

Oh, we moved to direct database integration .. will have to take a look at the *_run.php cron jobs .. and integrate into there as well ... will try and get a chance this weekend ...

elyobelyob's picture

Re: Emoncms Event module

Nope, needed to install php5-curl on my raspberry pi .. was running fine all the time :) Am receiving curl messages now .. not  about to do the set_feed or email actions myself and hopefully someone else may want to take the reigns on that .. a lot of the work has been done.

elyobelyob's picture

Re: Emoncms Event module

Well, just started working on email .. however >> "Trystan ..  I'm not getting a lot of feedback from you .. you about?!"

I don't want to spend my time on this if he is already on it, or thinks I am taking the wrong direction .. I have tried contacting via Google Talk and email .. but am not getting a lot of response ..

Would be useful to get some feedback ..

elyobelyob's picture

Re: Emoncms Event module

Have added in a 'mute' facility, so you can put in a quiet period so you won't get too many alerts. You can put in no mute, a minute delay, 10 minutes, 30 minutes, an hour, a day etc ... easy enough to add more in the html if required.

Just to remind, none of this is on the emoncms build or official event module. You won't get anything if you try and update ..

elyobelyob's picture

Re: Emoncms Event module

Currently adding native twitter and prowl scripts. Should have ready tomorrow. Merry Xmas!

fluppie007's picture

Re: Emoncms Event module

Howly F! You're developing like a high speed train :-). Very excited to go out testing when it's done!!

fluppie007's picture

Re: Emoncms Event module

Hi Elyob, is there already a update? I would like to try out your newly developed code :-).

elyobelyob's picture

Re: Emoncms Event module

Oops, left my laptop at my parents, so taking and enforced break! Also talking to Trystan, will give an update in New Year. Hopefully with a core module.

fluppie007's picture

Re: Emoncms Event module

That's awesome, already looking forward to it!

fluppie007's picture

Re: Emoncms Event module

I saw you did some updates to GitHub. Is it worth trying the code? Or still not easy to implement in a existing installation of emonCMS?

elyobelyob's picture

Re: Emoncms Event module

The module won't go with an existing emonCMS at present. It requires changes to the core.

Been chatting with Trystan online just now. Have given him collaborator access to my repo .. there's a few core changes we want to make. I am also investigating why my events aren't triggering on raspi updates .. so, I'd wait a bit longer I'm afraid .. Once it's stable we'll let you all know, I'm sure ...

fluppie007's picture

Re: Emoncms Event module

Cool, this really is a big step forward! Next step could be commanding a wireless sensor node (relay board or something) with these event triggers. So we could control stuff like a circulation pump, heater, lights, alarm etc. I think 2013 is going to be a awesome year for emonCMS!!

Thanks for all your effort so far!

elyobelyob's picture

Re: Emoncms Event module

<Drum roll> OK, the event module has been launched and merged into https://github.com/emoncms/event ... It's beta to allow you all to test. Basically, I only built the email function to work with gmail, so if you want to use something else you may need to mess with the code. So, set your email to port 465 (SSL) and smtp.gmail.com ...

You will need to have php5-mcrypt installed as the email password is hashed before storing. Oh and curl. Install that.

Update the core emoncms as well, as that has had some changes to get this to work.

So, hope it meets your needs. Enjoy!

TheBluProject's picture

Re: Emoncms Event module

@Nick

Great job mate, that's what's been seriously missing from the emoncms. Any future plans to add a native pushover support, perhaps ? :) 

kisskovi's picture

Re: Emoncms Event module

Hi,

thanks, its definitely a must have module!

copy over i got this error :

Fatal error: Call to undefined function get_user_salt() in /home/public_html/Modules/event/event_settings_view.php on line 20

what can it be? missing some lib in server?

 

kisskovi's picture

Re: Emoncms Event module

.

Marquis27's picture

Re: Emoncms Event module

I had the same error. I had to reinstall the core. 

TrystanLea's picture

Re: Emoncms Event module

yes the function get_user_salt is a new addition to the user module. If you installed emoncms with github you can run:

$ git pull origin master

In the emoncms directory

kisskovi's picture

Re: Emoncms Event module

Thanks! This error is gone now, settings is working, but can't add new event...
db check says: all ok

 

elyobelyob's picture

Re: Emoncms Event module

Make sure you have latest event module, as I had left a small test code in there .... however, the front end of this (which I inherited and won't be touching) has JS which only really works on certain browsers. So, try FireFox to add/remove etc events ..

The increase/decrease check is a little heavy on teh database, so try not to add many of those. Will be looking to improve it later.

elyobelyob's picture

Re: Emoncms Event module

@TheBluProject .. r.e. pushover .. that should be really easy to add .. use the CURL method as in case 2 in event_model ...

kisskovi's picture

Re: Emoncms Event module

aha.. that's it:  firefox works, chrome not
now time to send out some emails...

i'm mainly using just trigger values for temp, humi etc.  polled every 15 mins, haven't tried inc/dec yet, but thanks for the warning :-)
 

elyobelyob's picture

Re: Emoncms Event module

I only really built email for gmail ... so hope that's okay :) Personally, I use prowl on my iphone for all my alerts. Only issue I have is that each call uses CURL and waits for a response. So, getting my events in the correct order is key for me. I would prefer to have some method of multi-tasking this. Some of my usage is security, so instant messages are preferable.

johny5_uk's picture

Re: Emoncms Event module

Hi, just having a look at the events module, all seems to have installed ok and I was planning to try out prowl but im not getting any notifications.

I get true statements in the events list and have also entered my prowl api key but nothing comes through.

Any pointers for me to check if I have missed something? I have emoncms running on the pi.

many thanks

David

Paul Reed's picture

Re: Emoncms Event module

Hi David, I don't believe that the events module is working with the current version of emoncms, having posted about it myself recently and also having contacted the openenergymonitor team.
They are aware of the problem and hope to resolve the issues shortly.

P.S. are you using an app to receive the push messages, if so which one.

Paul

johny5_uk's picture

Re: Emoncms Event module

Hi Paul, thanks for the update, I purchased the official Prowl app on the iPhone and also have growl installed on a mac at home.

 

Paul Reed's picture

Re: Emoncms Event module

I was considering changing the code slightly (when it's working again) to use the Boxcar app - as I already use it for other alerts, but having looked at the event module code I may wimp out and buy the Prowl: Growl client instead!

Paul

modenet's picture

Re: Emoncms Event module

hi, I started using event module yesterday; I could send email with no problem. after I installed other modules, such as Notify and I noted  that when I pushed on test button on Event module, I receive an error's email  from Notify.

Today I corrected the problem with Notify but now I don't receive any more email from Event; even test email; I can receive only update on NMA.

I tried to write again settings but is did not resolve. I tried also to download again the project.

Paul Reed's picture

Re: Emoncms Event module

Got to say I was a little surprised to see the introduction of 'Notify', especially because the 'event' module has this function already built in, and which has much greater flexibility re inactivity timings and methods of alerting - email, push, prowl etc.
IMHO the 'event' module is a much neater and flexible solution for stand alone systems, and which works efficiently (pre Timestore).

Paul 

mharizanov's picture

Re: Emoncms Event module

'Notify' isn't bad idea because it works globally, i.e. I don't have to set 45 events in my case. I only wish the 2 hours weren't hard coded, but I understand the rationale behind that decision

Paul Reed's picture

Re: Emoncms Event module

I can see see the reason why it was developed Martin, but wouldn't it have been more desirable to add the function into the event module?

Something like a tickbox to activate, and a drop down menu to select the alert period in say 15 minute intervals, leading up to 2hrs max. Cron could then run every 15 minutes to flag dead feeds. The advantage to this IMO is that all alerts would be contained in one module/menu, and the actual email/push/prowl options are already in there. 

Paul

modenet's picture

Re: Emoncms Event module

there is no one who can not send email through event module?

teo770's picture

Re: Emoncms Event module

Would it be possible to add an "Exec script" event ? So we can fire a shell/php/py script ...

IF node18_temp > 20, exec_script "shutdown_heater"        ;)

Teo

 

 

Mattia Rossi's picture

Re: Emoncms Event module

Hi, it is already possible to call an url, that is pretty much the equivalent than executing a shell script.

Just have the event module call a script like /custom/my.php inside which you execute whatever shell script you need using the 'system' function

teo770's picture

Re: Emoncms Event module

Tried the system or exec function.... nothing.
It can't fire my test.sh script, but it can execute simple commands like ls...

Something with php's safe mode ?

Thanks madmatt

Mattia Rossi's picture

Re: Emoncms Event module

Can you run your script from the shell?

Are you using the full path to the script?

Is the script executable by all users, or is it owned by the user under which apache runs (www-data in raspbian) ?

Is the script doing something that requires root or that runs other commands and assumes a particular path? 

Did you try with a simpke script that echoes to a file in /tmp/ to check what part of the run is failing?

teo770's picture

Re: Emoncms Event module

Script placed in var/www/emoncms, executable by all, is just doing some:

echo 'RLY21' >/dev/ttyUSB0

Script is doing OK when run from shell.
Owned by pi or by www-data, no change

Mattia Rossi's picture

Re: Emoncms Event module

Put it in /var/www/scripts/ and change the url accordingly.
I believe emoncns has some rewrite rules in place to forward everything to index.php

guntisl's picture

Re: Emoncms Event module

Maybe someone else has problems to install the event module ! ?
I follow the simple instructions :
sudo apt- get update
sudo apt- get install php5 - Mcrypt php5 - curl
cd / var / www / emoncms / Modules
sudo git clone https://github.com/emoncms/event.git

Installation was successful, even appeared on the EXTRA menu Event button , but when I  stamped on a button , a blank page appears . When using Crome browser show statement .

server error

Reload Less
The website encountered an error while Retrieving http://192.168.88.224/emoncms/event . It May be down for maintenance or configured incorrectly .
Error code: 500

Maybe someone can  observe something wrong on the installation screens :
pi @ raspberrypi ~ $ sudo su
root @ raspberrypi :/ home / pi # sudo apt- get update
http://mirrordirector.raspbian.org wheezy InRelease [14.9 kB]">Get 1 http://mirrordirector.raspbian.org wheezy InRelease [ 14.9 kB ]
http://archive.raspberrypi.org wheezy InRelease [7,752 B]">Get 2 http://archive.raspberrypi.org wheezy InRelease [ 7,752 B]
http://archive.raspberrypi.org wheezy/main armhf Packages [7,412 B]">Get 3 http://archive.raspberrypi.org wheezy / main armhf Packages [ 7.412 B]
http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,413 kB]">Get 4 http://mirrordirector.raspbian.org wheezy / main armhf Packages [ 7.413 kB ]
http://archive.raspberrypi.org wheezy/main Translation-en_GB">Ign http://archive.raspberrypi.org wheezy / main Translation - en_GB
http://archive.raspberrypi.org wheezy/main Translation-en">Ign http://archive.raspberrypi.org wheezy / main Translation -en
http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.2 kB]">Get : 5 http://mirrordirector.raspbian.org wheezy / contrib armhf Packages [ 23.2 kB ]
http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [48.0 kB]">Get : 6 http://mirrordirector.raspbian.org wheezy / non -free armhf Packages [ 48.0 kB ]
http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [569 B]">Get : 7 http://mirrordirector.raspbian.org wheezy / worms armhf Packages [ 569 B]
http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / contrib Translation - en_GB
http://mirrordirector.raspbian.org wheezy/contrib Translation-en">Ign http://mirrordirector.raspbian.org wheezy / contrib Translation -en
http://mirrordirector.raspbian.org wheezy/main Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / main Translation - en_GB
http://mirrordirector.raspbian.org wheezy/main Translation-en">Ign http://mirrordirector.raspbian.org wheezy / main Translation -en
http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / non -free Translation - en_GB
http://mirrordirector.raspbian.org wheezy/non-free Translation-en">Ign http://mirrordirector.raspbian.org wheezy / non -free Translation -en
http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / worms Translation - en_GB
http://mirrordirector.raspbian.org wheezy/rpi Translation-en">Ign http://mirrordirector.raspbian.org wheezy / worms Translation -en
Fetched 7.515 kB in 1min 10s (106 kB / s)
Reading package lists ... Done
root @ raspberrypi :/ home / pi # sudo apt- get install php5 - Mcrypt php5 - curl
Reading package lists ... Done
Building Dependency Tree
Reading state information ... Done
Following the extra packages will be installed :
  
libapache2 - mod - php5 libmcrypt4 php5 - cli php5 -common php5 - mysql
Suggested packages :
  
libmcrypt - dev Mcrypt
The Following NEW packages will be installed :
  
libmcrypt4 php5 - curl php5 - Mcrypt
Following the packages will be upgraded :
  
libapache2 - mod - php5 php5 - cli php5 -common php5 - mysql
4 upgraded , 3 newly installed , 0 to remove and 220 not upgraded .
Need to get 5,646 kB of archives .
After this operation , 379 kB of additional disk space will be used .
Do you want to Continue [ Y / n] ? y
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-cli armhf 5.4.4-14+deb7u4 [2,431 kB]">Get 1 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - cli armhf 5.4.4-14 + deb7u4 [ 2.431 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-mysql armhf 5.4.4-14+deb7u4 [68.8 kB]">Get 2 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - mysql 5.4.4-14 + armhf deb7u4 [ 68.8 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapache2-mod-php5 armhf 5.4.4-14+deb7u4 [2,443 kB]">Get 3 http://mirrordirector.raspbian.org/raspbian/ wheezy / main libapache2 - mod - php5 5.4.4-14 + armhf deb7u4 [ 2,443 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-common armhf 5.4.4-14+deb7u4 [585 kB]">Get 4 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 -common 5.4.4-14 + armhf deb7u4 [ 585 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-curl armhf 5.4.4-14+deb7u4 [27.1 kB]">Get : 5 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - curl armhf + deb7u4 5.4.4-14 [ 27.1 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmcrypt4 armhf 2.5.8-3.1 [77.0 kB]">Get : 6 http://mirrordirector.raspbian.org/raspbian/ wheezy / main libmcrypt4 armhf 2.5.8-3.1 [ 77.0 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-mcrypt armhf 5.4.4-14+deb7u4 [14.0 kB]">Get : 7 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - Mcrypt armhf + deb7u4 5.4.4-14 [ 14.0 kB ]
Fetched 5,646 kB in 12s ( 456 kB / s)
( Reading database ... 67742 files and directories currently installed . )
Preparing to replace php5 - cli 5.4.4-14 ( using ... / php5 - cli_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 - cli ...
Preparing to replace libapache2 - mod - php5 5.4.4-14 ( using ... / libapache2 - mod - php5_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement libapache2 - mod - php5 ...
Preparing to replace php5 - mysql 5.4.4-14 ( using ... / php5 - mysql_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 - mysql ...
Preparing to replace php5 -common 5.4.4-14 ( using ... / php5 - common_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 -common ...
Selecting Previously unselected package php5 - curl .
Unpacking php5 - curl ( from ... / php5 - curl_5.4.4 -14 + deb7u4_armhf.deb ) ...
Selecting Previously unselected package libmcrypt4 .
Unpacking libmcrypt4 ( from ... / libmcrypt4_2.5.8 - 3.1_armhf.deb ) ...
Selecting Previously unselected package php5 - Mcrypt .
Unpacking Mcrypt - php5 ( from ... / php5 - mcrypt_5.4.4 -14 + deb7u4_armhf.deb ) ...
Processing triggers for man- db ...
Setting up php5 -common ( 5.4.4-14 + deb7u4 ) ...
Setting up php5 - cli ( 5.4.4-14 + deb7u4 ) ...
Setting up libapache2 - mod - php5 ( 5.4.4-14 + deb7u4 ) ...
[....] Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using 127.0.1.1 for ServerName
. ok
Setting up php5 - mysql ( 5.4.4-14 + deb7u4 ) ...
Setting up php5 - curl ( 5.4.4-14 + deb7u4 ) ...

Creating config file / etc/php5/mods-available/curl.ini with new version
Setting up libmcrypt4 ( 2.5.8-3.1 ) ...
Setting up php5 - Mcrypt ( 5.4.4-14 + deb7u4 ) ...

Creating config file / etc/php5/mods-available/mcrypt.ini with new version
Processing triggers for libapache2 - mod - php5 ...
[....] Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using 127.0.1.1 for ServerName
. ok
root @ raspberrypi :/ home / pi # cd / var / www / emoncms / Modules
root @ raspberrypi :/ var / www / emoncms / Modules # sudo git clone https://github.com/emoncms/event.git
Cloning into ' event ' ...
remote : Counting objects : 548 , done .
remote : Compressing objects : 100 % ( 347/347 ) , done .
remote : Total 548 ( delta 206 ) , reused 536 ( delta 198 )
Receiving objects : 100 % ( 548/548 ) , 731.05 KiB | 250 KiB / s, done .
Resolving delta : 100 % ( 206/206 ) , done .
root @ raspberrypi :/ var / www / emoncms / Modules #

Maybe problem caused those rows:   that Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using 127.0.1.1 for ServerName

Thanx for this great project :)

elyobelyob's picture

Re: Emoncms Event module

Only thing I can think .. is mod_rewrite .. is that all setup ok?

Apart from that, should behave like any other module.

guntisl's picture

Re: Emoncms Event module

where can i see this mod_rewrite ?

teo770's picture

Re: Emoncms Event module

Still my php system/exec function issue in emoncms config...

My php script:

<?php
system("/var/www/scripts/test.sh");
?>

my shell script:

#!/bin/bash
echo 'RLY21' >/dev/ttyUSB0

 

Believe it or not, using apache2 http://IP/scripts/test.php => NOTHING
Starting a php server with php -S 0.0.0.0:8088 and query http://IP:8088/scripts/test.php => ALL IS OK

... i checked, emoncms is running php 5.4.4, so no more SAFE_mode and safe_mode_dir_exec..........
I can't see any blocking directive in php.ini or apache2.conf
 

teo770's picture

Re: Emoncms Event module

I just found !!!

First, to diagnose the problem, i activated errorlog in apache2.conf, easier to find out what's wrong !

In errorlog, got:
/var/www/scripts/test.sh: 2: /var/www/scripts/test.sh: cannot create /dev/ttyUSB0: Permission denied

So i did: chmod a+x /dev/ttyUSB0 and magic, it worked !

a+x is not ideal for a security manner so i'm now looking in which group to add www-data, 
i 1st tried dialout but it's not the good one.

So cool ! I can know drive my electric heaters based on temps from sensors.
Cool scenarios can be created.... ex: when room temp decrease of 5° in 5 minutes, you can bet the window
has been opened so shutdown the heater automaticaly if you forgot it.

Except.......

i create events like: if node_20_temp is more than 20, call url http://192.168.1.18/scripts/test.php
node_20_temp is reaching 28°.... nothing....  but when i click TEST button, it works.

How often event module is checking the condition ?
Because i don't see any crontab entry neither in www-data,pi or root.

teo770's picture

Re: Emoncms Event module

On the event line, "last true" seems weird too:

Last true: 1970-1-1 00:00:00

Paul Reed's picture

Re: Emoncms Event module

Theodore, that time relates to Unix time, which broadly speaking is the number of seconds that have passed since 00hrs 1st Jan 1970, see this converter.

So if the event module has never triggered, it will interpret the '0' as 1970-1-1 00:00:00

Try putting a zero in the online converter.

Paul

Mattia Rossi's picture

Re: Emoncms Event module

Teo, which version of emoncms are you running? It may be necessary to uncomment a couple of lines in feed_model.php if you're not running a current version ....

teo770's picture

Re: Emoncms Event module

Madmatt, i did the modification you posted there: http://openenergymonitor.org/emon/node/2448

And magic, events now work !

Paul, you're right, the events just get to work, now the last true log is correct:
Last true: 2013-9-8 20:51:04

2 problems solved at a time ! Thank you guys !
I'm runng emoncms v5 + rasp + events with some "funky v1" temp sensors from Martin Harizanov.

Last weirdness: the sensors brodcast their temp and battery value each 5 minutes, but the feeds seems
to get updates not on a regular basis. Sometimes 13 minutes, sometimes 78 minutes, sometimes 44 minutes.. etc

If the temperature submitted by the node is the same than the last logged temp, the feed isn't updated ?

Again, thank's to both of you for your help !

cbwonderboy's picture

Re: Emoncms Event module

Hi Guys,

Anyone able to get his module to work with 2-step verification enabled on their Gmail ?  Thanks

Paul Reed's picture

Re: Emoncms Event module

Yes, get a application specific password from your gmail account, instead of trying to use your gmail master password.

Paul

aniston's picture

Re: Emoncms Event module

For anyone still interested in the EVENT Module, http://openenergymonitor.org/emon/node/9984 this forum post has some more working information, especially the e-mail section.

..aniston

klausi0812's picture

Re: Emoncms Event module

Is it planned to add the EVENT module to the emoncms installation on the emoncms.org server, e.g. like the My Heatpump Extra was added just before? I could not find any information on this so far. It seems that the module can be added to local emoncms servers only.

I guess the EVENT module is a great feature that adds much value to OEM (at least email service is sufficient for now). It's very important to get informed about abnormal conditions (e.g. sensor node outages, etc.) without having an eye on the server day-by-day.

By the way, OEM is working very well - Great Job!

--klaus.

[3 duplicates of this post deleted. If your comment does not appear, please check to see if it is held for moderation. - RW]

Mandela's picture

Re: Emoncms Event module

Hello everyone

Any help from this error when i open Event settings Link

Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/html/emoncms/Modules/event/event_settings_view.php on line 24

Am using emonCMS 8.4.0

Thanks

Mandela

Comment viewing options

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