IpCamera: New IP Camera Binding

You were right, it was the “Notify Surveillance Centre” option that had become unticked. The camera I’m working on at the moment is a Hikvision DS-2CD2085FWD-I and upgrading it to V5.6.0 build 190507 seems to have reset a few configuration parameters. I’ve upgraded the firmware on it several times before and not had this issue.

I’ve also configured my rules to use Pushover instead of Telegram and this allows me to see the animated GIFs. It does look like only a single frame of an animated GIF is supported by Telegram, either in the binding or on the mobile/desktop client.

In case this helps anyone else my camera intrusion detection rule currently looks like this:

rule "Create front door camera GIF when front door camera intrusion detected"
when
    Item CameraFrontDoor_IntrusionAlarm changed from OFF to ON
then
    logInfo("Dev", "Front door camera intrusion detected, triggering camera GIF creation...")
    
    sendPushoverMessage(pushoverBuilder("Front door intrusion alarm triggered..."))

    CameraFrontDoor_CreateAnAnimatedGIF.sendCommand(ON)
end

rule "Send front door camera GIF via Telegram"
when
    Item CameraFrontDoor_CreateAnAnimatedGIF changed from ON to OFF
then
    
    sendPushoverMessage(pushoverBuilder("Sending GIF from front door").withAttachment("/etc/openhab2/html/tmpfs/ipcamera.gif"))
end

Thanks for all your help :slight_smile: