HomeControl Server: Configuration: Bindings - robe16/HomeControl-documentation GitHub Wiki

Example bindings configuration json:

{
    "bindings": {
        "groups": [
            {
                "sequence": 0,
                "name": "Nest",
                "things": [
                    {
                        "sequence": 0,
                        "type": "nest_account",
                        "name": "Nest",
                        "details_public": {},
                        "details_private": {
                            "tokenexpiry": "24/01/2027 22:21:19",
                            "token": "c.f7lcKL6sDT7QWI2wrG1g7sjTQpF0mw3gCcyx0123456789xx9Y55fsRTo3kk0rjXabcdefghiJKLMNopqrstUvWxyZ2A31RDvDQpvWYErbwFWnI3LpgLRR79hw2OYHj4yvvKorWYmgr7m0NA",
                            "state": "STATE",
                            "redirect_url": "https://firebase-apiserver13-tah01-iad01.dapi.production.nest.com:9553/"
                        }
                    }
                ]
            },
                "sequence": 1,
                "name": "Lounge",
                "things": [
                    {
                        "sequence": 0,
                        "type": "tv_lg_netcast",
                        "name": "LG TV",
                        "details_public": {},
                        "details_private": {
                            "pairingkey": "012345",
                            "ipaddress": "192.168.0.x"
                        }
                    },
                    {
                        "sequence": 1,
                        "type": "tivo",
                        "name": "Virgin Media",
                        "details_public": {
                            "package": ["XL", "movies_sky"]
                        },
                        "details_private": {
                            "mak": "0123456789",
                            "pin": "1234",
                            "ipaddress": "192.168.0.x"
                        }
                    }
                ]
            }
        ],
        "info_services": [
            {
                "sequence": 0,
                "type": "news",
                "type": "News",
                "details_private": {},
                "details_public": {}
            },
            {
                "sequence": 1,
                "type": "tvlistings",
                "type": "TV Listings",
                "details_private": {},
                "details_public": {}
            },
            {
                "sequence": 2,
                "type": "weather",
                "type": "Weather",
                "details_private": {},
                "details_public": {
                  "town": "Brighouse"
                }
            }
        ]
    },
    "structure": {
        "structure_name": "Home",
        "structure_town": "Leeds",
        "structure_id": "home",
        "structure_postcode": "LS0 0XX"
    }
}