Open Group "Camera" at event

Hello,
I need your help.
I have a motion detector (sensor) that outputs 1 and 0. Now I want the picture of my mjpeg surveillance camera to be displayed automatically when there is a move on the Frontpage like a Popup or a automatic switch to the camera tab.

Any Idee.

Beste Wishes.