Comments (4)
You're absolutely right, that did it! After I removed the (R) from accessory, it worked and now I can control both PiHoles from HomeKit.
Thanks a lot!
from homebridge-pihole.
Hi @markiljas! How did you configure the plugin?
from homebridge-pihole.
Thank you for replying so quickly!
Here's a part of the configuration:
"description": "List of devices controlled by Jarvis",
"accessories": [
{
"name": "Pihole",
"auth": "2e4f262928d8b841ced31840d285a69965b0353c75662c303fc46cdb2d83b053",
"ssl": false,
"host": "10.0.10.4",
"port": 80,
"baseDirectory": "/admin/",
"time": 0,
"reversed": false,
"logLevel": 1,
"accessory": "Pihole"
}
],
"platforms": [
{
"name": "Config",
"port": 8080,
"restart": "sudo -n systemctl restart homebridge",
"auth": "form",
"theme": "dark-mode",
"tempUnits": "c",
"lang": "auto",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
},
"platform": "config"
When I tried to add my 2nd PiHole, I copied the accessory right below (before Platform segment) and edited information, like this:
"description": "List of devices controlled by Jarvis",
"accessories": [
{
"name": "Pihole",
"auth": "2e4f262928d8b841ced31840d285a69965b0353c75662c303fc46cdb2d83b053",
"ssl": false,
"host": "10.0.10.4",
"port": 80,
"baseDirectory": "/admin/",
"time": 0,
"reversed": false,
"logLevel": 1,
"accessory": "Pihole"
},
{
"name": "Pihole (R)",
"auth": "2e4f262928d8b841ced31840d285a69965b0353c75662c303fc46cdb2d83b053",
"ssl": false,
"host": "10.0.10.6",
"port": 80,
"baseDirectory": "/admin/",
"time": 0,
"reversed": false,
"logLevel": 1,
"accessory": "Pihole (R)"
}
],
"platforms": [
{
"name": "Config",
"port": 8080,
"restart": "sudo -n systemctl restart homebridge",
"auth": "form",
"theme": "dark-mode",
"tempUnits": "c",
"lang": "auto",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
},
"platform": "config"
The password is the same, hence the auth is the same. When there is only one accessory, it works fine, but two kills the whole Homebridge setup. If you need any more information, just let me know!
Thanks
from homebridge-pihole.
What I do think that causes the crash it’s the "accessory": "Pihole (R)"
in your second accessory as Homebridge couldn’t find any plugin named Pihole (R), in fact the accessory
property must always be set to Pihole
.
from homebridge-pihole.
Related Issues (20)
- [BUG] Homebridge 1.3.0-beta 40 HOT 2
- New install, Pi Hole not accessible HOT 1
- Ability to toggle a block rule HOT 9
- Homebridge 1.3.1 : This plugin slows down Homebridge HOT 1
- [BUG] makeRequest debugging causes exception
- [BUG] New Pi-hole release (Pi-hole v5.4, Web Interface v5.6, FTL v5.9) seems to mess with homebridge-pihole? HOT 1
- error about gpis pins and device not being a Raspberry Pi HOT 15
- When running in Client Bridge no "add device" in HomeKit possible (connection fail) HOT 1
- [BUG] Homebridge taken offline if Pi-hole is down HOT 5
- [BUG] Pi-hole switch always in 'off' mode. HOT 10
- [BUG] Homekit switch not changing pihole state anymore HOT 3
- When homebridge ist startet, correct function requires singe switch on/off HOT 3
- [BUG]Pi-Hole switch in HomeKit still not working HOT 1
- Recent Pihole update broke plugin HOT 5
- Plug in not working. shows fine in Homekit but not responsive[BUG] HOT 3
- Connectivity broken in HomeKit as of Pi-Hole FTL v5.20 and Web v5.18 HOT 6
- [BUG] Homebridge-pihole plugin suddenly not working HOT 3
- Ability to toogle two piholes on and off with one button HOT 3
- [BUG] HOT 2
- [INFO]API chnaged with piHole v6 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-pihole.