Announcement

Collapse
No announcement yet.

Camera/Doorbell motion and images explained

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Camera/Doorbell motion and images explained

    There are different kind of motion/images, depending on the model of your Camera/Doorbell:
    • Motion (G3 camera and G4 camera/doorbell)
    • Ring (G4 doorbell)
    • Person detection (G4 camera/doorbell)
    • Vehicle detection (G4 camera/doorbell)
    For each there are three features:
    • A feature for the actual detection. This will be set to 1 (ON) during the detection, or in case of the Ring feature, as long as configured in the plugin setup
    • A “last detection” feature, showing the last date/time of the last event. The value contains the Unix/Epoch value representing the date/time (the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds).
    • A feature holding the actual image associated with the last event, with the option to scroll through the history of the last 20 images (by using the “Oldest”, “Older”, “Newer”, “Newest” buttons). The value of the device indicates the selected history image, 0 for the current/newest, 19 for the oldest.

    Here is an example of the Person detection features:


    Click image for larger version  Name:	camera.png Views:	1 Size:	126.5 KB ID:	1462816

    The image is clickable and opens a new window with the same but larger image.

    Note that the aspect ratio of the images are the same as original, except for person and vehicle detection images that are zoomed in and square. The resolution is quite a bit lower that that of the camera, unfortunately that is what I get from the Unifi Protect system.
    stefxx

    #2
    Images are stored in the HomeSeer html directory like this:
    Code:
    ├── HomeSeer
    │   ├── html
    │   │   ├── UnifiMotion
    │   │   │   ├── badb00bfeed1
    │   │   │   ├── cafec0ffee00
    │   │   │   ├── deadbeeffeed
    │   │   │   └── defacedbabe1
    │   │   ├── UnifiPerson
    │   │   │   ├── badb00bfeed1
    │   │   │   ├── cafec0ffee00
    │   │   │   ├── deadbeeffeed
    │   │   │   └── defacedbabe1
    │   │   ├── UnifiRing
    │   │   │   ├── badb00bfeed1
    │   │   │   ├── cafec0ffee00
    │   │   │   ├── .. etc
    The hexadecimal directories are based upon the MAC address of your camera/doorbell.

    Every camera directory contains a "current.png" file, containing the most recent image of that camera and event type.
    One directory up, there is also a "latest.png" file, containing the most recent image of that event type, of any camera.

    Because images are being stored in the "html" subdirectory of your HomeSeer directory, all images are accessible through the browser as well, for instance "http://<homeseer ip>/UnifiRing/latest.png". This can also be used in your HSTouch project.
    stefxx

    Comment

    Working...
    X