-
Notifications
You must be signed in to change notification settings - Fork 4
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
BREAKING: New application implementation #13
Conversation
i test docker
and see error when use login/password (in web - not console)
and two slash |
Oh, thx. I haven't checked login/password authentication yet. Will take a look in a week or so |
html is returned by Varity server. It's a bot protection software. User guide - https://disk.yandex.ru/i/RVPkZX1EOVGSeA Currently I don't know how to overcome it. When I send request using curl or go, it always returns html page instead of json. As far as I understand this software checks headers, SSL handshake etc. Body is not processed. curl -X POST 'https://myhome.proptech.ru/auth/v2/auth/{account_id}/password' \
-H 'User-Agent: Google sdkgphone64x8664 | Android 14 | erth | 8.9.2 (8090200) | | null | 10c99d90-9899-4a25-926f-067b34bc4a7f | null' \
-H 'Content-Type: application/json; charset=UTF-8' \
-H 'Connection: Keep-Alive' \
-H 'Accept-Encoding: gzip' If |
i will try sniffing first req for password use https://requestly.com/blog/modify-http-traffic-from-android-apps/ |
I have already sniffed traffic using mitmproxy from domru application running emulator. I suspect that the Currently, I'm trying to modify Client Hello using utls library to make Hello Message from go look like android's one
|
I don't think this is the main problem. authorization via SMS works and everything else works but I could be wrong... |
@twocolors Hi! Finally, I've managed to defeat bot protection and random errors. Also, updated README. May I ask you to check that it works in your setup? |
warning on run
and my password not work for connect |
this is because of old image. Please, run |
oh, I see. The image is built using ko-build and it uses chainguard/static as a base image where default user has ID=65532, so it can't write in directory where root is owner. There are a few possible solutions:
|
failed to save credentials: open accounts.json: permission denied
this 0.1.6-dev.0 work good and have all permit to rw account.json |
|
I think that you also have to specify workdir or credentials path because default workdir is P.S: added |
@moleus oh if you can find me in https://t.me/alice_in_red_wonderland |
* fix: phone on web * fix: rest template for HA * fix: web if else for phone
What's new
/rest/v1/forpost/cameras
). Old API is removed,/cameras
won't work anymore/login
page when can't refresh AccessToken--log-level=debug
)Breaking changes:
/cameras
,/door
, etc. won't work anymore/stream?{cameraId}
with/stream/{cameraId}
to as close as possible to an original APIfixes: ad#13