Closed locito09 closed 2 years ago
@locito09
I see that you have configured the country CH
in ioBroker and thus the adapter connects to the corresponding Eufy Cloud. Which country have you selected in your Eufy app? It must be the same to see the devices.
CH is also set in the eufy app, before everything worked with the other adapters (Eufy-Security)
Have the same issue. No station found. Also located in CH
I deleted the adapter and reinstalled it again, now the adapter works again but unfortunately still:
No device found No Station Found
but if I use the old adapter "eufy-security-client" it works without an error message
how did you get back to 0.7.5?
Fixed in latest channel with version 0.8.3
Note: Selecting the correct country in ioBroker is essential for the devices to be found (should match the setting in the Eufy app).
Doesnt work for me - it's now stuck in a loop where it's generating hundreds of captchas. I dont even have time to enter the captcha before three new ones are generated.
2022-02-07 20:41:58.113 - warn: eusec.0 (13731) Captcha authentication request received, please enter valid captcha in state eusec.0.captcha 2022-02-07 20:41:58.114 - warn: eusec.0 (13731) Captcha: 2022-02-07 20:41:58.234 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:41:58.235 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:41:58.939 - warn: eusec.0 (13731) Captcha authentication request received, please enter valid captcha in state eusec.0.captcha 2022-02-07 20:41:58.940 - warn: eusec.0 (13731) Captcha: 2022-02-07 20:41:58.965 - warn: eusec.0 (13731) Captcha authentication request received, please enter valid captcha in state eusec.0.captcha 2022-02-07 20:41:58.966 - warn: eusec.0 (13731) Captcha: 2022-02-07 20:41:59.580 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:41:59.580 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:41:59.716 - warn: eusec.0 (13731) Captcha authentication request received, please enter valid captcha in state eusec.0.captcha 2022-02-07 20:41:59.717 - warn: eusec.0 (13731) Captcha: 2022-02-07 20:42:00.362 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:00.363 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:42:00.376 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:00.377 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}]
2022-02-07 20:42:01.023 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:01.024 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:42:01.118 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:01.119 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:42:01.789 - warn: eusec.0 (13731) Captcha authentication request received, please enter valid captcha in state eusec.0.captcha 2022-02-07 20:42:01.790 - warn: eusec.0 (13731) Captcha: 2022-02-07 20:42:01.904 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:01.905 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:42:02.519 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:02.520 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}] 2022-02-07 20:42:02.721 - error: eusec.0 (13731) Status return code not 200 [{"status":423,"statusText":"Locked"}] 2022-02-07 20:42:02.722 - error: eusec.0 (13731) Token error [{"method":"get","endpoint":"/domain/CH"}]
Adapter version
0.8.2
JS-Controller version
0
Node version
0
Operating System type
Linux
Operating system version
0
Describe the bug
When I start the adapter, there is no connection and the following information appears in the LOG:
no device found no station found
`
` Adapter on Debug
`
javascript.0 2022-02-07 06:45:18.789 info script.js.common.Wetter.Wetter_Material_design: Material Design Widgets: Wetter Skript triggered by 'system.adapter.daswetter.0.alive' host.iobroker 2022-02-07 06:45:18.785 info instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.iobroker 2022-02-07 06:45:01.009 info instance system.adapter.daswetter.0 started with pid 3647973
eusec.0 2022-02-07 06:43:57.455 info Push notification connection successfully established
eusec.0 2022-02-07 06:43:57.454 debug [HTTPApi.checkPushToken] Push token OK
eusec.0 2022-02-07 06:43:57.453 debug [HTTPApi.checkPushToken] Response: [{"code":0,"msg":"Erfolgreich."}]
eusec.0 2022-02-07 06:43:57.399 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/app/review/app_push_check","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"app_type":"eufySecurity","transaction":"[1644212637399](tel:1644212637399)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:57.398 debug [HTTPApi.registerPushToken] Push token registered successfully
eusec.0 2022-02-07 06:43:57.397 debug [HTTPApi.registerPushToken] Response: [{"code":0,"msg":"Succeed."}]
eusec.0 2022-02-07 06:43:57.335 debug [PushClient.handleParsedMessage] IqStanza: Not implemented [{"tag":7,"object":{"type":"SET","id":"","extension":{"id":12,"data":{"type":"Buffer","data":[]}}}}]
eusec.0 2022-02-07 06:43:57.313 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/apppush/register_push_token","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"is_notification_enable":true,"token":"ehxTNqs5kzuacZMHd9Eb1z:APA91bH9IvYfeZnpFbpfOahUcILlEoXdoIx7omJQj-LLCyru38hHBv94hxOvuXslX_icCRe2ZYEidDKv_BO5YQFZrcK9RA7rqSJHBL1YM2_0wIwAiuU3_XrnlWQGXHCnvQlrNkcJLkvn","transaction":"[1644212637313](tel:1644212637313)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:57.311 debug [PushClient.handleParsedMessage] Login response: GCM -> logged in -> waiting for push messages...
eusec.0 2022-02-07 06:43:47.079 debug [PushNotificationService.registerGcm] GCM register error, retry... [{"retry":5,"retryCount":1}]
eusec.0 2022-02-07 06:43:46.956 info No devices found.
eusec.0 2022-02-07 06:43:46.955 debug [HTTPApi.getDeviceList] Devices - Response: [{"code":0,"msg":"Erfolgreich.","data":null}]
eusec.0 2022-02-07 06:43:46.902 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/house/device_list","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"device_sn":"","num":1000,"orderby":"","page":0,"station_sn":"","time_zone":3600000,"transaction":"[1644212626902](tel:1644212626902)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:46.901 info No stations found.
eusec.0 2022-02-07 06:43:46.900 debug [HTTPApi.getStationList] Stations - Response: [{"code":0,"msg":"Erfolgreich.","data":null}]
eusec.0 2022-02-07 06:43:46.851 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/house/station_list","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"device_sn":"","num":1000,"orderby":"","page":0,"station_sn":"","time_zone":3600000,"transaction":"[1644212626851](tel:1644212626851)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:46.850 debug [HTTPApi.getHouseInviteList] Response: [{"code":0,"msg":"Erfolgreich.","data":null}]
eusec.0 2022-02-07 06:43:46.785 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/house/invite_list","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"is_inviter":1,"transaction":"[1644212626785](tel:1644212626785)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:46.784 debug [HTTPApi.getInvites] Response: [{"code":0,"msg":"Erfolgreich.","data":null}]
eusec.0 2022-02-07 06:43:46.693 debug [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/family/get_invites","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","data":{"num":100,"orderby":"","own":false,"page":0,"transaction":"[1644212626693](tel:1644212626693)"},"headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:46.690 debug [PushNotificationService._open] Login with previous push credentials... [{"fidResponse":{"name":"projects/348804314802/installations/ehxTNqs5kzuacZMHd9Eb1z","fid":"ehxTNqs5kzuacZMHd9Eb1z","refreshToken":"2_a9l5VmEl8Cv5UJa_afHUdxAMi2RJH-tQ0ZhN2ESRLz7mj6wjxelNLoq8Dn1kdLSn","authToken":{"token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjE6MzQ4ODA0MzE0ODAyOmFuZHJvaWQ6NDQwYTY3NzNiMzYyMGRhNyIsImV4cCI6MTY0NDc4MTQzMiwiZmlkIjoiZWh4VE5xczVrenVhY1pNSGQ5RWIxeiIsInByb2plY3ROdW1iZXIiOjM0ODgwNDMxNDgwMn0.AB2LPV8wRQIgRNWSi4jBJRQe-nngerlhYHHypsdu39tzq3TTb6g-EYQCIQCTJXNhJwsSBjfmEnWI4hP_eHovgFERAcU3DVZm126g9w","expiresIn":"604800s","expiresAt":1644781432307}},"checkinResponse":{"statsOk":true,"timeMs":"1644184643016","androidId":"3499044214905613981","securityToken":"5562361403578297565","versionInfo":"g9neT5AzDZ4fQKri541rkWUFWKoQ7Rc","deviceDataVersionInfo":"ABFEt1WMDejlWw7vxQHn9C6T-oSHkhBnXES9an_a2OmSpIdwktatEI5xE5DXa89fvprLsgwd8SGDv3ovODPfjIRCBA5W_xizb26STimFqUGb37CCj6VdOfy4LKATENC7aJpc3ARJznfi7vM0w87RU00OjJXLVn2Ckd1a7Bix0iaKvreXb8Psbe7t7HM7mv9wmrq0ivaswTQ-Up0cb0nMym32F4w39QtMHQEsbJvnLiPSOjPnNSfQwKtQk3dAUXK4EkwXNTxenvnPZUkwC_6u4-0wSGw1-jSRzyfianU-cpIAVY56l_9jELcy-nlcd788KiQZfp6PjtCC83bfWtgJkEAPs3NH08m-Oe0cPIkuu6cjungsWbBvUAY"},"gcmResponse":{"token":"ehxTNqs5kzuacZMHd9Eb1z:APA91bE_CSwumkzR3PkMRcwqV_HTkI3oXjKZk1V5zty4bP-u06ffAENAoybKXer6mgPKbtiIfPlCS7ZbIMjNb8FD0eN9jfJmP7IEQpsR2u8iuO-pFOqJLazC6zjcOVdibhudLNdfK3TK"}}]
eusec.0 2022-02-07 06:43:46.687 debug [EufySecurity.saveCloudToken] Save cloud token and token expiration [{"token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","tokenExpiration":"2022-03-08T21:56:10.000Z"}]
eusec.0 2022-02-07 06:43:46.686 debug [HTTPApi.listTrustDevice] Response: [{"code":0,"msg":"ok","data":{"list":[]}}]
eusec.0 2022-02-07 06:43:46.634 debug [HTTPApi.request] Request: [{"method":"get","endpoint":"v1/app/trust_device/list","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:46.632 debug [HTTPApi.getPassportProfile] Response: [{"code":0,"msg":"Erfolgreich.","data":{"user_id":"fc15275be71cc80951bd911d7521d30108d2f37b","email":"xxxxxxx@xxx.ch","nick_name":"mig***","avatar":"","invitation_code":"f35feea235075d42a399","inviter_code":"","verify_code_url":"","country":{"id":232,"name":"United States","code":"US"},"is_subscribe":true,"mac_addr":""}}]
eusec.0 2022-02-07 06:43:45.924 debug [HTTPApi.request] Request: [{"method":"get","endpoint":"v1/passport/profile","baseUrl":"https://security-app-eu.eufylife.com","token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","headers":{"app_version":"v4.0.0_1197","os_type":"android","os_version":"31","phone_model":"IOBROKER","country":"CH","language":"de","openudid":"f02e0de49e55971","uid":"","net_type":"wifi","mnc":"02","mcc":"262","sn":"b2b5e2029a35","Model_type":"PHONE","timezone":"GMT+01:00","Cache-Control":"no-cache","X-Auth-Token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b"}}]
eusec.0 2022-02-07 06:43:45.922 debug [HTTPApi.authenticate] Authenticate and get an access token [{"token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","tokenExpiration":"2022-03-08T21:56:10.000Z"}]
eusec.0 2022-02-07 06:43:45.918 debug Load previous token: [{"token":"fae16063feb475c2062be985cf242a5d906c655f6a1c3a8b","tokenExpiration":1646776570000}]
eusec.0 2022-02-07 06:43:45.917 debug Load previous api_base: ["https://security-app-eu.eufylife.com"]
eusec.0 2022-02-07 06:43:45.916 debug Load previous login_hash: ["daf5e518623cd70f06d10132f99ae898"]
eusec.0 2022-02-07 06:43:45.893 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.880 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.867 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.855 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.842 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.826 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.804 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
eusec.0 2022-02-07 06:43:45.644 info starting. Version 0.8.2 in /opt/iobroker/node_modules/iobroker.eusec, node: v14.18.3, js-controller: 3.3.22
eusec.0 2022-02-07 06:43:45.286 debug statesDB connected
eusec.0 2022-02-07 06:43:45.285 debug States connected to redis: 0.0.0.0:9000
eusec.0 2022-02-07 06:43:45.265 debug States create User PubSub Client
eusec.0 2022-02-07 06:43:45.264 debug States create System PubSub Client
eusec.0 2022-02-07 06:43:45.249 debug Redis States: Use Redis connection: 0.0.0.0:9000
eusec.0 2022-02-07 06:43:45.247 debug objectDB connected
eusec.0 2022-02-07 06:43:45.239 debug Objects connected to redis: 0.0.0.0:9001
eusec.0 2022-02-07 06:43:45.218 debug Objects client initialize lua scripts
eusec.0 2022-02-07 06:43:45.217 debug Objects create User PubSub Client
eusec.0 2022-02-07 06:43:45.216 debug Objects create System PubSub Client
eusec.0 2022-02-07 06:43:45.214 debug Objects client ready ... initialize now
eusec.0 2022-02-07 06:43:45.179 debug Redis Objects: Use Redis connection: 0.0.0.0:9001`
To reproduce
Screenshots & Logfiles
No response
Additional context
No response