-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
WWW-authentication issue #118
Comments
hi, Thanks |
No!!!
… On 29 Sep 2023, at 15:51, feedericob ***@***.***> wrote:
hi,
i have the same problem, you find a solution?
Thanks
—
Reply to this email directly, view it on GitHub <#118 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC2T4RTMND7MSQJ6T7UQ4MDX43N63ANCNFSM6AAAAAAWMARSBA>.
You are receiving this because you authored the thread.
|
@Supereg may you help us? |
sendImmediately is BOOLEAN and so the value is without " { |
Great, that worked for me :-)
Now if there was an option to set the switch as a lock, rather than a switch.
… On 1 Oct 2023, at 14:58, feedericob ***@***.***> wrote:
sendImmediately and so the value is without "
{
"accessory": "HTTP-SWITCH",
"name": "Gate",
"switchType": "stateless",
"onUrl": {
"url": " http://192.168.1.250/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote",
"method": "GET",
"strictSSL": false,
"auth": {
"username": "xxx",
"password": "xxx",
"sendImmediately": false
}
}
}
—
Reply to this email directly, view it on GitHub <#118 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC2T4RVWI5RM4DSLJGWUDEDX5FZJZANCNFSM6AAAAAAWMARSBA>.
You are receiving this because you authored the thread.
|
I can't help you on this, the plugin programmer should decide. However, perhaps the lock button also identifies the opening and closing and if it is a simple gate without a sensor there is no possibility of identifying whether the gate is really open or closed. you could display it as a push button, but I don't know how to do it. |
Describe the bug
Unable to trigger lock on Dahua Door Panel. Homebridge log returns 401 error
Expected behavior
Trigger door lock
To Reproduce
Steps to reproduce the behavior:
See config.
Version (output of
npm list -g homebridge homebridge-http-switch
)Configuration
Additional context
See attached showing what Dahua API says about 401 authentication errors:-
"Video products support digest authentication, see RFC 2617 for detail. If the http request sent by client does not provide valid "Authorization" header information, video products would return HTTP status code 401 and some information for authentication, then client should calculate authentication information according RFC 2617, and sent request again with authentication information using “Authorization” header. Video products return the required resource only if authorization information correct.
For example:
The text was updated successfully, but these errors were encountered: