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


  • 0

sendPhotoToUser


Question

Posted

I'm using this command for sending photo to e-mail

This works fine.

fibaro:call(91, "sendPhotoToUser", "2");

How to add the second cam number 178 to the the same e-mail

and how to adde a second user

something like this?

fibaro:call(91,178, "sendPhotoToUser", "2","3");

7 answers to this question

Recommended Posts

  • 0
Guest jrkalf
Posted
I'm using this command for sending photo to e-mail

This works fine.

fibaro:call(91, "sendPhotoToUser", "2");

How to add the second cam number 178 to the the same e-mail

and how to adde a second user

something like this?

fibaro:call(91,178, "sendPhotoToUser", "2","3");

I've sadly not been able to do so just as you want TANE. It seems that separate rules are needed, TANE.

Please login or register to see this code.

There'll be a fraction of time difference between them

Please login or register to see this image.

/emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

  • 0
Posted

Can you save sendPhoto to a variable for each camera, then concatenate them together to get one email of multiple images?

Just how I would try to do it.

  • 0
  • Inquirer
  • Posted

    @Jelle,

    thx

    The problem of separate is more e-mails for the same event.

    I have limited the number of e-mails but still to much when you have to send more then one.

    Please login or register to see this link.

    @Lockzi,

    I think this is not possible since you have to store images.

    • 0
    Posted

    Would be possible with small ftp and use script on raspberry example

    • 0
    Posted

    Can you better explain how to send images to ftp?

    thank you

    • 0
    Posted

    Normaly in you camera, you must have a link to capture picture, so you must get the picture with the link, then send by mail.

    Just do php script where you have;

    - get picture

    - select last picture

    - send picture by mail

    After, just but virtual device to call this php script.

    • 0
    Posted

    Hello,

    is the sendPhotoToUser function working still in v4 ?

    can't seem to make it work

    Please login or register to see this image.

    /emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Thanks

    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...