Open nurmaso-hub opened 6 days ago
The terminal in homebridge is not suitable for this.
Choose a normal setup (docker or service) from a normal terminal (ssh) to your raspberry.
Ok, i’ll try that. But how do I uninstall the actual installation?
If you just installed matterbridge and run it from the hb terminal (I mean you didn’t create a systemd service) you can just close the terminal and nothing happens… or if you prefer to cleanup npm -g uninstall matterbridge matterbridge-shelly and all plugins you installed
I uninstalled and installed it again via ssh from a macbook. now the qr code in the matterbridge doesn’t show up. the installation ran without any error. UPDATE: I could add the bridge manually to apple home. But now I have still the same issue. Matterbridge stops after some minutes.
What configuration did you use to install matterbridge? Service, docker or podman? Check if you followed correctly the readme.
I use a raspberry pi with a node.js environment. I logged into the raspberry via terminal from a MacBook and entered the code:
sudo npm install -g matterbridge --omit=dev
(I am not very familiar with all this stuff)
now I know whats wrong. when I close the console the matterbridge shuts down. apparently I didn‘t install it really (again) like I said, I‘m not very familiar with all. Could you describe me a proper way to get this run?
So basically when you install matterbridge you have done only the first part. If you run it with the command matterbridge from a terminal, when you close the terminal the process is closed with the terminal. To have it run in background like a service (same like homebridge), you need to setup systemctl: https://github.com/Luligu/matterbridge/blob/main/README-SERVICE.md
Thanks! I solved it with this tutorial. Matterbridge runs stable now. But now the next problem shows up: From almost all of my 20 shelly devices appears in Apple Home a ghost device thats not usable. If i change the room for the original device, the ghost follows. I deactivated the old shelly plugs in homebridge and deleted the devices there. Also I forced matterbridge/shelly plug to resetStorageDiscover and reseted the devices. And I uodated all firmwares. Nothing helped. EDIT: As it seems to be more like an issues of the matterbridge-shelly plug, shall I open a new issue there? This one here could be marked as solved then
First: where do they come from your ghosts? Check the bridge on the Apple Home. Can I see a screenshot of the supposed ghost?
Bridge is always Matterbridge, like the original device. Interesting point, it depends on the device type. Always ghosts for: 2.5, mini G3, RGBWs no ghosts for: i4, Bulbs and plug plus
in the screenshot you see the ghosts for 2 of 3 devices, and the details for the mini G3.
When I start matterbridge from the console it runs and everything works. But just for some minutes, then it goes offline and is not accessible on its IP. I run the matterbridge on a raspberry pi parallel to the homebridge and installed matterbridge from the console in homebridge. May that caused an error?