User Tools

Site Tools


video:api:amcrest_hd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
video:api:amcrest_hd [2023/05/29 19:25] – still working on new updates for next version as yet incomplete James Sentmanvideo:api:amcrest_hd [2023/05/31 14:20] (current) – added showCapabilities command James Sentman
Line 57: Line 57:
  
  
-====Log Events:=== +====Show Events:=== 
-takes no parameters, writes the currently configured events to the XTension log for debugging or to know what is currently setup.+takes no parameters, opens a window with a list of currently enabled events, if any.
 <code> <code>
-tell xInterface “Amcrest Cam” to logEvents()+tell xInterface “Amcrest Cam” to showEvents()
 </code> </code>
  
 ====Debug Log Events:==== ====Debug Log Events:====
 If you’re having trouble with the events system or want to help me gather data to enable newer ones you can send a True to this command and all information received from the Events server will be logged. This is potentially a lot of data so you won’t want to turn it on unless we are gathering data for some reason. If you’re having trouble with the events system or want to help me gather data to enable newer ones you can send a True to this command and all information received from the Events server will be logged. This is potentially a lot of data so you won’t want to turn it on unless we are gathering data for some reason.
 +
 +If trying to gather data for newly supported events it may be helpful to change your list of enabled events to just “All” though this will result in some error messages as unsupported events are received. Collect the rest of the data and send to me to see if they can be supported in a useful way.
 +
 <code> <code>
 tell xInterface “Amcrest Cam” to debugLogEvents( True) tell xInterface “Amcrest Cam” to debugLogEvents( True)
Line 83: Line 86:
 </code> </code>
  
-====Log Motion Regions:==== +====Show Motion Regions:==== 
-Takes no parameters and writes the list of currently enabled motion regions to the log, just for debugging or to see what is currently configured.+Takes no parameters. Opens a text window listing the currently enabled motion regions for the camera.
  
 <code> <code>
-tell xInterface “Amcrest Cam” to logMotionRegions()+tell xInterface “Amcrest Cam” to showMotionRegions()
 </code> </code>
  
Line 223: Line 226:
 On the cameras I have the Font Size settings seems to have no effect, but the Font Scaling does work. There is a limited amount you can change the size of the fonts by passing a number from 0.1 to 2.0 with 1.0 being the normal default size. So to make the fonts half the size pass 0.5 and to make them double the size pass 2. Pass any floating point number in between to get any size in between. The maximum size supported on my camera is a scaling factor of 2 though other cameras may support more or less. On the cameras I have the Font Size settings seems to have no effect, but the Font Scaling does work. There is a limited amount you can change the size of the fonts by passing a number from 0.1 to 2.0 with 1.0 being the normal default size. So to make the fonts half the size pass 0.5 and to make them double the size pass 2. Pass any floating point number in between to get any size in between. The maximum size supported on my camera is a scaling factor of 2 though other cameras may support more or less.
  
-**setFontScale*( [**0.1..2.0**] float, (optional) **channel**)+**setFontScale**( [**0.1..2.0**] float, (optional) **channel**)
  
 <code> <code>
Line 459: Line 462:
  
 =====Camera Utilities:===== =====Camera Utilities:=====
 +
 +
 +====Show Capabilities:====
 +Opens a window with all the camera capabilities as it reports them. Not all of this information may be sensible or useful but I am reporting it from the following sections: Video Input, Recording, Events, Storage, Encoding and Thermography.
 +
 +<code>
 +tell xInterface “Amcrest Cam” to showCapabilities()
 +</code>
  
 ====Set Time:==== ====Set Time:====
video/api/amcrest_hd.1685388340.txt.gz · Last modified: 2023/05/29 19:25 by James Sentman