Haruspex

Camera pan and tilt

A camera that can turn has Pan/tilt set to ONVIF (a network camera, after Connect in Settings → Cameras) or Pan/tilt (UVC) (a USB webcam on Linux). See the cameras page for adding one.

Turn it from Settings

Once the camera is saved, its form in Settings → Cameras has Left, Right, Up, Down and Home buttons. Each makes a small turn (Home recentres it) and shows a new frame.

Calibrate a network camera

Network cameras don't say how far a turn went, and many (including Thingino cameras such as the Cinnado D1) turn much further than asked. Calibrate, under Pan/tilt in the camera's form, measures it:

  1. Click Calibrate. The camera goes home, steps to one end of its travel and then the other, comparing pictures as it goes, then does the same up and down. It takes about two minutes.
  2. The form shows the result, such as "Turns about 5 picture widths end to end; home is 2.8 from the left end; tilts about 1.6 picture heights, home 0.8 from the bottom".
  3. Click Save.

Calibrate again after moving the camera or changing its home position. Connect clears the calibration, since it may be a different camera. A USB webcam needs none: it reports its own angles.

Set where home is

Home is where Home sends the camera and where a look-around ends. A camera's own home can point somewhere useless, such as the ceiling. After calibrating:

  1. Turn the camera with Left, Right, Up and Down (starting from Home) until it points where home should be.
  2. Click Set home here (beside Home, with the turn buttons), then Save.

Haruspex keeps this home itself, as steps from the camera's own (Thingino cameras ignore a new home sent to them), so going home takes a few seconds longer. Reset home goes back to the camera's. It is kept when you calibrate again.

Choose the part worth looking around

A camera on a shelf may face a wall for half its turn. After calibrating, mark the part a look-around should cover:

  1. Click Home, then turn the camera with Left and Right until it points at one edge of what matters.
  2. Click Set left edge, beside the turn buttons. Turn it to the other edge and click Set right edge.
  3. Click Save. Whole range clears the edges.

The edges are kept when you calibrate again, as long as they still fit. The buttons work only while Haruspex knows where the camera points: after Home or Calibrate, and the turns since, until Haruspex restarts.

Ask the assistant to turn it

camera_look turns a camera left, right, up or down (small, medium or large), home, to a preset by name, or to the left or right edge you set, then takes a picture. How the assistant is told how far it went:

Camera Turns described as
USB webcam Degrees: about 10°, 30° or 60°
Calibrated network camera Picture widths (heights when tilting): about a quarter, half or a whole one
Network camera, not calibrated Words only: a little, some way, a long way

A turn that doesn't change the picture is reported as the end of its travel that way. Some cameras (Thingino ones such as the D1) stop tilting up once they reach the bottom, until they go home; when a tilt doesn't move such a camera, Haruspex sends it home and tries once more, and the assistant is told its pan went home too.

Save a preset

Point the camera where you want it (with Left, Right, Up and Down, or by asking), then ask "save this position on the hallway camera as hallway". camera_save_preset saves it on the camera itself, and Presets in Settings → Cameras is read again, so camera_look can go back to it by name. A preset with the same name (ignoring case) is overwritten. A camera set to Ask shows a prompt first.

It works on network cameras with Pan/tilt set to ONVIF only; USB webcams have no presets. Some cameras refuse to save presets over ONVIF, and the assistant then says what the camera answered. It can't delete a preset, or change the camera's home position.

Look around the room

Ask "look around the kitchen". camera_look_around turns the camera to its far left, then steps right taking a picture at each stop (up to 10, at a smaller size), then sends it home. The pictures are numbered left to right.

What it doesn't do