Author Topic: Tenvis IP camera  (Read 8644 times)

0 Members and 1 Guest are viewing this topic.

Simeon Tuitt

  • Contributor
  • ***
  • Posts: 79
  • Karma: 0
    • View Profile
    • Simeon Tuitt Home Automation
Re: Tenvis IP camera
« Reply #15 on: June 24, 2015, 10:36:49 PM »
Hi Paul,

Sounds like you were half way to working this out after taking a look at your thread, one of the mods should be able to help you with the following information, since you can use RoboB to do the task for you, I don't quite understand all the commands for RoboB but basically you need to have it:

1. Launch Invisible Window For URL http://192.168.0.20:96/index1.htm (your cam url)
2. Match ID/Element <script>document.write(top.str_mode_serverpush);</script>
That will select the Google, Firefox Push option on the login page, although once you have logged in to the camera page you should be able to skip this option.
3. Then have it navigate to: http://192.168.0.20:96/alarm.htm (your cam url) which is the url you need to arm and disarm the motion detection by checking a box. The code for that is below and I am sure it is just a case of using match element.ID in RoboB again to toggle the motion setting on and off again.

if (motion_enable.checked)
   {
      tr_motion_sensitivity.style.display=motion_enable.checked?'':'none';
      tr_mail_enable.style.display='';
      //tr_http_enable.style.display='';
      //tr_http_url.style.display=http_enable.checked?'':'none';
      //tr_linkage_enable.style.display='';
      tr_ftp_enable.style.display='';
      tr_ftp_interval.style.display=ftp_enable.checked?'':'none';
      tr_schedule_enable.style.display='';
      tr_schedule.style.display=schedule_enable.checked?'':'none';
      //tr_triger_level.style.display=extern_enable.checked?'':'none';
      //tr_output_level.style.display=linkage_enable.checked?'':'none';
   }
If you need anymore settings from your tenvis camera page, it is all there, just hidden in iframes, so it doesn't show when doing show source on login page.

Hope this helps but it will eventually become a pain because you will need to login to the camera page just to make sure that motion settings has actually been turned on or you could end up going out and leaving your security system off.
Simeon Tuitt Is An Information Product Creator From The UK Who Took His Skills From Online Business Automation And Applied It To Automating A Smart Home.