Skip to content

camect/home-assistant-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Integrate Camect with home-assistant

======================================

The Camect Smart Camera Hub is an advanced network video recorder that uses AI (Artificial Intelligence), private local video storage, and secure remote access to the networked security cameras in your home. It plugs into your home network and provides 24×7 recording, viewing from your home network, and AI-powered smart alert detection and review via the app. You can learn more about camect at camect.com.

Configure

Please follow the following instructions:

  • Copy file "camect-card.js" to $ha_config_dir/www.
  • Copy folder "camect" to $ha_config_dir/custom_components.
  • Add following to $ha_config_dir/configuration.yaml
camect:
  - host: YOUR_CAMECT_HOME_LOCAL_IP
    port: 443
    username: admin
    password: admin_PASSWORD
    camera_ids: YOUR_CAMERA_IDS_SEPARATED_BY_COMMA
    id: (optional)    // provide this if you have multiple Camect devices so you could
                      // tell which camera is from which Camect device.
  • If you are using lovelace, put following into $ha_config_dir/ui-lovelace.yaml
resources:
  - url: /local/camect-card.js
    type: module

views:
  - title: Camect
    cards:
      - type: "custom:camect-card"
        entity: camera.camect_YOUR_CAMERA_ID

If you don't have ui-lovelace.yaml yet, add the following into $ha_config_dir/configuration.yaml

lovelace:
   mode: yaml

Listen to events

hass.bus.listen('camect_event', lambda evt: print(evt))

Sample event:

type=alert
desc=Camera Driveway just saw a car.
url=https://home.camect.com/home/xxxxxxxx/camera?id=yyyyyyy&ts=1556228517560

Home Assistant Community Store

One of our users created these two repos here and here to use Camect from HACS.

We haven't got time to test them though.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published