Motion - Feature Request 2008x 09x 29x 182934

Feature Request: Display System Commands in the text_left or text_right Function

Description

Hi

What i mean is: At this time you can define in the "text_left" %H for Hours, what i need is an function: %cmd1,%cmd2 to display system commands on the Picture or Movie.

Example New Motion Config:

######################

cmd1=cat /proc/loadavg| awk '{print $1}' # See the last 5min load

cmd2=uptime | awk '{print $3}' # See the uptime in Days

text_left Cam-1 Up: %cmd1 Days

Sorry for my broken English. Thanks Robert

-- RobertD - 29 Sep 2008

Follow up

This feature is not needed a all you can use http://www.lavrsen.dk/twiki/bin/view/Motion/MotionHttpAPI

http://motionhost.mydomain.tld:port/2/config/set?user_text=value

So using a script that get the value as you said and then doing a HTTP resques following the API.

Look this :

http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2006x04x30x212738

-- AngelCarpintero - 17 Oct 2008

Comments

FeatureRequestForm edit

TopicTitle Display System Commands in the text_left or text_right Function
FeatureRequestStatus Rejected
SubmittedBy RobertD
Topic revision: r3 - 17 Oct 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.