Vera Alerts - Plugin Version 7.23

Hi Richard,

[update] I think I made a mess initially with addin a new profile in a half-ass way… After I cleaned out the value for “Profiles” (just leaving the initial “Vera-Alert-Mobil” profile in there) in the Advanced Settings of the Vera Alert device, there is no more LUA startup error.

[/update]

Thanks also from my side for the update - however, I have the same problem as described by drossmill06… After upgrading to 4.0, I get

VeraAlerts[16] : Startup Lua Failed

when restarting Vera Lite. When I try to e.g. send a test alert, I get the error message “Device not ready”… Any idea what this could be?

Thanks!

Please send me the output from your Vera LOG file during the time of your restart.

Problem is resolved, see my update above. Thanks again for all your great work on this plugin!!

Please send me detail on what you did to cause the problem … you can email me if you want … I would like to bullet proof this …

@RTS

Thanks. I’ll migrate the scene with triggers to PLEG and use PLEG to run the scene to stay clear of the first case. I’ll eliminate the dormant notifications for devices to avoid the second case.

@BrianLBeaton
The Vera Alerts just provided you with a way to see how the notification potential you already had in Vera. You do not need to eliminate all your scene’s and triggers.

A related issues is that these Scene Triggers are available to other Plugins as well. So if you move them to PLEG they are made invisible to these other plugins. I have a request to allow Data Mine to see when PLEG Triggers fire.

I try to add the USB stick but it still no video and same error…
how can a USB stick has relation with the video ? does it means that the recorded video is stored in USB stick and VeraAlert try to take this video ? ???

could you please help to point me on any topic about it… :slight_smile:

anyway, I try to search the IP Camera forum it seems that MCV still cannot support video archive… is it correct ?
I got the video but I cannot play it or download it in Vera.

thanks

Richard, SMTP-Mail not working, I am sure my settings including port and authentication are correct. Any clue? I don’t get an email nor a bonce, in the log I just see this (Vreo-mail is my SMTP profile):

08 12/04/13 11:51:06.147 JobHandler_LuaUPnP::HandleActionRequest device: 23 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x2e81f680> 08 12/04/13 11:51:06.147 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=23 <0x2e81f680> 08 12/04/13 11:51:06.147 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:richardgreen:serviceId:VeraAlert1 <0x2e81f680> 08 12/04/13 11:51:06.148 JobHandler_LuaUPnP::HandleActionRequest argument action=SendAlert <0x2e81f680> 08 12/04/13 11:51:06.148 JobHandler_LuaUPnP::HandleActionRequest argument Message=ASDFASDF <0x2e81f680> 08 12/04/13 11:51:06.148 JobHandler_LuaUPnP::HandleActionRequest argument Recipients=Vreo__ Vreo-Mail <0x2e81f680> 08 12/04/13 11:51:06.148 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.8814327728468925 <0x2e81f680> 50 12/04/13 11:51:06.151 luup_log:23: VeraAlert:23:SendAlert:Msg:ASDFASDF <0x2aeeb000> 50 12/04/13 11:51:06.151 luup_log:23: VeraAlert:23:ExpandRecipients:Checking:Vreo__ <0x2aeeb000> 50 12/04/13 11:51:06.152 luup_log:23: VeraAlert:23:ExpandRecipients:Adding Requested Profile <0x2aeeb000> 50 12/04/13 11:51:06.155 luup_log:23: VeraAlert:23:ExpandRecipients:Checking:Vreo-Mail <0x2aeeb000> 50 12/04/13 11:51:06.156 luup_log:23: VeraAlert:23:ExpandRecipients:Adding Requested Profile <0x2aeeb000> 50 12/04/13 11:51:06.156 luup_log:23: VeraAlert:23:SendAlert:Sending to:Vreo__ <0x2aeeb000> 50 12/04/13 11:51:06.157 luup_log:23: VeraAlert:23:VeraAlertsSend:url:http://veraalertsexchange.appspot.com/SendAlert?msg=%7Btimestamp%3A1386179466%7DASDFASDF&recipient=mqenjpxmvexo <0x2aeeb000> 50 12/04/13 11:51:09.684 luup_log:23: VeraAlert:23:VeraAlertsSend:Return:200 <0x2aeeb000> 50 12/04/13 11:51:09.685 luup_log:23: VeraAlert:23:SendAlert:Sending to:Vreo-Mail <0x2aeeb000> 06 12/04/13 11:51:09.829 Device_Variable::m_szValue_set device: 23 service: urn:richardgreen:serviceId:VeraAlert1 variable: LastRecipient was: Vreo-Mail now: Vreo__,Vreo-Mail #hooks: 0 upnp: 0 v:0xd2f598/NONE duplicate:0 <0x2aeeb000> 06 12/04/13 11:51:09.830 Device_Variable::m_szValue_set device: 23 service: urn:richardgreen:serviceId:VeraAlert1 variable: LastMsgSent was: 11:49:23 Wed Dec 04 now: 11:51:09 Wed Dec 04 #hooks: 0 upnp: 0 v:0xd30188/NONE duplicate:0 <0x2aeeb000> 04 12/04/13 11:51:09.831 <0x2aeeb000>

