homebridge / homebridge-syno-spk Goto Github PK
View Code? Open in Web Editor NEWHomebridge Package for Synology DSM 7.
License: GNU General Public License v3.0
Homebridge Package for Synology DSM 7.
License: GNU General Public License v3.0
Is there a way to tell Homebridge (or Docker) to use my secondary LAN interface? I have 2 ethernet connections for my synology, which add it to two different VLANs. I would prefer Homebridge use the non synology default LAN.
Good evening,
I am facing issues after the latest DSM Update 6.2.2-24922-1:
Homebridge service cannot be started anymore. Any ideas? Thank you!
Hi, homebridge works at the first time run perfectly, after restart I will get the EADDRINUSE error. I have to install Homebridge (docker container) again to get working until next restart after installing some plugins.
How to solve this problem?
Thanks and nice work!
Brilliant work! As I encountered the same issues with ip issues after upgrade, this is perfect! Unfortunately the Homebridge UI doesnt let me sign in. It always reports "Invalid Username and Password". Maybe it is an issue with my previous installation? Thanks in advance! C.
I need to run a plugin in a debug mode - would be great to provide command line params, eg.
DEBUG=homebridge-weather-station-extended
probably not a major issue, but the full path to the homebridge config is specified at install using absolute paths ie /volume1/docker/homebridgeconfig
if the shared folder that hosts the config is moved to another volume on the synology, the container doesnt start.
is it possible to put that in an environment variable, or make it easier to change after the fact? or is the docker / container ethos to blow it away and rebuild when changes are needed, if so then ignore :)
Workaround --
Is there an easy way to use multiple instances of this SPK (use it more then once) or of multiple instances of Homebridge inside the docker image?
I have already installed the package, and everything is working just right, there is only one thing that is a little strange:
The icon placed in my Synology NAS (DS916+ with DSM 6.2.1-23824 Update 6 [latest at this time]) is redirecting me to myhostname:8581, but the Homebridge-UI-X is running under port 8080.
If I try to reach port 8080, it is reachable and it is working as expected (even with certs and https), but the icon is linking to port 8581, where the service itself is running.
Do you know why this is happening and how to solve it?
Hello,
when I want to install hombridge-doke.spk I get the following Issues:
The package is not compatible with your Plattform or is not compatible with your DMS Version.
Cann you help me?
How do I reset the password?
Hi,
thanks for this spk. Homebridge Installation has never been so effortless…
I´m having an issue with the homebridge-camera-ffmpeg module.
I have enabled ffmpeg via environment variable. (PACKAGE…) an everything seems normal.
But my iOS-Home-App an Eve won´t show any Device…
Any clues?
Thank you,
Stefan
I've installed the package, it's running, when I click the icon a new tab with URL opens but it seems the server is not running.
I had the package installed at the beginning of your development when I got the wizard and all, then uninstalled it and reinstalled today - no wizard and this. Should I remove some files or something? Maybe the config changed or whatever?
I get the following error message when trying to start Homebridge on my disk station. Any ideas as to what I haven't done, or not done correctly. The installation seemed to go correctly as far I can tell, and I have Docker installed and can see the image and container.
Safari can't open the page .0.1.:8581, because Safari can't connect to the server .0.1.
Many thanks for any help!
Thank you for your work on this!
I'm having an issue to connect to HomeBridge on the Home app.
I can't properly diagnose why, the logs look fine, no errors. The ports are not blocked by the firewall, I also see it when I do a lookup on Bonjour (_hap._tcp.). But I do not see it on the Home app, and scanning the QR Code brings an error.
Any idea on what I might be missing?
Hi, I have homebridge running on a Synology NAS using the oznu installation that allows installing plugins through the browser interface. When trying to install, I do get the error "node-gyp rebuild" and so on (see below). Is there any way to run the "% apt-get install libpcap-dev" and "% sudo npm install -g homebridge-platform-ring-video-doorbell" commands to install the ring plugin when running homebridge this way?
I'm getting lots of informational messages in my log. I don't see where the log level is set -- is it possible that the log level is set to Debug or Info?
I get messages like this every couple of seconds...
[1/8/2020, 1:52:06 PM] [Rpi] raspberrypi: set Load from 0.35 to 0.27
[1/8/2020, 1:52:21 PM] [Rpi] raspberrypi: set Current Temperature from 24.5°C to 23.9°C
[1/8/2020, 1:52:21 PM] [Rpi] raspberrypi: set Load from 0.27 to 0.28
[1/8/2020, 1:52:36 PM] [Rpi] raspberrypi: set Current Temperature from 23.9°C to 24.5°C
[1/8/2020, 1:52:36 PM] [Rpi] raspberrypi: set Load from 0.28 to 0.29
[1/8/2020, 1:52:51 PM] [Rpi] raspberrypi: set Load from 0.29 to 0.3
thanks
First of all, great job. You made things easy for those who have a synology and want to run Homebridge in a docker.
Is there a way that you can create a serial port (or usb) mapping (option) available for those who use plug-ins who read the serialport. Like plug-in - Homebridge P1
Hi,
Is it possible to use SSL with the Synology package?
Best regards,
Marco
I just tried to install your SPK. Thank you for making it.
However, config UI X plugin doesn't seem to be installed by default. When you click on the Homebridge icon in the Synology menu it doesn't work.
I fixed it by adding npm install homebridge-config-ui-x
to startup.sh
and added the right platform to config.json
manually. (I just followed the plugin's instructions)
Hope this'll help.
My Synology Docker application won't run currently after the new DSM update - I am going to try and uninstall Docker and reinstall it but want to keep all my Docker container configurations, etc.
When I go to uninstall Docker it says "Homebrdige Docker is dependent on this package. Please uninstall Homebridge Docker first before uninstalling the package" - but I can't see the Homebridge Docker app in the installed packages directory.
Is there a way to uninstall the pkg yet keep my Homebridge configuration working after reinstalling Docker? I don't want to redo all the setup of Homekit/Homebridge especially with all the automations I have made.
I'm hoping I can just remove the pkg and the Docker container config will still survive - I presume this pkg makes the docker compose for the user, but afterward it isn't needed and removing won't affect the container?
As this happens on my Synology NAS, I'm reporting this bug here.
But I'm not sure if this is the correct place/repository as this is probably Homebridge/Docker-related and not originating from the Synology SPK. I can replicate the bug report in the appropriate place if needed.
The Synology NAS is running DSM 6.2.3-Update2 with the latest Docker package.
--
Homebridge, installed in Docker via the Synology SPK, started to overwrite the DNS Name / delete the mDNS name of the NAS after the latest Homebridge/Docker update (v1.2.4, initiated via the Homebridge web GUI).
Please see following two attached screenshots showing a LAN scan (Hostname, DNS Name, mDNS Name columns).
↑ Fig. 1 – correct behaviourHostname reflects the Server Name setting in DSM (please see third screenshot), DNS name is correct (fritz.box is the local domain provided by the router), mDNS name is shown
↑ Fig. 2 – incorrect behaviourHostname is uppercase, DNS name is the Homebridge identifier, mDNS name is gone
↑ Fig. 3 – Synology DSM Control Panel Server Name setting
If I re-set the Server Name in the Network > General settings of the DSM Control Panel, the Hostname, DNS Name and mDNS name are correct again, only to be overwritten by Homebridge after a certain amount of time. (Usually within 1-5 minutes, I can not determine a consistent timeframe or event when this is triggered.)
spk does not work on current dsm 7 beta. didnt get homebridge working on that version of dsm
Hi there,
I installed this on my Synology DS1815+ NAS ... Package went in as Homebridge 1.1.1
Bonjour saw the application happily, showing it to be on IP 192.168.1.1 (NAS LAN IP).
I saw there was an update to 1.1.2 pending, so I updated.
Now Bonjour shows the application on IP 172.17.0.1 - which is NOT my LAN... I'm assuming it's the IP for the internal Docker LAN?
Obviously - this will cause issues with anything seeing it on Bonjour and then trying to connect to it and there will be no obvious router to that network outside of the NAS itself.
I have no idea what happened, but I rebooted my synology DS918+ and I can no longer load the Homebridge Package. If I try to start the package I get an error saying 'Homebridge failed to start'. If I go into docker and try to run the Container I receive a message stating 'Container Does Not Exist'.
I've removed the homebridge directory and uninstalled/re-installed the package multiple times.
I am on docker 17.05-0370 and PHP 7.028-0025.
Like I said, I have no idea what happened.
I've tried the tips listed here: #5
At this point I've changed nearly every setting away from default and still I can't get it to connect. For a little while I was actually able to discover it in the Home app but connecting would spin and spin before failing. Then I turned off the container and it was still showing in Home via bonjour, which seemed wrong... So I restarted my phone and it was gone-- but then spun the container back up and it never re-appeared... Now, still connecting with QR and pin is not working. Any thoughts?
Hello I installed them well everything is ok but I can't detect the home brige on the iphone can you help me
I have migrated from manual docker management and everything works fine for me, so thanks for the work on this app!
I have minor feature request. I would like the DSM shortcut pointing to the homebridge UI to be useful but I don't have its port exposed as I think this is good security practice to not expose its port or map it do different than the default one. I would like it to be configurable so I could provide my local IP (so it will work locally) and/or another port.
Thanks!
When trying to add the image as file in docker (synology), I receive the mentioned error message.
This is after I deleted another version of the .spk which I was able to select. Can you guys help me adding the image?
I tried uninstalling docker and re-installing it but that did not bring any help.
Thanks
When searching for plugins to install, for example the highly popular Homebridge-isy-js the main one shows, however that plugin for instance was abandoned years ago, but a fork has taken over as the main one. Homebridge-isy-js even links and recommends the fork in the release notes. But on this plugins search it only shows the original (the discontinued one) and don't see how to choose the fork that replaces it?
Since 08/28/2019 the homebrigde-syno-spk in version 1.0.7 is no longer running on Synology DSM. Synology Update DSM 6.2.2-24922 Update 3.
http://192.168.xx.xx:8581 can't connect. Still someone has the same problem?
Nico
You could compile Homebridge for all Synology NAS models by using spksrc (supports all architectures, not only x86), and bring automatic updates to the packages by publishing to theSynoCommunity repository.
Hi,
I've been running a single instance of the homebridge docker on the Synology for some time and am able to run multiple instances of homebridge on the Raspberry PI (with multiple systemd services - no docker).
I was wondering about running multiple instances of docker'd homebridge on synology. Obviously, I'll need to create new shared folders under /volume1/docker and launch multiple containers of the same image with different parameters (port number etc.) and install the appropriate plugins for each container.
But what about the Homebridge Config UI app, can you have several instances?
Thx
It it possible to update this package to node 12? If so, how do we do it?
What is the proper method of migrating from the old method to using this? This method seem to be easier to update.
I've tried installing this and hoping it would see my existing files (plugins and config). However, once installed, this process will not launch and I can't determine the reason.
Thanks,
Dave
I've had Homebridge installed in this way for over a year now, I think. Always amazing, super speedy loading into the home app, one of the fastest to update. But lately it has gotten to the point where it can take half a minute to refresh. Do you have any tips, tricks or recommendations on cleaning up the install? Clearing old caches etc. It really isn't as snappy and I don't necessarily want to just reinstall and re-set up all my devices, scenes and automations. Thanks for the great work on such a nice piece of software!
.
Thanks for your great work with this package.
Everything was working as expected (no config changes), until I recently attempted to access the Terminal within a Container. I get the error 'Socket Closed'. Is there anything that might be causing this?
hi, I cant seem to install this on my DS3018xs, it says the platform is not supported.
please help. thanks!
I deleted a previous version of Homebridge that I had running on my Nas and installed this one, and I'm getting this error in the log occasionally.
2019-07-23 03:59:48,stdout,"�[0;37m[7/22/2019, 11:59:48 PM] �[0m�[0;36m[Config]�[0m �[0;33mMultiple Instances Of Homebridge Found Installed�[0m
"
2019-07-23 03:59:48,stdout,"�[0;37m[7/22/2019, 11:59:48 PM] �[0m�[0;36m[Config]�[0m �[0;33m/homebridge/node_modules/homebridge�[0m
"
2019-07-23 03:59:48,stdout,"�[0;37m[7/22/2019, 11:59:48 PM] �[0m�[0;36m[Config]�[0m �[0;33m/usr/local/lib/node_modules/homebridge�[0m
Everything seems to be working fine, but any idea what I need to cleanup to stop this?
There was no warning that my existing docker container named "homebridge" will be removed. During the installation I have lost my backup!
The script should perform some checks if container to be removed was created by e.g. previous installation of this package or issue warnings that any containers with this name will be removed.
I couldn't loading the Web UI, it's works at first time installed. Some reason I change my network setting. And then, I reinstall the homebridge-syno-spk. HomeBridge works fine but I couldn't connected to Home APP and enter Web UI. I think the problem is HomeBridge couldn't connected but I have no idea why the issue happen. Could you help~~~~~please.
My Config:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [
],
"platforms": [
]
}
I am not sure who to ask, but I thought I would start here. I am trying to install wpietri/sucks so I can automate my robot vaccum with the cmdswitch2 plugin. What are the steps to doing that on the Synology and with your package? I tried the apk add method but that didn't work. Any help or direction would be greatly appreciated.
Hi, I have installed Homebridge again on a new Synology Diskstation. It has seemingly picked up my previous config.json file and other settings, but doesn't seem to be working correctly as the Homebridge UI reports 'Homebridge Not Running'. It's been a few years since I originally installed Homebridge so I've probably forgotten something, but I followed my notes from last time round and still can't see what Im doing wrong.
Any help much appreciated.
The web UI doesn't seem to work when using a Synology with a custom domain and certificate set up on it. The Homebridge app opens in a new tab at domain.com:8581 but the browser says it can't establish a secure connection.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.