Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 1
jires

"sendPhotoToUser" command not working anymore

Question

Hi

I recently figured out that my scenes with sending picture to e-mail from a ip camera not working anymore. It stops working around November 2017, I think after update to 4.150 or 4.140.

Now running 4.170 on HC2 and command "sendPhotoToUser" not working.  Button with camera logo on the device which used to send a snapshot to mail, also doesn't work.

 

Has anyone else same issue?

 

Code which should send a picture looks like this:

Exactly the same code coming from  block scene, when I making new scene now and converting to lua.

 

Please login or register to see this code.

Camera's settings and plugins/for cameras wasn't changed since this worked.

 

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

There is a problem with notifications generally now...

Please wait with testing when FIBARO solve the issue with notifications.

BTW, I´m using sendPhoto and it is working for me (of course, not now :-)  due to the generally issue)
 

Share this post


Link to post
Share on other sites
  • 0
  • Inquirer
  • Is still not working. What interesting thing is that I have doorbird intercom connected also to HC2 via Onvif protocol and is working fine. Only Hikvision cameras has a problem..

    Share this post


    Link to post
    Share on other sites
    • 0
    On 5/28/2019 at 9:16 AM, jires said:

    Is still not working. What interesting thing is that I have doorbird intercom connected also to HC2 via Onvif protocol and is working fine. Only Hikvision cameras has a problem..

    How did you connect Camera/Intercome via Onvif??

    Share this post


    Link to post
    Share on other sites
    • 0

     

    My script sends two photos from different cameras by pressing the bell (UBS). Unfortunately, he sends two separate messages

    Cytat

    --[[
    %% properties
    264 value
    %% events
    %% globals
    --]]

    local startSource = fibaro:getSourceTrigger();
    if (
     ( tonumber(fibaro:getValue(264, "value")) > 0 )
    or
    startSource["type"] == "other"
    )
    then
        fibaro:call(262, "sendPhotoToUser", "2");
        fibaro:call(257, "sendPhotoToUser", "2");
    end

     

     

    Share this post


    Link to post
    Share on other sites
    • 0
  • Inquirer
  • On 6/5/2019 at 3:02 PM, Vt2 said:

    How did you connect Camera/Intercome via Onvif??

    In the simplest way :) 

    Add device -> ad camera-> choose camera model "other model"

    Fill up IP address, and user/password and jpeg path (for doorbird is: /bha-api/image.cgi )

     

    When Onvif capabilities on intercom are disabled, it will denied access for HC2.

     

    My Hikvision cameras are added in the same way, which obviously will not work with "sendPhotoToUser" command 

    Share this post


    Link to post
    Share on other sites
    • 0
  • Inquirer
  • 22 hours ago, raffsa said:

     

    My script sends two photos from different cameras by pressing the bell (UBS). Unfortunately, he sends two separate messages

     

     

    Which camera model/manufacturer do you have?

    Share this post


    Link to post
    Share on other sites
    • 0

     

    I have different cameras - noname. My DVR supports jpg and jpg and he gives me a picture for fibaro.

     

    Please login or register to see this image.

    /monthly_2019_06/kam.jpg.ea9f68f0971a9fb92785a152e9f0ddf4.jpg" alt="kam.jpg.ea9f68f0971a9fb92785a152e9f0ddf4.jpg" />

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


    ×
    ×
    • Create New...