Author Topic: Download Error With {Picture(ID)}  (Read 5517 times)

Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Download Error With {Picture(ID)}
« on: April 29, 2013, 06:49:46 pm »
Hello

I just installed Vera Alerts, and it passes the "Hello World" test. I was able to detect motion on my Foscam camera via Vera Alerts as well! Last step was to try and attach a picture. When I entered "Hello World {Picture(57)}" into the Send Alert tab of Vera Alerts, I did get the text message, but not the attached picture. Instead, I got a "Download Error".

Did I use the correct syntax, or might something else be going on?

Thanks

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #1 on: April 29, 2013, 07:36:38 pm »
Probably sent the message over to Android properly.
The Vera Plugin captures the Photo right away ... It then sends the message via Google Cloud Messaging (GCM). But the photo is to big for GCM ... So the Android client fetches the photo directly. It needs your login info to do so ... The error message indicates it is having a problem fetching the message.

Can you verify you have specified your Vera Login credentials ... and passed the corrrect camera device ID.
If it still does not work ... can your turn on Debug tracing and send another {Photo(ID)} request.  Then send me the log file .. it's in the VeraAlerts directory on your SDCard.


Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Re: Download Error With {Picture(ID)}
« Reply #2 on: April 29, 2013, 08:28:20 pm »
Thank you for the feedback. I verified the credentials and they look good. I activated all of the checkboxes available for debug (picture, picture details, etc.) and I don't see any logfile at all in the /sdcard/veraalerts directory (the directory exists, but it's empty).

On a side note -- would VeraAlerts work in the context of two separate Veras? (I.e. a main home, and a vacation home).

Thanks
-Ted

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #3 on: April 29, 2013, 08:47:27 pm »
Quote
don't see any logfile at all in the /sdcard/veraalerts directory (the directory exists, but it's empty)
Bummer ... I need debug code to debug the debug code :(

Quote
On a side note -- would VeraAlerts work in the context of two separate Veras? (I.e. a main home, and a vacation home).
Works great ... You would use the Same VeraAlerts ID on both Veras. This is where the Aux Message would be useful. You could setup each Vera to append a message indicating which Vera was sending the message. Or it could change the color of each message differently for each Vera.

Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Re: Download Error With {Picture(ID)}
« Reply #4 on: April 30, 2013, 01:09:16 am »
Gotcha .. thanks for the scoop on multiple Vera usage. As for the pictures, is there a place on the Vera filesystem the picture is stored so I can check?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #5 on: April 30, 2013, 08:37:46 am »
I release another update last night ...
I need to get and see a debug trace so I can put my finger on the problem.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #6 on: April 30, 2013, 10:55:19 am »
Quote
As for the pictures, is there a place on the Vera filesystem the picture is stored so I can check?
There should be a Picturesfolder somewhere on the SDCard. That name may be platform specific.
I ask the Android system where to place the pictures ... that's why I can't answer this directly!
I create a directory call VeraAlerts there ... and deposit the pictures.

Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Re: Download Error With {Picture(ID)}
« Reply #7 on: April 30, 2013, 12:25:04 pm »
Hi Richard,

I installed the latest VeraAlert, and a logfile did show up. I am attaching it, but it does not seem there are any picture related events in the file. A little background, I first deleted the file in hopes of starting with a clean slate of "vomit" to send to you, but the logfile did not recreate itself as events happened. I then hit the "reset" button on the app, and that was enough to generate 2 log entries, but still no picture events as I was testing the messages. Lastly, I rebooted the phone, and that completes what you will see in the log file.

Just to be explicit, I have been trying to capture the camera images via "Send Alert" tab of the plugin.

Thanks
-Ted

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #8 on: April 30, 2013, 05:19:24 pm »
I have a new version ... 3.06

Do not POST the log file ... if remote ... it will have a password. Edit it ... and/or mail it to me personally.

Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Re: Download Error With {Picture(ID)}
« Reply #9 on: April 30, 2013, 07:59:12 pm »
Hi Richard -- you should have an email from me with the logfile.
Regards
-Ted

Offline ayasa

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Download Error With {Picture(ID)}
« Reply #10 on: May 09, 2013, 02:15:44 am »
I have same problem also, waiting for a fix... Thank you

Offline svaleb

  • Sr. Member
  • ****
  • Posts: 389
  • Karma: +7/-7
Re: Download Error With {Picture(ID)}
« Reply #11 on: June 05, 2013, 05:52:27 am »
Hi Richard
I dont get pictures aswell.
Looking forward to an update.
Regards
         CE

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9300
  • Karma: +697/-128
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #12 on: June 05, 2013, 08:02:16 am »
I am still looking for a log file on the Vera Side when you send an event with a {Picture(ID)} tag.

http://Your.Vera.IP.Address/cgi-bin/cmh/log.sh?Device=LuaUPnP

Do not post the log ... mail or PM me the log ... It will contain the password of your camera.

Offline tedp

  • Full Member
  • ***
  • Posts: 237
  • Karma: +2/-2
Re: Download Error With {Picture(ID)}
« Reply #13 on: June 07, 2013, 05:42:03 pm »
I am still looking for a log file on the Vera Side when you send an event with a {Picture(ID)} tag.

http://Your.Vera.IP.Address/cgi-bin/cmh/log.sh?Device=LuaUPnP

Do not post the log ... mail or PM me the log ... It will contain the password of your camera.

Hi Richard -- just want to confirm that you did get my latest logfile via email. Let me know if you need more data.
-Ted

Offline luissalvador

  • Sr. Newbie
  • *
  • Posts: 48
  • Karma: +0/-0
Re: Download Error With {Picture(ID)}
« Reply #14 on: August 02, 2013, 10:08:35 am »
I'm Also having the same problem. I sent you the Vera side logfile with with a text only alert and then a atempt to send a picture. On the android app I get "Download Error:" and "Problems Contacting Vera". The user, password and ID are all correct.