-
Notifications
You must be signed in to change notification settings - Fork 460
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
Installing #878
Comments
What is your Homebridge running on? I have an install script for a Raspberry Pi. |
Yes HB running on Raspberry Pi 4. It was installed as image from an SD card if I recall so most of my interaction with the pi is via the HB UI and the Terminal Consol (sudo hb-config). Having said that I do believe I also managed to install Wireguard which I assume is outside of the HB container.
Many thanks
Mark
From: jsiegenthaler ***@***.***>
Reply to: jishi/node-sonos-http-api ***@***.***>
Date: Tuesday, 24 October 2023 at 20:38
To: jishi/node-sonos-http-api ***@***.***>
Cc: Hide My Email ***@***.***>
Subject: Re: [jishi/node-sonos-http-api] Installing (Issue #878)
What is your Homebridge running on? I have an install script for a Raspberry Pi.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
OK, your setup is same as mine. Here's my install script, nicely documented: You need to install it from an admin user, not as the homebridge user. So don't use the Homebridge Console to install (as the Console runs under the Homebridge user). Standard admin user is "pi" (prompt shows pi@raspberrypi:) |
Thank you very much, appreciate it. Sorry to be dim (and I need to read through again) but have a few questions if I may;1) Does this run outside of HB say as a separate server/application?2) what is PM2?3) what kind of file (empty) is needed to be created?4) the .json file mentions that changes to txt file what is this for?5) whilst I will backup HB from its UI I am trying to ensure I dont corrupt the installation/image or its own json file…..Sorry if this is 101 Linux but I am generally a logical person but don’t claim to be coder. Basic Linux commands I can master if i look them up but it’s not native me. Dos yes, Mac GUI etc but Linux is not my strength.CheersMark On 24 Oct 2023, at 20:57, jsiegenthaler ***@***.***> wrote:
OK, your setup is same as mine. Here's my install script, nicely documented:
Install script for sonos-http-api.txt
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The sonos http api is completely separate to Homebridge and does not need Homebridge. Homebridge is not relevant. The sonos http api is a separate program (a server program) that installs on the raspberry pi. |
Still can't find adequate or easy instructions to set this api up. Clone doesn't work directory doesn't exist etc. I'm not a coder but have a successful HB set working with many plugins but Sonos has me beaten. Any assistance appreciated. Have greyed out icons in Home App but they don't seem to control anything. The ZP plugin I can see works in HB terminal window in that it sees tracks from Sonos radio stations but nothing in Home App.
Was also getting this from log re api plugin "[24/10/2023, 11:38:04] [Sonos] fail Error: connect ECONNREFUSED ‡1:5005
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1
port: 5005"
The text was updated successfully, but these errors were encountered: