- Posted on
Thu Jan 12, 2023 2:40 pm
-
marcel langelaan
offline
-
- Posts: 65
- Joined: May 12, 2017
Hereby the results without username/password:
Terminal:
curl -v "http://192.168.1.50:5555/setvar?doorbell=on"
* Trying 192.168.1.50:5555...
* Connected to 192.168.1.50 (192.168.1.50) port 5555 (#0)
> GET /setvar?doorbell=on HTTP/1.1
> Host: 192.168.1.50:5555
> User-Agent: curl/7.85.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: BaseHTTP/0.3 Python/2.7.18
< Date: Thu, 12 Jan 2023 20:38:43 GMT
< WWW-Authenticate: Digest realm="HTTPd Plugin", nonce="94982ca4f7165c501c118b8bdfa03a22", algorithm="MD5", qop="auth" Basic realm="HTTPd Plugin"
< Content-type: text/html
logfile http:
HTTPd 2 Debug MyRequestHandler: GET to port 5555 from 192.168.1.141:65382 for /setvar?doorbell=on
HTTPd 2 Debug MyRequestHandler: No password specified in device configuration, skipping authentication
HTTPd 2 Debug webhook 5555: MyRequestHandler: updating device
HTTPd 2 Debug webhook 5555: MyRequestHandler: saved_states = {u'doorbell': u'on'}
HTTPd 2 Debug webhook 5555: MyRequestHandler: new_states = {'doorbell': 'on'}
HTTPd 2 Debug webhook 5555: getDeviceStateList, base state_list = States : (list)
HTTPd 2 Debug webhook 5555: getDeviceStateList, adding String state doorbell, value on
HTTPd 2 Debug webhook 5555: getDeviceStateList, adding String state http2_timestamp, value 01/12/23 21:38:43
HTTPd 2 Debug webhook 5555: getDeviceStateList, final state_list = States : (list)
Item : (dict)
Disabled : false (bool)
Key : doorbell (string)
StateLabel : doorbell (string)
TriggerLabel : doorbell (string)
Type : 150 (integer)
Item : (dict)
Disabled : false (bool)
Key : doorbell (string)
StateLabel : doorbell (string)
TriggerLabel : doorbell (string)
Type : 150 (integer)
Item : (dict)
Disabled : false (bool)
Key : http2_timestamp (string)
StateLabel : http2_timestamp (string)
TriggerLabel : http2_timestamp (string)
Type : 150 (integer)
Trigger 1 test trigger for doorbell
HTTPd 2 Debug webhook 5555: didDeviceCommPropertyChange no changes
HTTPd 2 Debug webhook 5555: didDeviceCommPropertyChange no changes
put the url also in the foscam => no response (log-file)