Closed skatehouse closed 2 years ago
Which devices are you referring too ? If you turn off debug level logging it will log less.
But Hap Discovery failed stays
[2021-7-5 21:35:03] Homebridge v1.3.4 (homebridge) is running on port 51832.
[2021-7-5 21:35:04] [MaxCube Platform] Connected to Max! Cube.
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Wohnzimmer (Wohnzimmer) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Flur (Flur) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Flur (Flur) - received new temperature 24.1
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Badezimmer (Badezimmer) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Küche (Küche) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Kinderzimmer (Kinderzimmer) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Kinderzimmer (Kinderzimmer) - received new temperature 24
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Schlafzimmer (Schlafzimmer) - computed new target mode 0
[2021-7-5 21:35:04] [MaxCube Platform] Heizung Schlafzimmer (Schlafzimmer) - received new temperature 22.3
[2021-7-5 21:35:14] [Homebridge UI] Homebridge Config UI X v4.41.1 is listening on :: port 8082
[2021-7-5 21:35:18] [Alexa] ERROR: HAP Discovery failed, please review config
[2021-7-5 21:35:23] [Alexa] ERROR: HAP Discovery failed, please review config
That message is triggered when no home bridge devices are discovered. You do have plugins and accessories configured in Homebridge ?
you mean in config.json?
yes sure! maxcube, alexa and a dummy switch.....but not more. I also don´t want more, because these are working in iobroker.
{
"bridge": {
"name": "homebridge",
"username": "xx:xx:7A:77:xx:09",
"port": xxxx2,
"pin": "xxx-39-944"
},
"description": "homebridge",
"platforms": [
{
"name": "Alexa",
"username": "xxxxx",
"password": "xxxxxx",
"pin": "xxxxx",
"routines": false,
"blind": false,
"door": false,
"debug": false,
"refresh": 15,
"filter": "192.168.178.34:8080",
"deviceListHandling": "allow",
"platform": "Alexa"
},
{
"name": "Config",
"port": 8082,
"auth": "none",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"lang": "auto",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
},
"platform": "config"
},
{
"name": "MaxCube Platform",
"ip": "192.168.178.30",
"port": 62910,
"windowsensor": true,
"allow_wall_thermostat": false,
"only_wall_thermostat": false,
"platform": "MaxCubePlatform"
}
],
"accessories": [
{
"name": "Bewässerung dummy",
"time": 1200000,
"accessory": "DummySwitch"
}
],
"disabledPlugins": []
}
This setting means that only devices found here are passed to Alexa
"filter": "192.168.178.34:8080",
It should be the address and port of your homebridge instance
That was only a try to get rid of the annoying HAP discovery failed. If I delete it, it´s the same.
This is enabling the device list name filter but you haven't specified a deviceList
"deviceListHandling": "allow",
https://github.com/NorthernMan54/homebridge-alexa#devicelist--devicelisthandling
Starting to advertise 'homebridge D1BB' using bonjour-hap backend! [2021-7-5 23:35:47] Homebridge v1.3.4 (homebridge) is running on port 51832. [2021-7-5 23:35:47] [MaxCube Platform] Connected to Max! Cube. [2021-7-5 23:35:47] [MaxCube Platform] Heizung Wohnzimmer (Wohnzimmer) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Flur (Flur) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Flur (Flur) - received new temperature 24.1 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Badezimmer (Badezimmer) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Küche (Küche) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Kinderzimmer (Kinderzimmer) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Kinderzimmer (Kinderzimmer) - received new temperature 24 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Schlafzimmer (Schlafzimmer) - computed new target mode 0 [2021-7-5 23:35:47] [MaxCube Platform] Heizung Schlafzimmer (Schlafzimmer) - received new temperature 22.3 [2021-7-5 23:35:57] [Homebridge UI] Homebridge Config UI X v4.41.1 is listening on :: port 8082 [2021-7-5 23:36:01] [Alexa] ERROR: HAP Discovery failed, please review config [2021-7-5 23:36:06] [Alexa] ERROR: HAP Discovery failed, please review config
{
"bridge": {
"name": "homebridge",
"username": "xxxx",
"port": xxxx,
"pin": "xxx-39-944"
},
"description": "homebridge",
"platforms": [
{
"name": "Alexa",
"username": "xxxx",
"password": "xxxxx",
"pin": "031-45-154",
"routines": false,
"blind": false,
"door": false,
"debug": false,
"refresh": 15,
"deviceListHandling": "allow",
"platform": "Alexa"
},
{
"name": "Config",
"port": 8082,
"auth": "none",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"lang": "auto",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
},
"platform": "config"
},
{
"name": "MaxCube Platform",
"ip": "192.168.178.30",
"port": 62910,
"windowsensor": true,
"allow_wall_thermostat": false,
"only_wall_thermostat": false,
"platform": "MaxCubePlatform"
}
],
"accessories": [
{
"name": "Bewässerung dummy",
"time": 1200000,
"accessory": "DummySwitch"
}
],
"disabledPlugins": []
}
I only like to get rid of "HAP Discovery failed...." I always have the feeling sth. goes wrong. Deleted the devices linst handling also in config.json
Maybe we need to start again
HAP Discovery failed....
Is the plugin saying it can't find any devices from homebridge to pass to Alexa......aka its not going to work
Based on your last shared config, remove this
"deviceListHandling": "allow",
I have removed the device list handling. Coming back to HAP Discovery failed: 3 plugins are installed and all of them expose to alexa. With other words: I can switch them on and off. Therefore there are devices that are handed over to alexa. Why the warning? Do I have to add them all to the config?
When the system logs 'HAP Discovery failed:' it is not passing any devices to the Alexa backend, hence my comment on it not working.
But complicating the discussion is the Alexa backend, which caches the responses and will over write identical information, but it doesn't remove missing information. So at some point in time a number of devices were passed the Alexa backend and those you are seeing that they are working. If you look in the Alexa app you should see these.
Hi! Installed a new clean homebridge with only 2 instances that are working. How can I get rid of other devices who want to connect? Deleting folders persist and accessories did not work -.-