分页: 1 / 1

Ubuntu安装domoticz后加homebridge问题

发表于 : 周五 12月 13, 2019 23:37
289500073
[2019-12-13 23:25:47] Homebridge is running on port 51826.
[2019-12-13 23:25:47] [eDomoticz] There was a problem connecting to Domoticz. (HTTP Status code 401)

<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
[2019-12-13 23:25:47] [eDomoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[eDomoticz] There was a problem connecting to Domoticz. (HTTP Status code 401)


手机无法搜到设备,麻烦大神指点

Re: Ubuntu安装domoticz后加homebridge问题

发表于 : 周六 12月 14, 2019 19:16
DT27
401 Unauthorized
未授权

没填帐号密码吧。
domoticz设置里登录用基础验证,
然后homebridge-edomoticz config.json文件示例:
https://gist.github.com/PatchworkBoy/a6 ... 4e8a9dccaf

代码: 全选

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:21:3E:E4:DE:33",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "Configuration file for (e)xtended Domoticz platform.",
    "platforms": [
        {
            "platform": "eDomoticz",
            "name": "eDomoticz",
            "server": "domoticz.local",
            "port": "8080",
            "ssl": 0,
            "roomid": 0,
            "mqtt": {
                "host": "domoticz.local",
                "port": 1883,
                "topic": "domoticz/out",
                "username": "username",
                "password": "password"
            },
            "excludedDevices":["131","211","212","213","214","14"]
        }
    ]
}

Re: Ubuntu安装domoticz后加homebridge问题

发表于 : 周六 12月 21, 2019 09:40
289500073
谢谢,设置白名单搞定了

Re: Ubuntu安装domoticz后加homebridge问题

发表于 : 周一 3月 09, 2020 03:12
system416
DT27 写了: 周六 12月 14, 2019 19:16 401 Unauthorized
未授权

没填帐号密码吧。

代码: 全选

"mqttuser": "xxxxxxxx",
"mqttpass": "xxxxxxxxx"
我也遇到这个问题,有帖子嘛?我也学一下

Re: Ubuntu安装domoticz后加homebridge问题

发表于 : 周一 3月 09, 2020 03:13
system416
289500073 写了: 周六 12月 21, 2019 09:40 谢谢,设置白名单搞定了
我也遇到这个问题,怎样设置白名单??

Re: Ubuntu安装domoticz后加homebridge问题

发表于 : 周一 3月 09, 2020 08:27
DT27
system416 写了: 周一 3月 09, 2020 03:13
289500073 写了: 周六 12月 21, 2019 09:40 谢谢,设置白名单搞定了
我也遇到这个问题,怎样设置白名单??
不填帐号密码就domoticz里设置“本地网络(不需用户名/密码):”