IpCamera: New IP Camera Binding

Thanks, got it to work:

rule "send email when gif is ready - cam1"
when
    Item CamFrontdoor_CreateGif changed from ON to OFF
then
    logInfo("IP Cam frontdoor - GIF", "GIF ready and now sending email")
    val mailActions = getActions("mail","mail:smtp:myemail")
    mailActions.sendMail("myemail@mydomain.com", "Openhab IP-Cam frontdoor", "Openhab IP-Cam: ", "file:///tmpfs/camera/ipcamera.gif" )
end
1 Like