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

Videogate on TV


Guest imparator

Question

Guest imparator
Posted

Hi, i have a question to the experts

I want to create some scene to do this

1. When the doorbell rings,

2 take a snapshot from my ip cam .

3. If TV is on then switch to input example camera on the marantz sr5007 receiver

Where my dahua Dvr output is connected , so I can see the video on the screen

4 and after 20 sec's go back to hdmi 1

My equipment is :

Philips TV 58 pfl 9956 connected on network

Marantz Sr 5007 connected on network

Logitech harmony ultimate

Is this possible ?

11 answers to this question

Recommended Posts

  • 0
Posted

I would also be interested in such functionality...because the price for dedicated home entry systems from Helios is very high

I also have ip camera at my gate and want to put the stream on my TV if someone rings the bell

  • 0
Posted

I've done this, using a Raspberry Pi connected with HDMI to the tv.

When triggered, my IP cam motion detection stores an image on the Pi. The Pi senses this and triggers a scene on the HC2. The scene uses a lua virtual device that tells my Samsung tv to switch channel to the Pi, open the Tv channel in a picture-in-picture and then switch back after 15 seconds.

I also have a scene that every 10 minutes makes sure that the IP cam stream is active on the Pi.

It's a little complicated design but works like a charm.

/CQ1

  • 0
Posted

Or you can check to us xbmc.

  • 0
Posted
I've done this, using a Raspberry Pi connected with HDMI to the tv.

When triggered, my IP cam motion detection stores an image on the Pi. The Pi senses this and triggers a scene on the HC2. The scene uses a lua virtual device that tells my Samsung tv to switch channel to the Pi, open the Tv channel in a picture-in-picture and then switch back after 15 seconds.

I also have a scene that every 10 minutes makes sure that the IP cam stream is active on the Pi.

It's a little complicated design but works like a charm.

/CQ1

Can You make some tutorial for us?

Please login or register to see this image.

/emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

  • 0
Posted

Use Android mini pc, install IP cam viewer app and configure IP cam for live view.

Use global cache itach IR gateway as virtual device and run scene to switch to required HDMI port on TV when some one rings door bell. Even u can add 'Mute' command for Home treater.

Please login or register to see this link.

  • 0
Posted

Not a full tutorial, but at least some more details

Please login or register to see this image.

/emoticons/default_icon_wink.gif" alt=";-)" /> :

The Pi is attached to the back of the TV and connected with HDMI. It's running Raspbmc (XMBC for the Pi).

1) Controlling the tv

Here, Piotr's

Please login or register to see this link.

was exactly to the point for me (Samsung ES8005). I've created a Virtual Device for the tv with various buttons - XBMC (that will push KEY_HDMI and switch channel to the Pi), TV (switches back again) and a key sequence of KEY_HDMI, KEY_PIP and KEY_TV.

2) Triggering everything on movement

If you want to trigger from your doorbell, I'd recommend connecting a Universal Binary Sensor. I opted to go for movement detection using the built in functionality in my Vivotek IP 8332 network camera instead.

When the camera senses motion, it stores a snapshot on a share exposed by the Raspberry Pi (seen as NAS by the camera). On the Pi, I've installed Incron (

Please login or register to see this link.

) that is monitoring the file system for changes. When the snapshot JPG lands, Incron launches a shell script that runs the scene on HC2 that triggers the tv virtual device.

The shell script used to run a scene is just

Please login or register to see this code.

3) Making sure that the Pi is showing the IP camera

Since the Pi is sometimes used for other things, I have a HC2 scene that runs with 10 minutes interval opening the camera stream in the player. That scene triggers a Virtual Device (oh how I love those virtual devices!) that basically contains the code below in a button:

Please login or register to see this code.

Everything gets a little complicated when the camera can't (as far as I can tell) send a dírect HTTP call to HC2 when motion is detected, so that is why I have to use Incron.

Hope this helps you some.

Regards,

/CQ1

  • 0
Posted

CQ1,

You have very more easier than that with xbmc.

Just use my addon for xbmc and you vn have like 8 camera in xbmc, and only need to open 1 url with virtual device.

  • 0
Guest imparator
  • Inquirer
  • Posted

    Shad, can i you rstp in your script ?

    CQ1,

    You have very more easier than that with xbmc.

    Just use my addon for xbmc and you vn have like 8 camera in xbmc, and only need to open 1 url with virtual device.

    • 0
    Posted

    Yes rtsp work. But the script work with screenshot.

    • 0
    Guest imparator
  • Inquirer
  • Posted

    Shad , i cannot let it work , i get script error , every time.

    can you give me a example , with a rstp line please ?

    i use a raspberry pi with xbmc

    when i use this in virtual device it works ok , but it plays fullscreen,

    tcpSocket = Net.FTcpSocket("192.168.0.156", 9090)

    bytes, errorCode = tcpSocket:write('{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "file": "rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=1" } }, "id": 1 }')

    i want this in like your script , small screen below the film or music i play

    • 0
    Posted

    remove ":554"

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