Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@solowalker27 solowalker27 released this 06 Mar 16:19
· 6 commits to master since this release

v2.0.0 BREAKING CHANGE

If you want to update to v2.0.0 or higher you'll need to adjust your configuration. The reason for that is the conversion from an accessory plugin to a platform plugin.

Example config before v2.0.0:

{
    "accessory": "BenQ-Projector",
    "name": "BenQ w1070",
    "model": "W1070",
    "adapter": "/dev/ttyUSB0",
    "inputs": [
        { "input": "hdmi", "label": "Apple TV" },
        { "input": "RGB", "label": "Computer" },
        { "input": "ypbr", "label": "Component" },
        { "input": "hdmi2", "label": "Raspberry Pi" },
        { "input": "vid", "label": "Composite" },
        { "input": "svid", "label": "S-Video" }
    ],
    "baudrate": 9600
}

The same config, that works with the v2.0.0:

{
    "platform": "BenQ-Projector",
    "devices": [
        {
            "name": "BenQ w1070",
            "model": "W1070",
            "adapter": "/dev/ttyUSB0",
            "inputs": [
                { "input": "hdmi", "label": "Apple TV" },
                { "input": "RGB", "label": "Computer" },
                { "input": "ypbr", "label": "Component" },
                { "input": "hdmi2", "label": "Raspberry Pi" },
                { "input": "vid", "label": "Composite" },
                { "input": "svid", "label": "S-Video" }
            ],
            "baudrate": 9600
        }
    ]
}

In addition to the config changes, you'll need to move the plugin config from the "accessories": [...] to "platforms": [...] section of your HomeBridge instance.