Giter Club home page Giter Club logo

Comments (7)

bropat avatar bropat commented on August 25, 2024

@gojojo77 Please enable debugging according to this guide, reproduce the problem and send me the logs (Attention: The logs contain sensitive data. Please redact!).

from iobroker.eusec.

bropat avatar bropat commented on August 25, 2024

@gojojo77
Please follow the instructions as described above and let me know. If I don't hear from you in the next few days I will close this issue.

Thanks for the understanding.

from iobroker.eusec.

gojojo77 avatar gojojo77 commented on August 25, 2024

Thanks @bropat , sorry for the delay, got busy over Xmas.

There was a lot of sensitive data in the logs like you mentioned. Hopefully it is not too heavily redacted to be useful.

It does seem to be retrieving data from the cameras (I can see the values in the non-redacted logs and iobroker).

So maybe the error is not really an issue that stops it working? If so, feel free to close the ticket.

2020-12-29 12:52:57.061 - info: eufy-security.0 (490) starting. Version 0.0.9 in /opt/iobroker/node_modules/iobroker.eufy-security, node: v12.20.0, js-controller: 3.1.6
2020-12-29 12:52:57.137 - debug: eufy-security.0 (490) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
2020-12-29 12:52:57.149 - debug: eufy-security.0 (490) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
2020-12-29 12:52:57.156 - debug: eufy-security.0 (490) onReady(): Load previous api_base: https://security-app.eufylife.com/v1
2020-12-29 12:52:57.156 - debug: eufy-security.0 (490) onReady(): Load previous login_hash: [REDACTED]
2020-12-29 12:52:57.157 - debug: eufy-security.0 (490) onReady(): Load previous token: [REDACTED] token_expiration: [REDACTED]
2020-12-29 12:52:57.159 - debug: eufy-security.0 (490) API.authenticate(): token: [REDACTED] token_expiration: Thu Jan 28 2021 12:48:03 GMT+1300 (New Zealand Daylight Time)
2020-12-29 12:52:57.209 - info: eufy-security.0 (490) Refresh data from cloud and schedule next refresh.
2020-12-29 12:52:57.212 - debug: eufy-security.0 (490) API.request(): method: post endpoint: app/get_hub_list baseUrl: https://security-app.eufylife.com/v1 token: [REDACTED] data: undefined headers: {"app_version":[REDACTED]}
2020-12-29 12:52:58.196 - debug: eufy-security.0 (490) API.updateDeviceInfo(): stations - Response: {"code":0,"msg":"Succeed.",[REDACTED]}
2020-12-29 12:52:58.198 - debug: eufy-security.0 (490) API.updateDeviceInfo(): stations - element: {[REDACTED]}
2020-12-29 12:52:58.199 - debug: eufy-security.0 (490) API.updateDeviceInfo(): stations - device_type: 0
2020-12-29 12:52:58.199 - debug: eufy-security.0 (490) EufySecurity.handleHubs(): hubs: 1
2020-12-29 12:52:58.200 - debug: eufy-security.0 (490) Station.loadParameters(): station_sn: [REDACTED]
2020-12-29 12:52:58.201 - debug: eufy-security.0 (490) EufySecurity.handleHubs(): stations: 1
2020-12-29 12:52:58.201 - debug: eufy-security.0 (490) handleStations(): count: 1
2020-12-29 12:52:58.203 - debug: eufy-security.0 (490) API.request(): method: post endpoint: app/get_devs_list baseUrl: https://security-app.eufylife.com/v1 token: [REDACTED] data: undefined headers: {"app_version":[REDACTED]}
2020-12-29 12:52:58.232 - info: eufy-security.0 (490) state eufy-security.0.[REDACTED].station.lan_ip_address changed: [REDACTED] (ack = true)
2020-12-29 12:52:58.286 - info: eufy-security.0 (490) state eufy-security.0.[REDACTED].station.lan_ip_address changed: [REDACTED] (ack = true)
2020-12-29 12:52:59.381 - debug: eufy-security.0 (490) API.updateDeviceInfo(): devices - Response: {"code":0,"msg":"Succeed.",[REDACTED]}
2020-12-29 12:52:59.383 - debug: eufy-security.0 (490) EufySecurity.handleDevices(): devices: 4
2020-12-29 12:52:59.384 - debug: eufy-security.0 (490) Device.loadParameters(): device_sn: [REDACTED]
2020-12-29 12:52:59.385 - debug: eufy-security.0 (490) Device.loadParameters(): device_sn: [REDACTED]
2020-12-29 12:52:59.385 - debug: eufy-security.0 (490) Device.loadParameters(): device_sn: [REDACTED]
2020-12-29 12:52:59.386 - debug: eufy-security.0 (490) Device.loadParameters(): device_sn: [REDACTED]
2020-12-29 12:52:59.386 - debug: eufy-security.0 (490) EufySecurity.handleDevices(): devices: 4
2020-12-29 12:52:59.387 - debug: eufy-security.0 (490) handleDevices(): count: 4
2020-12-29 12:52:59.392 - debug: eufy-security.0 (490) API.request(): method: get endpoint: app/trust_device/list baseUrl: https://security-app.eufylife.com/v1 token: [REDACTED] data: undefined headers: {"app_version":[REDACTED]}
2020-12-29 12:53:00.233 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-12-29 12:53:00.233 - error: eufy-security.0 (490) unhandled promise rejection: Request failed with status code 404
2020-12-29 12:53:00.234 - error: eufy-security.0 (490) Error: Request failed with status code 404
at createError (/opt/iobroker/node_modules/axios/lib/core/createError.js:16:15)
at settle (/opt/iobroker/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/lib/adapters/http.js:260:11)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
2020-12-29 12:53:00.236 - info: eufy-security.0 (490) Disconnect from station [REDACTED].
2020-12-29 12:53:00.240 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-12-29 12:53:00.241 - error: eufy-security.0 (490) unhandled promise rejection: Request failed with status code 404
2020-12-29 12:53:00.242 - error: eufy-security.0 (490) Error: Request failed with status code 404
at createError (/opt/iobroker/node_modules/axios/lib/core/createError.js:16:15)
at settle (/opt/iobroker/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/lib/adapters/http.js:260:11)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
2020-12-29 12:53:00.250 - info: eufy-security.0 (490) terminating
2020-12-29 12:53:00.251 - info: eufy-security.0 (490) Terminated (NO_ERROR): Without reason

from iobroker.eusec.

bropat avatar bropat commented on August 25, 2024

@gojojo77
Can not understand this error at the moment. It looks like an HTTP endpoint of the 2FA does not exist in your case.
Do you have 2FA enabled?

from iobroker.eusec.

gojojo77 avatar gojojo77 commented on August 25, 2024

@bropat Thanks. No 2FA is off. I can try with it on...

from iobroker.eusec.

gojojo77 avatar gojojo77 commented on August 25, 2024

@bropat Thanks for your help on this. But think I will try some other ways to control my cameras.

2FA did not make any difference. I might reset my Eufy setup soon, must be something weird with it, and see if that helps.

So please close for now, to save you spending anymore time on it.

Have a good new year :-)

from iobroker.eusec.

bropat avatar bropat commented on August 25, 2024

@gojojo77

ok. You too :)

from iobroker.eusec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.