moritzmhmk / homebridge-camera-rpi

raspberry pi camera plugin for homebridge
MIT License
159 stars 29 forks source link

where to put code for flip options #60

Open splashibiza opened 5 years ago

splashibiza commented 5 years ago

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 }

JohnWickham commented 4 years ago

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
                }
           ]
        }
    ]
}