Comments (9)
i have no internet issues or anything blocking the pi as i had a fucntioning hoobs setup which recently broke down due to incompatability w plugins so i made the switch
from homebridge-raspbian-image.
looks line npm might be having issues?
Failed to check registry.npmjs.org for updates: timeout of 5000ms exceeded
from homebridge-raspbian-image.
thats the thing though im not sure how since its a fresh installation
from homebridge-raspbian-image.
how can i get the log stated in these lines
[5/6/2020, 20:57:48] [Config] Running Command: sudo -E -n npm install homebridge-zp@latest
[5/6/2020, 20:57:53] [Config] Command failed. Please review log for details.
because all im doing is going to plugins and trying to install plugins such as homebridge zp, homebridge hue, homebridge harmony etc
from homebridge-raspbian-image.
Are you on WiFi? It looks like the local connection is unstable.
SSH in and see if that makes a difference.
https://github.com/homebridge/homebridge-raspbian-image/wiki/How-To-Connect-Via-SSH
from homebridge-raspbian-image.
i reflashed and now i am able to install plugins. but i continue to have issues with websocket closing. i am using ethernet.. the entire setup just keeps restarting over and over again
[5/6/2020, 18:54:33] [HB Supervisor] Starting Homebridge with extra flags: -I
[5/6/2020, 18:54:33] [HB Supervisor] Started Homebridge v1.0.4 with PID: 3351
[5/6/2020, 18:54:34] Loaded config.json with 1 accessories and 8 platforms.
[5/6/2020, 18:54:34] ---
[5/6/2020, 18:54:36] Loaded plugin: homebridge-camera-ffmpeg
[5/6/2020, 18:54:36] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[5/6/2020, 18:54:36] ---
[5/6/2020, 18:54:36] Loaded plugin: homebridge-config-ui-x
[5/6/2020, 18:54:36] Registering platform 'homebridge-config-ui-x.config'
[5/6/2020, 18:54:36] ---
[5/6/2020, 18:54:36] Loaded plugin: homebridge-harmony
[5/6/2020, 18:54:36] Registering platform 'homebridge-harmony.HarmonyHubWebSocket'
[5/6/2020, 18:54:36] ---
[5/6/2020, 18:54:37] Loaded plugin: homebridge-hue
[5/6/2020, 18:54:37] Registering platform 'homebridge-hue.Hue'
[5/6/2020, 18:54:37] ---
[5/6/2020, 18:54:37] Loaded plugin: homebridge-raspberrypi-temperature
[5/6/2020, 18:54:37] Registering accessory 'homebridge-raspberrypi-temperature.RaspberryPiTemperature'
[5/6/2020, 18:54:37] ---
[5/6/2020, 18:54:38] Loaded plugin: homebridge-ring
[5/6/2020, 18:54:38] Registering platform 'homebridge-ring.Ring'
[5/6/2020, 18:54:38] ---
[5/6/2020, 18:54:39] Loaded plugin: homebridge-samsung-tizen
[5/6/2020, 18:54:39] Registering platform 'homebridge-samsung-tizen.SamsungTizen'
[5/6/2020, 18:54:39] ---
[5/6/2020, 18:54:39] Loaded plugin: homebridge-xbox-tv
[5/6/2020, 18:54:39] Registering platform 'homebridge-xbox-tv.XboxTv'
[5/6/2020, 18:54:39] ---
[5/6/2020, 18:54:39] Loaded plugin: homebridge-zp
[5/6/2020, 18:54:39] Registering platform 'homebridge-zp.Lib'
[5/6/2020, 18:54:39] Registering platform 'homebridge-zp.ZP'
[5/6/2020, 18:54:39] ---
[5/6/2020, 18:54:39] Loading 8 platforms...
[5/6/2020, 18:54:39] [Steph's Harmony Hub] Initializing HarmonyHubWebSocket platform...
[5/6/2020, 18:54:39] [Steph's Harmony Hub] HarmonyPlatform Init
[5/6/2020, 18:54:39] [Config] Initializing config platform...
[5/6/2020, 18:54:39] [Config] Running in Service Mode
[5/6/2020, 18:54:39] [SamsungTizen] Initializing SamsungTizen platform...
[5/6/2020, 18:54:39] [camera ffmpeg] Initializing Camera-ffmpeg platform...
[5/6/2020, 18:54:39] [Sonos] Initializing ZP platform...
[5/6/2020, 18:54:39] [Sonos] homebridge-zp v1.0.28, node 12.16.3, homebridge v1.0.4, homebridge-lib v4.6.1
[5/6/2020, 18:54:39] [Sonos] warning: config.json: plugin_map: invalid key
[5/6/2020, 18:54:39] [Hue] Initializing Hue platform...
[5/6/2020, 18:54:39] [Hue] config.json: warning: nativeHomeKit: ignoring unknown key
[5/6/2020, 18:54:39] [Hue] homebridge-hue v0.11.64, node v12.16.3, homebridge v1.0.4
[5/6/2020, 18:54:39] [Hue] warning: not using recommended node version v12.16.2 LTS
[5/6/2020, 18:54:39] [XboxTv] Initializing XboxTv platform...
[5/6/2020, 18:54:39] [Ring] Initializing Ring platform...
[5/6/2020, 18:54:39] Loading 1 accessories...
[5/6/2020, 18:54:39] [Pi Temp] Initializing RaspberryPiTemperature accessory...
[5/6/2020, 18:54:39] [Ring] Configuring cached accessory cc3e1aea-2a16-4fd0-bf60-70f359b85690 Office Front Door
[5/6/2020, 18:54:39] [Steph's Harmony Hub] DidFinishLaunching
[5/6/2020, 18:54:39] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Loading activities...
[5/6/2020, 18:54:39] Office Door is running on port 39605.
[5/6/2020, 18:54:39] Please add [Office Door] manually in Home app. Setup Code: 111-14-333
[5/6/2020, 18:54:39] Stephen's TV is running on port 42979.
[5/6/2020, 18:54:39] Please add [Stephen's TV] manually in Home app. Setup Code: 111-14-333
[5/6/2020, 18:54:40] Xbox One is running on port 33027.
[5/6/2020, 18:54:40] Please add [Xbox One] manually in Home app. Setup Code: 111-14-333
[5/6/2020, 18:54:50] [Sonos] warning: npm registry: registry.npmjs.org: cannot getaddrinfo: EAI_AGAIN
[5/6/2020, 18:54:50] [Stephen's TV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[5/6/2020, 18:54:51] [Sonos] error: RINCON_B8E93703611401400 [192.168.86.226]: 192.168.86.226:1400: cannot connect: ENETUNREACH
[5/6/2020, 18:54:51] [Sonos] error: RINCON_B8E93703611401400 [192.168.86.226]: 192.168.86.226:1400: cannot connect: ENETUNREACH
[5/6/2020, 18:54:53] [Sonos] listening on http://192.168.86.4:45707/notify
[5/6/2020, 18:54:53] [Sonos] RINCON_7828CA1C00B001400 [Desk (R)]: associated zone player
[5/6/2020, 18:55:29] [Steph's Harmony Hub] (Steph's Harmony Hub)WARNING - socket closed
[5/6/2020, 18:55:29] [Steph's Harmony Hub] (Steph's Harmony Hub)Error - Error retrieving info from hub : WebSocket closed with reason: Socket Error: read ECONNRESET (1006).-(1)
[5/6/2020, 18:55:39] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Loading activities...
[5/6/2020, 18:55:49] [Steph's Harmony Hub] (Steph's Harmony Hub)ERROR (1)- refreshCurrentActivity TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms. - Stack : TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms.
at PromiseController._handleTimeout (/usr/local/lib/node_modules/homebridge-harmony/node_modules/promise-controller/src/index.js:172:19)
at Timeout. (/usr/local/lib/node_modules/homebridge-harmony/node_modules/promise-controller/src/index.js:178:43)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
(node:3351) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getCharacteristic' of undefined
at HarmonySubPlatform.handleRefreshOfCharacteristic (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:414:24)
at HarmonySubPlatform.localRefresh (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:429:32)
at HarmonySubPlatform.refreshCurrentActivityOnSubPlatform (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:479:10)
at /usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:519:31
(node:3351) 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)
(node:3351) [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.
[5/6/2020, 18:55:49] [Steph's Harmony Hub] (Steph's Harmony Hub)Error - Error retrieving info from hub : Error: ETIMEDOUT-(2)
[5/6/2020, 18:55:59] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Loading activities...
[5/6/2020, 18:56:50] [Steph's Harmony Hub] (Steph's Harmony Hub)WARNING - socket closed
[5/6/2020, 18:56:50] [Steph's Harmony Hub] (Steph's Harmony Hub)Error - Error retrieving info from hub : WebSocket closed with reason: Socket Error: read ECONNRESET (1006).-(3)
[5/6/2020, 18:57:00] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Loading activities...
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Adding Accessory : Steph's Harmony Hub-TV
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - configuring Main TV Service
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating TV Service
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating Input Service - App TV
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating Input Service - XBOX ONE
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating Input Service - Sonos
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating Input Service - TV
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating Input Service - Nintendo Switch
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)WARNING - No main Activity that match config file found, default to first one
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Configuring Main Activity App TV
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Creating TV Speaker Service
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - Discovered Activity : PowerOff
[5/6/2020, 18:57:22] [Steph's Harmony Hub] (Steph's Harmony Hub)INFO - setupFoundAccessories - TV accessory added as external accessory
[5/6/2020, 18:57:22] Steph's Harmony Hub-TV is running on port 41783.
[5/6/2020, 18:57:22] Please add [Steph's Harmony Hub-TV] manually in Home app. Setup Code: 111-14-333
[5/6/2020, 18:57:25] [XboxTv] Device: 192.168.86.248 Xbox One, get current Power state successful, state: OFF
[5/6/2020, 19:02:30] [Steph's Harmony Hub] (Steph's Harmony Hub)WARNING - socket closed
[5/6/2020, 19:04:44] [XboxTv] Device: 192.168.86.248 Xbox One, get current Power state successful, state: OFF
from homebridge-raspbian-image.
im ssh'd in at the moment
should i do anything in particular?
from homebridge-raspbian-image.
You're able to install plugins now so I guess not.
You could try leave this command running and watch for packet loss:
ping 8.8.8.8
The issues you're now having with the Harmony Hub plugin still look like network problems to me.
from homebridge-raspbian-image.
its weird because everything else connected via ethernet doesnt have any issues and only this pi is having issues... i have anothe rpi running pihole may that be the cause to the issue?
i will ping it now to see
from homebridge-raspbian-image.
Related Issues (20)
- DNS failure HOT 2
- wiii taking preference over ethernet HOT 2
- Accessory not found homekit HOT 2
- Raspberry Pi Imager 1.7.5 corrupt image HOT 2
- Provide 64 bit image of Raspberry Pi OS HOT 2
- VNC The computer refused the connection. HOT 8
- Update image for Bookworm HOT 5
- Possibility to choose Homebridge Image in Raspberry Pi Imager. HOT 1
- Homebridge Wifi Setup does not work HOT 14
- Raspberry Pi 5 support? HOT 5
- Running 'sudo hb-config' command fails HOT 4
- Sound is not working on RPi != 5 HOT 7
- Zigbee and Zwave HOT 2
- Homebridge banner on boot distorted HOT 2
- Homebridge image missing on imager v1.8.5 HOT 9
- RPi Imager 1.85 on Mac cannot find homebridge images HOT 7
- Does Homebridge UI install an MQTT broker as well? HOT 3
- Moving Homebridge storage path: /var/lib/homebridge ( to use rpi image with fs overlay ) HOT 5
- Raspberry Pi Case fan support HOT 5
- Cant connect to wifi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-raspbian-image.