keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.59k stars 223 forks source link

mqtt username and password #310

Closed kloknibor closed 1 year ago

kloknibor commented 1 year ago

Camera

Frigate go2rtc rstp stream

Firmware version of the camera

No response

Description

I am trying the following command

unifi-cam-proxy -H 192.168.1.1 --mac AA:BB:CC:00:11:22 -i 192.168.1.2 -c /client.pem -t frigate -s rtsp://192.168.1.1:8554/test --mqtt-host 192.168.1.200 --mqtt-username username--mqtt-password password --frigate-camera test

but get this error: unifi-cam-proxy: error: unrecognized arguments: --mqtt-username username--mqtt-password password usage: unifi-cam-proxy [-h] [--version] --host HOST --cert CERT --token TOKEN [--mac MAC] [--ip IP] [--name NAME] [--model {UVC G3,UVC G3 Dome,UVC G3 Micro,UVC G3 Instant,UVC G3 Pro,UVC G3 Flex,UVC G4 Bullet,UVC G4 Pro,UVC G4 PTZ,UVC G4 Doorbell,UVC G4 Dome}] [--fw-version FW_VERSION] [--verbose] {amcrest,dahua,frigate,hikvision,lorex,reolink,reolink_nvr,rtsp}

If I look at the source code this should be supported

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional information

No response

kloknibor commented 1 year ago

Solved in dev version