Open jkuepker opened 5 years ago
Hey @jkuepker,
This seems to be a bug from camera's CFW. Can you share when did you last updated camera's CFW ?
I just installed it for the first time yesterday. So I just downloaded it yesterday. Thank you.
@jkuepker ,
I would recommend you to create a issue on https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues. It looks like its a bug from camera's CFW. homebridge-dafang
only shows what is being sent my MQTT.
I have top same issue when using hw. When using virtual it stays at 100.000lux because the values it send to mqtt is much higher: ESC[37m[4/23/2020, 4:08:35 PM]ESC[39m ESC[36m[Dafang]ESC[39m MQTT Server Publish : home/cam/brightness : 310006
I just wanted to add that my brightness sensor hasn't changed since I installed the plugin and dafang hacks. It's showing .0001lux always on the two cameras I installed it on.
Describe the bug Installed this with the CFW on a new Wyzecam V2. The motion sensor and other items work, but brightness seems stuck at 40. I can sit in a dark room and it doesn't change.
Expected behavior The expected behavior is to change with the brightness in the room. If the room is dark the value should approach 0. As it gets brighter it should approach 100.
Config
{ "platform": "Dafang", "mqtt": { "hostBroker": false, "port": 1883, "host": "192.168.1.90", "debug": true }, "cameras": [ { "cameraName": "Backyard wyzev2-0001", "cameraRTSPStreamUrl": "rtsp://192.168.1.226:8554/unicast", "mqttTopic": "BACKYARD/wyzev2-0001/#", "disableStream": false, "folder": "/homebridge/recordings/", "segmentLength": 60, "maxDirSize": 4096, "checkStorageSizeInterval": 300, "recordingDirectoryPathFormat": "MMM-D-YY", "recordingFilenameFormat": "M_D_YYYY_ h_mm_ss_a", "accessories": [ { "name": "Backyard Motion Sensor", "type": "richMotionSensor", "threshold": 3000000 }, { "name": "Backyard Auto Motion Tracking Switch", "type": "autoMotionTrackingSwitch" }, { "name": "Backyard Night Vision Sensor", "type": "nightVisionSensor", "threshold": 0 }, { "name": "Backyard Night Vision Switch", "type": "nightVisionSwitch" }, { "name": "Backyard Auto Night Vision Switch", "type": "autoNightVisionSwitch" }, { "name": "Record Video", "type": "recordVideo" }, { "name": "Record Audio", "type": "recordAudio" }, { "name": "Capture Image", "type": "captureImage" }, { "name": "RPi Storage Sensor", "type": "storageSensor" }, { "name": "Clear Storage Switch", "type": "clearStorage" }, { "name": "Reset Streaming", "type": "resetFFMPEG" }, { "name": "Motion Detection Switch", "type": "motionDetection" }, { "name": "RTSPSwitch", "type": "rtspSwitch" }, { "name": "MJPEG Switch", "type": "mjpegSwitch" }, { "name": "Recalibrate Switch", "type": "recalibrateSwitch" }, { "name": "Restart Switch", "type": "restartSwitch" }, { "name": "ReMount Switch", "type": "remountSwitch" }, { "name": "Camera Brightness", "type": "brightness" } ], "videoConfig": { "source": "-rtsp_transport tcp -i rtsp://192.168.1.226:8554/unicast", "stillImageSource": "-rtsp_transport http -i rtsp://192.168.1.226:8554/unicast -vframes 1 -r 1", "maxStreams": 5, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 30, "vcodec": "h264", "debug": true } } ] }
Logs Share the logs with debug as true in config.jsonScreenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.