Jump to content

GianSeven

Members
  • Posts

    1
  • Joined

  • Last visited

GianSeven's Achievements

Newbie

Newbie (1/14)

  • First Post Rare

Recent Badges

  1. For anyone still interested in this. I was able to get an HTTP streaming out of this device. Both audio and video work. I don't know if my device was easier to access but it's really simple. I arrived at this solution randomly but here's what I think: This camera uses a protocol called dvrip. I've used https://github.com/AlexxIT/WebRTC This Home Assistant integration uses WebRTC + go2rtc which is able to talk to this protocol I presume If you are confused from what this "Home Assistant integration" is, look into Home Assistant first. I'll explain what I did from after the GitHub guide ends After the configuration (of the 'basic' version) of go2rtc. It gets its own port, 1984. Write <homeassistant-ip>:1984 in a browser just like you do with :8123 to access Home Assistant Here click "Add", then open "temponary stream" ``` Name: (What you want, you'll need it later, I put IPC365) url: dvrip://admin:123456@<IP Address of the camera>?channel=0&subtype=0 ``` Remember that the IP address should be static or this configuration will get broken later on, you can likely do that from your router Go back to Home Assistant, click on the kebab (3 dots) in the top right to access "Edit dashboard", then on the bottom right "+ Add cards", scroll to the bottom to find "Manual". Paste all of this ``` type: custom:webrtc-camera url: IPC365 <---- The name you had to put in before ui: true digital_ptz: mouse_drag_pan: true mouse_wheel_zoom: true mouse_double_click_zoom: true touch_drag_pan: true touch_pinch_zoom: true touch_tap_drag_zoom: true persist: true title: What you want muted: true intersection: 0.75 background: false shortcuts: - name: Record icon: mdi:record-circle-outline service: switch.toggle service_data: entity_id: switch.camera_record mode: webrtc,mse,hls,mjpeg ``` As you can see here "url:" is the name I have given it before in the go2rtc interface Sorry for bad english but it isn't my first language
×
×
  • Create New...