The purpose for the USB stick is to add more memory for Vera to work with.
In general Vera does not have much spare memory space.
If you add a memory stick and enable this in Setup then Logs

I place the snapped pictures in the same place as the log files …
That’s one of the few writable areas on Vera.
And if you use a USB stick this area usually has plenty of free space.

Vera Alerts does not use any MCV video archive.

@vreo
Turn on Debugging in the Settings page … then do another message.

This should work immediately without doing a reload.

I see Debug is on … I check my code … It does not send a message to the log unless that Mail server indicated an error.
So as far as it is concerned the mail was accepted.

Yes it is on, and although no error reported, I get no email, I tried hotmail, yahoo, gmail and my own server. I am trying to connect to port 587 which is not blocked by my isp neither by the firewall, the connection is directly from my network? Or does it go through another server that may be blocking that port?

If it did not connect you would get an error.

Any other clue why I shouldn’t get a message?

Other thing, in twilio, which is working incredibly, where should I put the voice if I want to change it?

Put in an illegal parameter (i.e. Host or Port) or toggle the SSL parameters … you should get an error.

Did you set the From Field ?
Did you check your spam folder ?

Richard,

I am indeed checking my spam folder an anything. Here is my log with an illegal parameter. Two messages, one with Authentication disabled when it has to be enabled and the other is an incorrect port that should refuse the connection:

50 12/04/13 12:45:52.057 luup_log:23: VeraAlert:23:VeraAlertsSend:Return:200 <0x2f7e1680> 06 12/04/13 12:45:52.058 Device_Variable::m_szValue_set device: 23 service: urn:richardgreen:serviceId:VeraAlert1 variable: LastMsgSent was: 12:44:55 Wed Dec 04 now: 12:45:52 Wed Dec 04 #hooks: 0 upnp: 0 v:0xce2f88/NONE duplicate:0 <0x2f7e1680> 08 12/04/13 12:46:03.964 JobHandler_LuaUPnP::HandleActionRequest device: 23 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x2f3e1680> 08 12/04/13 12:46:03.964 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=23 <0x2f3e1680> 08 12/04/13 12:46:03.965 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:richardgreen:serviceId:VeraAlert1 <0x2f3e1680> 08 12/04/13 12:46:03.965 JobHandler_LuaUPnP::HandleActionRequest argument action=SendAlert <0x2f3e1680> 08 12/04/13 12:46:03.965 JobHandler_LuaUPnP::HandleActionRequest argument Message=test with illegal parameter <0x2f3e1680> 08 12/04/13 12:46:03.965 JobHandler_LuaUPnP::HandleActionRequest argument Recipients=SMTP-Mail <0x2f3e1680> 08 12/04/13 12:46:03.965 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.5811561429873109 <0x2f3e1680> 50 12/04/13 12:46:03.968 luup_log:23: VeraAlert:23:SendAlert:Msg:test with illegal parameter <0x2acae000> 50 12/04/13 12:46:03.969 luup_log:23: VeraAlert:23:ExpandRecipients:Checking:SMTP-Mail <0x2acae000> 50 12/04/13 12:46:03.969 luup_log:23: VeraAlert:23:ExpandRecipients:Adding Requested Profile <0x2acae000> 50 12/04/13 12:46:03.970 luup_log:23: VeraAlert:23:SendAlert:Sending to:SMTP-Mail <0x2acae000> 08 12/04/13 12:46:06.839 JobHandler_LuaUPnP::HandleActionRequest device: 23 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x2f3e1680> 08 12/04/13 12:46:06.839 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=23 <0x2f3e1680> 08 12/04/13 12:46:06.839 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:richardgreen:serviceId:VeraAlert1 <0x2f3e1680> 08 12/04/13 12:46:06.840 JobHandler_LuaUPnP::HandleActionRequest argument action=SendAlert <0x2f3e1680> 08 12/04/13 12:46:06.840 JobHandler_LuaUPnP::HandleActionRequest argument Message=test with illegal parameter <0x2f3e1680> 08 12/04/13 12:46:06.840 JobHandler_LuaUPnP::HandleActionRequest argument Recipients=SMTP-Mail <0x2f3e1680> 08 12/04/13 12:46:06.840 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.5079960951115936 <0x2f3e1680>

