Vigiora

← 모든 애드온

Hello Camera 아이콘

Hello Camera

Posts a harmless hello result for every camera assigned to it.

무료버전 0.1.1제작자: Vigiora
제작자
Vigiora · vigiora.com
라이선스
Apache-2.0
카테고리
기타
가격
무료
검토한 커밋
b66085e7c6d2

Vigiora Server 1.7.0 이상 필요

스크린샷

  • Hello Camera: 스크린샷 1

소개

Hello Camera

A sample add-on for Vigiora Server. It shows that community add-ons install and run on your server, and it is the smallest working example for people who want to write their own.

What it does

For every camera you assign to it, Hello Camera adds one result with the label hello every 30 seconds. It does nothing else. It does not read video or sound.

What it needs

  • Vigiora Server on a Linux machine with native Docker (for now, community add-ons install only on Linux servers).

  • Almost no resources: it runs on a Raspberry Pi 4.

Permissions

  • See your cameras: to know which cameras you assigned to it.

  • Add events and results: to post its hello results.

For developers

The source is about 80 lines in src/hello_camera/__main__.py. It was made with vigiora-addon new from the Vigiora Add-on Kit. To start your own add-on, use the add-on template.

Run the tests with pytest, and check the repository with vigiora-addon validate . before you submit it.

Licence

Apache-2.0.

사용 방법

Hello Camera: how to set it up and use it

What it does

Hello Camera posts a result with the label hello for every camera you assign to it, every 30 seconds. It does nothing else. It is meant to show that an add-on is installed and working.

Set it up

  1. Install the add-on from the Add-ons page of your Vigiora server.

  2. Open the Add-ons page of the server and find hello-camera. It shows up there once it has enrolled.

  3. Assign the cameras you want it to greet.

Placeholder screenshot of the add-on's page

Settings

SettingWhereMeaning
GREETINGService-wide setting of hello-cameraThe word in each result. Default hello.
greetingA camera's own setting for this add-onOverrides GREETING for that camera.
HELLO_INTERVAL_SECEnvironment of the containerSeconds between results. Default 30.

A change to the assigned cameras or to GREETING is picked up within one polling interval (30 seconds by default).

Stop it

Use Stop on the add-on on the Add-ons page. It stays enrolled and keeps checking in, but posts nothing until you press Start.

Permissions

It asks for cameras:read (to know which cameras are assigned) and events:write (to post its results). It does not read video.

Troubleshooting

  • It does not appear on the Add-ons page. Check the container's logs. "cannot enrol yet" means it cannot reach the server; "enrolment refused" means the key is wrong.

  • It appears but posts nothing. No cameras are assigned to it, or it is stopped.

하드웨어 요구 사항

아키텍처amd64, arm64
운영 체제Linux
프로세서1코어 이상
메모리0.25 GB 이상
디스크 공간0.1 GB 이상
참고Needs nothing special. It runs on a Raspberry Pi 4.

권한

애드온은 여기에 나열된 작업만 할 수 있습니다. 활성화하기 전에 이 목록이 표시됩니다.

  • 카메라 보기
  • 이벤트와 결과 추가
  • 네트워크: 인터넷에 연결함

이 애드온 신고