We have moved at community.getvera.com

Author Topic: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a  (Read 22704 times)

Offline Otje

  • Full Member
  • ***
  • Posts: 214
  • Karma: +6/-1
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #30 on: February 15, 2012, 04:58:21 pm »
i have a question also.
i got this plugin to work very fine but this was also the first time for me to create a device

i entered D_SND.xml in the device file entrybox, but I also added i_SND.xml in the impl_file entrybox.

I did not read in the instructions that I had to enter the I_SND.xml in the device creation as well.
Is that really necessary or not?

(it is working anyway but i was just wondering...)
VERA Plus, VERA 3 Lite , couple of PIR's, several switch units, wall mounted tablet, Sonos integration with TTS, Temperature sensors, Imperihome, Zwave LED bulbs

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #31 on: February 15, 2012, 05:18:52 pm »
AFAIK, it isn't necessary to enter I_*.xml - as long as the implementation file is declared within the D_*.xml file (which holds true for all my plugins).
« Last Edit: February 15, 2012, 05:20:44 pm by Ap15e »

Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #32 on: February 16, 2012, 02:16:21 am »
Uploading the files doesn't create the device, so you'll have to fill in an arbitrary device name and 'D_SND.xml' and press the 'Create device' button, then you'll have to restart the Lua engine several times. When the device is visible on the dashboard, press the tool icon to configure the SMTP variables, press SAVE and SND should be ready to use.

Hmm, that is exactly what I did, but I get no feedback from the 'Create device' button at all. It seems a dead button. Could the browser play a role here? I use Safari. I'll try FireFox tonight. Thanks for your answer.

Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #33 on: February 17, 2012, 04:07:06 am »
I've retried it with a different browser but with no success. Also I've tried to add a different plugin, the weather plugin, but I'm having the same problem. I therefore conclude that my problem isn't related to this plugin and I've started a new thread here: http://forum.micasaverde.com/index.php/topic,9519.0.html

Offline lolodomo

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #34 on: February 18, 2012, 08:28:19 am »
I installed and set up the plugin, then created a basic scene to test it.
First try => I received the mail immediately 8)
Then, I changed the SMTP user in plugin settings.
Second try => no mail received => ok, probably normal
Then, I restored the initial SMTP user.
Several tries => no mail received :(

Finally, I suppressed the device and created it again. I did several tries and I received mails everytime as expected.

Something strange with settings change ?
Of course, I have done lua reload at all steps.

PS: VeraLite UI5 1.5.254

Offline ninux

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #35 on: February 21, 2012, 03:59:15 am »
Hello

Could it be possible to use this plugin with smtp who as no authentification ?

Thank you
VeraLite, RFXCOM Lan, IPX800

Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #36 on: February 21, 2012, 04:10:31 am »
Regarding my post above: the issue has been fixed. Plugin creation in general doesn't work for me in general under Safari and FireFox under OS X 10.7.3. Using another macbook with OS X 10.7.2 the problem was solved. The plugin works fine now.

Ap15e: Thanks for your work.

@ninux: did you try to use it without username and password? What happened?

Offline therealabdo

  • Sr. Member
  • ****
  • Posts: 339
  • Karma: +1/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #37 on: February 21, 2012, 04:29:40 am »
Hello guys, I have succesfuly added the device and done everything, but unfortunately i couldn;t find where i have to add the variables!
the SMTP server and password. In the device i have created i am unable to fill the variables

as shown in the picture


Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #38 on: February 21, 2012, 04:47:14 am »
On the other tab "advanced" scroll way down.

Offline ninux

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #39 on: February 21, 2012, 06:01:08 am »
@ninux: did you try to use it without username and password? What happened?
I try without username and password and nothing happened, no mail and no error on LuaUPnP.log
VeraLite, RFXCOM Lan, IPX800

Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #40 on: February 21, 2012, 03:47:09 pm »
I can't test for you whether it works, all my SMTP servers have user/passwd.

An SMTP server without username and password is probably a private server on a local network isn't it? Couldn't you add a username and password to your server?

Offline ninux

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #41 on: February 23, 2012, 07:41:51 am »
It not my mail server, I use my ISP mail server.
VeraLite, RFXCOM Lan, IPX800

Offline apt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #42 on: February 23, 2012, 07:53:45 am »
Did you notice the discussion at the first page of this thread?

http://forum.micasaverde.com/index.php/topic,6656.msg41758.html#msg41758

Offline Kyle

  • Jr. Member
  • **
  • Posts: 87
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #43 on: March 03, 2012, 12:20:14 pm »
I've installed the plugin and have even setup my own SMTP server and can not get this to work. I've noticed in vera logs that I keep getting 550 invalid recipient any idea what i'm doing wrong?

Offline Johan

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: [_CODE_] SND - SMTP Notification Device (UPnP to SMTP bridge) V0.3a
« Reply #44 on: June 18, 2012, 01:15:44 pm »
EOL, unsupported.

Installation:

Usage:
  • luup.call_action( "urn:upnp-ap15e-com:serviceId:SND1", "SendMail", { subject = 'Message from Vera', body = 'How are you today?' }, 11 )
    replace 11 with the SND device ID.

History:
V0.2   fix for DeviceType (thanks to oTi@), UPnP parameters: subject, body
V0.3   update for UI5
V0.3a removed isSingle from static json file for compatibility with UI4

Remarks:
  • RFC 2821 requires all lines of the message body to end with CRLF.

Download:
https://docs.google.com/open?id=0Bz4omZm4gYcsNWM0MDc5MDQtMzI3OC00YjA3LThkMTUtYTlmNWVlMWY2YTg4

Where can I find the file to download? The download link doesn't work.

Thanks.