If you have bad information it will ultimately time out:
This happened 1 minute later me:

50	12/04/13 12:57:10.186	luup_log:215: VeraAlert:215:ExpandRecipients:Checking:SMTP-Mail <0x2b189000>
50	12/04/13 12:57:10.187	luup_log:215: VeraAlert:215:ExpandRecipients:Adding Requested Profile <0x2b189000>
50	12/04/13 12:57:10.187	luup_log:215: VeraAlert:215:SendAlert:Sending to:SMTP-Mail <0x2b189000>

...

02	12/04/13 12:58:08.107	ZW_Send_Data node 66 USING ROUTE 65.0.0.0 <0x2bcbd680>
04	12/04/13 12:58:08.435	 <0x2b8bd680>
50	12/04/13 12:58:10.243	luup_log:215: VeraAlert:215:MailSend:timeout <0x2b189000>

With a bad password (but good connection info:

08	12/04/13 13:02:06.841	JobHandler_LuaUPnP::HandleActionRequest device: 215 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x2feea680>
08	12/04/13 13:02:06.841	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=215 <0x2feea680>
08	12/04/13 13:02:06.842	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:richardgreen:serviceId:VeraAlert1 <0x2feea680>
08	12/04/13 13:02:06.842	JobHandler_LuaUPnP::HandleActionRequest argument action=SendAlert <0x2feea680>
08	12/04/13 13:02:06.842	JobHandler_LuaUPnP::HandleActionRequest argument Message=Test <0x2feea680>
08	12/04/13 13:02:06.843	JobHandler_LuaUPnP::HandleActionRequest argument Recipients=SMTP-Mail <0x2feea680>
08	12/04/13 13:02:06.843	JobHandler_LuaUPnP::HandleActionRequest argument rand=0.7848708943929523 <0x2feea680>
50	12/04/13 13:02:06.854	luup_log:215: VeraAlert:215:SendAlert:Msg:Test <0x2b189000>
50	12/04/13 13:02:06.855	luup_log:215: VeraAlert:215:ExpandRecipients:Checking:SMTP-Mail <0x2b189000>
50	12/04/13 13:02:06.856	luup_log:215: VeraAlert:215:ExpandRecipients:Adding Requested Profile <0x2b189000>
50	12/04/13 13:02:06.856	luup_log:215: VeraAlert:215:SendAlert:Sending to:SMTP-Mail <0x2b189000>
02	12/04/13 13:02:08.007	ZW_Send_Data node 82 USING ROUTE 255.114.101.100 __LEAK__ this:36864 start:4673536 to 0x1c84000 <0x2bcbd680>
04	12/04/13 13:02:08.135	 <0x2b8bd680>
50	12/04/13 13:02:09.068	luup_log:215: VeraAlert:215:MailSend:535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 qh4sm409932obc.4 - gsmtp <0x2b189000>

Ok, I will recheck does logs, I am leaving right now, hope I can get back to you at night or tomorroy morning.

In a previous post I asked about Twilio if there was a way to change the voice?

@Vreo
There is a lot you can do with Twilio. I believe I saw that they support multiple voices.
Anyway you need to dig into their API. Then provide a URL with parameters on how to handle the request. That’s what the TwilioCustomURL in the Profile is for. I use a default URL that just announces the message. As I mention in my help file, you can have it do a whole lot more.

Thanks, I will dig into it, although I think it would be a lot more easier for a lot of us if you adapt it because I can see that in the default URL VeraAlerts is using, there is already the voice variable, but it sends an empty value. Maybe if you could just add the field in the form?

Regarding the SMTP-Mail problem, I do another test and I waited 15 minutes and I don’t have in the log about VeraAlert! I think something is not working on my side. Do you think I should delete and reinstall the Plugin??

Regards.