Hello Camera
Posts a harmless hello result for every camera assigned to it.
- ຜູ້ຂຽນ
- Vigiora · vigiora.com
- ໃບອະນຸຍາດ
- Apache-2.0
- ໝວດໝູ່
- ອື່ນໆ
- ລາຄາ
- ຟຣີ
- ບ່ອນເກັບຊອດໂຄດ
- github.com/data-tamer/vigiora-addon-hello-camera
- ຄອມມິດທີ່ຜ່ານການກວດສອບ
b66085e7c6d2
ຕ້ອງໃຊ້ Vigiora Server ເວີຊັນ 1.7.0 ຂຶ້ນໄປ
ພາບໜ້າຈໍ
ກ່ຽວກັບ
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
helloresults.
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
Install the add-on from the Add-ons page of your Vigiora server.
Open the Add-ons page of the server and find
hello-camera. It shows up there once it has enrolled.Assign the cameras you want it to greet.

Settings
| Setting | Where | Meaning |
|---|---|---|
GREETING | Service-wide setting of hello-camera | The word in each result. Default hello. |
greeting | A camera's own setting for this add-on | Overrides GREETING for that camera. |
HELLO_INTERVAL_SEC | Environment of the container | Seconds 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. |
ສິດ
ແອດອອນເຮັດໄດ້ສະເພາະສິ່ງທີ່ລະບຸໄວ້ຢູ່ນີ້. ທ່ານຈະເຫັນລາຍການນີ້ກ່ອນເປີດໃຊ້ງານ.
- ເບິ່ງກ້ອງຂອງທ່ານ
- ເພີ່ມເຫດການ ແລະຜົນລັບ
- ເຄືອຂ່າຍ: ເຊື່ອມຕໍ່ອິນເຕີເນັດ