Jump to content
Zuhair

Navigation Agent is not jumping to a camera

Recommended Posts

I have EA-5 as the master controller and two EA-1s in the kitchen and living room.

I wrote the below script to turn ON the kitchen and living rooms TVs and display the main gate Hikvision camera to both TVs. It's working successfully with the kitchen TV, on the living room TV it just display C4 main menu without switching to the camera.

Troubleshooting we did with no luck:

  • Removed the Navigation Agent, rebooted EA-5, reinstalled the agent again.
  • Re-write the script as shown in the next screenshot.
  • Rebooted all controllers.
  • Rebooted the camera and the NVR.

 

1751307993_ScreenShot2019-08-10at3_54_16PM.thumb.png.1b073639e83762b43e06745dedece97a.png

 

1063309808_ScreenShot2019-08-10at4_04_45PM.thumb.png.f844582142a481a98dc61c8bafd1805c.png

Share this post


Link to post
Share on other sites

8 hours ago, msgreenf said:

Why are sending control4 commands to the TV?

Sent from my Pixel 3 using Tapatalk
 

@msgreenf

If I don’t send Control4 command to the TV, it won’t wake up if the TV was off.

Forgot to mention that both TVs can manually display the camera from the OSD.

 

The screenshot below is how Control4 recommend using this agent. I will add the Snapshot after making sure both TVs can display the camera.

Screen Shot 2019-08-10 at 6.11.21 PM.png

Share this post


Link to post
Share on other sites

For the Announcement on the outgoing call, you will want to take the snapshot and select Control4 *before* you execute the announcement.

 

A big note on the programming. Showing a camera for 30 seconds will not delay that entire code by 30 seconds. You will need to add a 30 second delay after to have it work right and expire after the duration.

Share this post


Link to post
Share on other sites
1 hour ago, Dunamivora said:

For the Announcement on the outgoing call, you will want to take the snapshot and select Control4 *before* you execute the announcement.

 

A big note on the programming. Showing a camera for 30 seconds will not delay that entire code by 30 seconds. You will need to add a 30 second delay after to have it work right and expire after the duration.

@Dunamivora

Below is my code, my problem is one of the TVs is not switching to the camera. When the doorbell is pressed:

Kitchen TV switch to the camera.

Living Room TV turns on and stays at the OSD main page. (when manually select the camera from the OSD it will work).

1825307595_ScreenShot2019-08-10at11_35_06PM.thumb.png.51cb4e2f3b2166ad40c98c05383818b4.png

 

 

884272294_ScreenShot2019-08-10at11_37_51PM.thumb.png.24398a3c13f616f3e28f50c60a60043b.png

 

 

528090347_ScreenShot2019-08-10at11_38_44PM.thumb.png.f12c38e4c5f63854f332aa2819d8642e.png

 

 

 

Share this post


Link to post
Share on other sites

To debug this, I’d try a few things. 

First I’d try lengthening all of the delays to 10 seconds (you can make them shorter again once you have things working). I’d also add a few extra delays in between lines of code.

Secondly, I’d try commenting out your jump to camera command and do one with just the living room in it and see if that works.

One of these changes will probably get it working and you can then play from there.

Share this post


Link to post
Share on other sites
1 hour ago, South Africa C4 user said:

To debug this, I’d try a few things. 

First I’d try lengthening all of the delays to 10 seconds (you can make them shorter again once you have things working). I’d also add a few extra delays in between lines of code.

Secondly, I’d try commenting out your jump to camera command and do one with just the living room in it and see if that works.

One of these changes will probably get it working and you can then play from there.

I tried the following with no luck. The script is running fine till the end, but not switching to the camera.

What is driving my crazy is the TV is switching to the camera manually from the OSD menu.

Note: this was running fine earlier.

 

1018024467_ScreenShot2019-08-11at11_13_48AM.thumb.png.9c8e4604649441b6d252dfe94574bec1.png

 

 

1420149316_ScreenShot2019-08-11at11_14_41AM.thumb.png.0a1292484e00c93ba3ee5841c83b3ffd.png

Share this post


Link to post
Share on other sites

Your sending the C4 command to 2 rooms consecutively.  Only send that to one room then in the other room/s use “select C4 as the source” for the room.  This will still turn your rooms on.

Most likely the problem you’re seeing is because your onscreen is on a matrix and confusing the system with multiple rooms asking for onscreen within seconds. 

Share this post


Link to post
Share on other sites
3 hours ago, lippavisual said:

Your sending the C4 command to 2 rooms consecutively.  Only send that to one room then in the other room/s use “select C4 as the source” for the room.  This will still turn your rooms on.

Most likely the problem you’re seeing is because your onscreen is on a matrix and confusing the system with multiple rooms asking for onscreen within seconds. 

Worth a shot but does not really make sense if it works in one room and not the other (as OP states that the problem room goes to the C4 menu but not he camera).  also OP states he has an EA1 in each room... so logically an OSD in each room.

i would try each line of code (for the problem room) one line at a time and see where you get stuck.

Share this post


Link to post
Share on other sites
3 hours ago, South Africa C4 user said:

Worth a shot but does not really make sense if it works in one room and not the other (as OP states that the problem room goes to the C4 menu but not he camera).  also OP states he has an EA1 in each room... so logically an OSD in each room.

i would try each line of code (for the problem room) one line at a time and see where you get stuck.

Ad advised, I rewrote the script for the living room and removed the snapshot sections. So the test script is:

  • send C4 command to living room
  • delay 10 second 
  • jump to the camera

Result is the same, it goes to C4 menu but not the camera. I ran the same script for the kitchen TV and it’s working fine.

I did few more steps to rule out all possibilities:

  • I asked my dealer to reinstall the NVR driver
  • Rebooted and checked the Hikvision NVR
  • Rebooted all camera
  • I can view all cameras from OSD
  • I can also view all the cameras in ComposerHE

 

Share this post


Link to post
Share on other sites
42 minutes ago, South Africa C4 user said:

Last suggestion from me would be to delete the Navigation Agent (under agents) and add it back again... and then redo the code.

I did this step in the earlier troubleshooting 

Share this post


Link to post
Share on other sites
2 hours ago, South Africa C4 user said:

Call your dealer... probably going to be the best way to fix this or get a remote dealer on this forum to dial in and help you.

Many thanks, I fixed it!

Here is what I did:

  • I deleted the Navigation agent and rebooted all controllers (not only the master EA-5).
  • I re-wrote the whole program and converted it to macros, a macro per TV. This way, it's running smoother and faster.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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