homebridge-camera-rpi icon indicating copy to clipboard operation
homebridge-camera-rpi copied to clipboard

where to put code for flip options

Open splashibiza opened this issue 5 years ago • 1 comments

Can Someone tell me where to put this code? I want to use the flip options

Thank you

{ "name": "Pi Camera", "id": "Pi Camera", "rotate": 0, "verticalFlip": false, "horizontalFlip": false, "debug": false }

splashibiza avatar Aug 05 '19 05:08 splashibiza

If anyone else is still wondering, those options are specified in each camera object you define in your config.json file:

{
    "platforms": [
        {
            "platform": "rpi-camera",
            "cameras": [
                {
                    "name": "Pi Camera",
                    "rotate": 180,
                    "verticalFlip": true
                }
           ]
        }
    ]
}

JohnWickham avatar May 06 '20 14:05 JohnWickham