Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. web control param syntax v4.5.0 (Richard Bown)
   2. Re: web control param syntax v4.5.0 (MrDave)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Dec 2022 20:15:02 +0000
From: Richard Bown <rich...@g8jvm.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] web control param syntax v4.5.0
Message-ID: <ee54237ea49423d1f9b193c3ad2c1c894a8811f3.ca...@g8jvm.com>
Content-Type: text/plain; charset="UTF-8"

Hi all, sorry about the line wrap but I think this list does not like
html postings
  sending :-
odroid@odroid:~$ /usr/bin/lwp-request
http://localhost:7770/101/detection/pause

(All one 1 line )

cam_id is 101

[0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: Sent url:
/101/detection/pause

[0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: Decoded url:
/101/detection/pause


[0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: camid: >101< cmd1:
>detection< cmd2: >pause< parm1:>< val1:>< parm2:>< val2:><

[0:wu0] [INF] [ALL] [Dec 16 20:04:43] webu_answer_ctrl: Connection
from: 127.0.0.1

then it carries on detecting motion and writing the mkv file

What did I screw up, it seems to be whats in the docs , seems to want
more parms ???

-- 
--?
?Best wishes /73?
?Richard Bown
?
?Email : rich...@g8jvm.com

?HTTP??:??https://www.g8jvm.com
?
?######################################################################

########

?Ham Call: G8JVM . QRV: HF + 50-432 MHz + Microwave?
?Maidenhead QRA: IO82SP38, LAT. 52.6620 N LONG. 2.4696 W
?VHF: 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,?
?Microwave: 1296MHz 110W, 2320MHz 100W, 3400MHz 15W, 5760MHz 10W &
10368MHz 5W
?OS: Linux Mint 20.3, on a Dell Inspiron 3580 laptop
?######################################################################

########



------------------------------

Message: 2
Date: Fri, 16 Dec 2022 21:15:42 -0700
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] web control param syntax v4.5.0
Message-ID: <ea79cbbd-c5f1-e0b7-95cb-3b3cd1c0e...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Nope....no more parms needed.

$ curl http://localhost:8080/81/detection/status
Camera 81 Detection status ACTIVE

$ curl http://localhost:8080/81/detection/pause
$ curl http://localhost:8080/81/detection/status
Camera 81 Detection status PAUSE

$ curl http://localhost:8080/81/detection/start
$ curl http://localhost:8080/81/detection/status
Camera 81 Detection status ACTIVE

Does it report the correct status?

On 12/16/2022 1:15 PM, Richard Bown wrote:
> Hi all, sorry about the line wrap but I think this list does not like
> html postings
>    sending :-
> odroid@odroid:~$ /usr/bin/lwp-request
> http://localhost:7770/101/detection/pause
>
> (All one 1 line )
>
> cam_id is 101
>
> [0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: Sent url:
> /101/detection/pause
>
> [0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: Decoded url:
> /101/detection/pause
>
>
> [0:cn0] [DBG] [STR] [Dec 16 20:04:43] webu_parseurl: camid: >101< cmd1:
>> detection< cmd2: >pause< parm1:>< val1:>< parm2:>< val2:><
> [0:wu0] [INF] [ALL] [Dec 16 20:04:43] webu_answer_ctrl: Connection
> from: 127.0.0.1
>
> then it carries on detecting motion and writing the mkv file
>
> What did I screw up, it seems to be whats in the docs , seems to want
> more parms ???
>



------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 196, Issue 17
********************************************

Reply via email to