Code Monkey home page Code Monkey logo

hassio-ring-bridge's People

Contributors

helmut-hoffer-von-ankershoffen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hassio-ring-bridge's Issues

New and need more information please

I am new to Home Assistant and looking for some help. Step 3 says:
While you wait, call npx -p ring-client-api ring-auth-cli on your Mac or Windows machine to generate a refresh token. When generated click on Configuration, set the value of refresh_token to the token generated and click SAVE.
I have no idea how to call npx -p ring-client-api ring-auth-cli. Please let me know.

location-mode error

At some point recently this add-on stopped working (not entirely sure when, because the automation that uses it rarely fires. I've uninstalled, restarted HA and reinstalled the add-on a couple of times, and I can't figure out the problem.
I went to look at what localhost:8000/location-mode was returning and get: {"status":"error"}

The log file shows that a get to location-mode returns 404 (log file for the add-on is full of these, as you can see from the rejection IDs).
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[23:55:25] INFO: Refresh token configured as ZZZ.
[23:55:25] INFO: Starting bridge service.

[email protected] start
node index.js
Initializing webservice.
Checking and possibly updating persisted tokens.
Ignoring token in addon config, using updated one from /data/tokens.json {
config: 'ZZZ',
updated: 'YYY'
}
Initializing RingApi with refreshToken YYY.
Initializing subscriber for refresh token updates.
Starting listener on port 8000.
Ring Bridge is running on port 8000.
onRefreshTokenUpdated: got old YYY, new XXX, known YYY
onRefreshTokenUpdated: set XXX as refreshToken in-process
onRefreshTokenUpdated: set XXX as tokens.updated in /data/tokens.json
(node:215) UnhandledPromiseRejectionWarning: HTTPError: Response code 404 (Not Found)
at Request. (/node_modules/got/dist/source/as-promise/index.js:117:42)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:215) UnhandledPromiseRejectionWarning: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:215) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
GET /location-mode
HTTPError: Response code 404 (Not Found)
at Request. (/node_modules/got/dist/source/as-promise/index.js:117:42)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
code: undefined,
timings: {
start: 1627800929554,
socket: 1627800929555,
lookup: 1627800929804,
connect: 1627800929884,
secureConnect: 1627800930046,
upload: 1627800930047,
response: 1627800930128,
end: 1627800930129,
error: undefined,
abort: undefined,
phases: {
wait: 1,
dns: 249,
tcp: 80,
tls: 162,
request: 1,
firstByte: 81,
download: 1,
total: 575
}
}
}
(node:215) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(node:215) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined
at /index.js:80:22
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:215) UnhandledPromiseRejectionWarning: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

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.