Re: Setting 'Email' threshold notifications
Posted by AlfredC on
URL: http://liv-pi-forum.171.s1.nabble.com/Setting-Email-threshold-notifications-tp59p62.html
Yes, it's possible to edit the rules manually in the /home/pi/liv/livXMPP/livXMPP.config files.
For example you can have a rule saying
[co2]
alarm = more 800
however in order to receive email notifications, XMPP process should be running - which means email notifications only work if you configured Instant Messaging on LiV Pi.
LiV is designed to be controlled using Instant Messages: I was planning to have all configuration settings available via IM commands (e.g. turn off email alerts, editing email address to/from, etc...). Having all LiV configuration supported with IM commands will simplify the development of mobile apps (Android, iPhone) in the future.
That being said, now I am thinking that email notifications should work even if XMPP process is not running: I think it is worth creating a separate, independent process for sending email (both notifications and/or periodic reports). I can do that in the next release.