-
-
Notifications
You must be signed in to change notification settings - Fork 265
PTZ and Telegram Components #788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ills to look at it
…_vid to notifier wide settings
…/Notifier also a separate component.
❌ Deploy Preview for viseron failed.
|
…bles SenstiveInfo filter now, until I fix it
Looks great, thank you! Nice job on decoupling the PTZ component to the Telegram one. |
…he cam's config in _register
…nfig names, removes redundent config, uniform formatting, remove create stop
… commands, fixes only configured cams iso all registered cams, log user_ids for easier setup & audit
… to have the camera follow that path repeatedly. Adds abs_move_wait_complete to wait for a move to complete before sending another move instruction.
…ethods, logs onvif errors as warnings
Hey, just checking in on this PR. Do you think its ready for merge soon or do you need any help to finalize it? |
Great job! It seems that I can look forward to "PTZ human tracking" PTZ_PID |
Hi! The CI pipeline is failing, but i don't know why :) |
A rebase should fix it! The |
Thought the Netlify errors were just intermittent ones but it seems you need to remove the These are the only supported tags which none really fits your components. export type DomainType =
| "camera"
| "face_recognition"
| "image_classification"
| "license_plate_recognition"
| "motion_detector"
| "nvr"
| "object_detector"
| "system"; I can add a |
Awesome!! I'm really looking forward to this functionality |
@smelis When would you be able to merge this PR it's so useful |
Hi, to be honest I thought it was already merged :) |
I checked the comments, fixed something and pushed the changes. Hope it can be merged now. |
The issue is the tags in the telegram component Need to either remove them, or define the new tag types for example export type DomainType =
| "camera"
| "face_recognition"
| "image_classification"
| "license_plate_recognition"
| "motion_detector"
| "nvr"
| "object_detector"
| "system"
| "ptz"
| "notifications"
| "telegram"
| "onvif";
export type Domain = {
label: string;
color: string;
};
export type Component = {
title: string;
name: string;
description: string;
image: string;
tags: DomainType[];
};
export const Domains: { [type in DomainType]: Domain } = {
camera: {
label: "Camera",
color: "#dfd545",
},
face_recognition: {
label: "Face Recognition",
color: "#127f82",
},
image_classification: {
label: "Image Classification",
color: "#fe6829",
},
license_plate_recognition: {
label: "License Plate Recognition",
color: "#821212",
},
motion_detector: {
label: "Motion Detector",
color: "#a44fb7",
},
nvr: {
label: "NVR",
color: "#3063ca",
},
object_detector: {
label: "Object Detector",
color: "#e9669e",
},
system: {
label: "System",
color: "#30cac8",
},
ptz: {
label: "PTZ",
color: "#33df27",
},
onvif: {
label: "ONVIF",
color: "#cc9c3f",
},
notifications: {
label: "Notifications",
color: "#d10dce",
},
telegram: {
label: "Telegram",
color: "#24A1DE",
},
};
export const DomainsList = Object.keys(Domains) as DomainType[]; |
Thanks, some small changes still required but i will merge the PR and fix them myself. Thanks for the work on this one! |
Adds two components:
ptz - adds a PTZ controller component for cameras that support ONVIF (and pan/tilt/zoom).
telegram - adds a Telegram (bot) component that can do a couple of things:
Config for the ptz component:
Config for the telegram component: