Hi, I've been trying to get the controls working for my Tapo C210 cameras without much luck. I've tried the OnVif protocol, apparently they don't support using PTZ through OnVif. And I've tried two perl scripts, both seem to have not be actively worked on at the moment, detailed below:
https://github.com/oparm/zoneminder-tapo-c200 - Doesn't work, as reported by other people in various threads, needs an update for some changes.
https://github.com/fabriziopicconi/zoneminder-tapo-c500 - Seems to do something but reports errors, below, was actively maintained until recently but isn't strictly for my model.
Can't load ZoneMinder::Control::TapoC200Can't modify comparison chaining in scalar assignment at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 4, near ""viewport" content"syntax error at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 4, near ""viewport" content"Unknown regexp modifier "/e" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 15, at end of lineUnknown regexp modifier "/w" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 22, at end of lineUnknown regexp modifier "/w" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 22, at end of lineUnknown regexp modifier "/w" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 22, at end of lineUnknown regexp modifier "/f" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 52, at end of lineUnknown regexp modifier "/t" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 52, at end of lineUnknown regexp modifier "/e" at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 53, at end of linesyntax error at /usr/share/perl5/ZoneMinder/Control/TapoC200.pm line 199, near "$(document"/usr/share/perl5/ZoneMinder/Control/TapoC200.pm has too many errors.Compilation failed in require at /usr/share/perl/5.34/Module/Load.pm line 78.Can't locate ZoneMinder/Control/TapoC200 in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl/5.34/Module/Load.pm line 78.
'zmcontrol.pl --id 3' exited abnormally, exit status 255
No protocol is set in monitor. Please edit the monitor, edit control type, select the control capability and fill in the Protocol field
Would appreciate some help, as been trying for quite a while to get this working now, anyone have any idea how to get this working.
Kind regards,
Will
Tapo C210 Camera Controls - Can't get to work.
-
- Posts: 7
- Joined: Wed Apr 17, 2024 2:46 pm
-
- Posts: 7
- Joined: Wed Apr 17, 2024 2:46 pm
Re: Tapo C210 Camera Controls - Can't get to work.
Little bump if I may...
Re: Tapo C210 Camera Controls - Can't get to work.
Something confusing here. Looking at the error messages ...
TapoC200.pm line 4, near ""viewport" content ...
The word viewport appears nowhere in the linked github TapoC200.pm.
Additionally :-
Unknown regexp modifier "/e" ... at TapoC200.pm line 15, at end of line ... (and all the other /w /f stuff) ... these don't appear either. The line numbers are a nonsense, line 15 is a comment!!
Are you sure that your file, TapoC200.pm contains what it should?
https://github.com/fabriziopicconi/zone ... apoC200.pm
Because it sounds like Perl has been given indigestion by being fed something it wasn't expecting.
TapoC200.pm line 4, near ""viewport" content ...
The word viewport appears nowhere in the linked github TapoC200.pm.
Additionally :-
Unknown regexp modifier "/e" ... at TapoC200.pm line 15, at end of line ... (and all the other /w /f stuff) ... these don't appear either. The line numbers are a nonsense, line 15 is a comment!!
Are you sure that your file, TapoC200.pm contains what it should?
https://github.com/fabriziopicconi/zone ... apoC200.pm
Because it sounds like Perl has been given indigestion by being fed something it wasn't expecting.