Jason_Chau
(Jason Chau)
1
Hi everyone, i am having problem on config.jaso in homebridge. Can you one help me ?
{
“bridge”: {
“name”: “Home Assistant”,
“username”: “B8:27:EB:63:CB:38”,
“port”: 51826,
“pin”: “186-90-780”
},
“description”: “Homebridge for Home Assistant”,
“accessories”: [],
“platforms”: [
{
“platform”: “HomeAssistant”,
“name”: “HomeAssistant”,
“host”: “http://172.0.0.1:8123”,
“password”: “”,
“default_visibility”: “visible”,
“supported_types”: [
“binary_sensor”,
“climate”,
“cover”,
“device_tracker”,
“fan”,
“group”,
“input_boolean”,
“light”,
“lock”,
“media_player”,
“scene”,
“sensor”,
“switch”
],
“logging”: true
}
]
}
{
“platforms”: [
{
“platform”: “AqaraPlatform”,
“sid”: [“XXXXXXX”],
“password”: [“XXXXXXXXXX”]
}]
}
lexam79
(Lexam79)
2
Hi,
your formatting is wrong. This document is not even valid JSON. Try the following:
{
"bridge": {
"name": "Home Assistant",
"username": "B8:27:EB:63:CB:38",
"port": 51826,
"pin": "186-90-780"
},
"description": "Homebridge for Home Assistant",
"accessories": [],
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://172.0.0.1:8123",
"password": "",
"default_visibility": "visible",
"supported_types": [
"binary_sensor",
"climate",
"cover",
"device_tracker",
"fan",
"group",
"input_boolean",
"light",
"lock",
"media_player",
"scene",
"sensor",
"switch"
],
"logging": true
},
{
"platform": "AqaraPlatform",
"sid": [
"XXXXXXX"
],
"password": [
"XXXXXXXXXX"
]
}
]
}