Ubuntu安装domoticz后加homebridge问题

安装、编译、权限、安全和启动问题请在此发帖提问。
版面规则
安装、编译、权限、安全和启动问题请在此发帖提问。
有问题请说明详细情况,有图的截图!
别只说一句安装不上,执行不了!
截图请截大图,别就截一行。。。
回复
289500073
帖子: 3
注册时间: 周五 12月 13, 2019 23:33

Ubuntu安装domoticz后加homebridge问题

帖子 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)


手机无法搜到设备,麻烦大神指点
头像
DT27
帖子: 345
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: Ubuntu安装domoticz后加homebridge问题

帖子 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"]
        }
    ]
}
289500073
帖子: 3
注册时间: 周五 12月 13, 2019 23:33

Re: Ubuntu安装domoticz后加homebridge问题

帖子 289500073 »

谢谢,设置白名单搞定了
system416
帖子: 3
注册时间: 周日 7月 16, 2017 12:38

Re: Ubuntu安装domoticz后加homebridge问题

帖子 system416 »

DT27 写了: 周六 12月 14, 2019 19:16 401 Unauthorized
未授权

没填帐号密码吧。

代码: 全选

"mqttuser": "xxxxxxxx",
"mqttpass": "xxxxxxxxx"
我也遇到这个问题,有帖子嘛?我也学一下
system416
帖子: 3
注册时间: 周日 7月 16, 2017 12:38

Re: Ubuntu安装domoticz后加homebridge问题

帖子 system416 »

289500073 写了: 周六 12月 21, 2019 09:40 谢谢,设置白名单搞定了
我也遇到这个问题,怎样设置白名单??
头像
DT27
帖子: 345
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: Ubuntu安装domoticz后加homebridge问题

帖子 DT27 »

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