V380s Camera

Has anyone had any luck in getting one of these cameras to work with HA.
Have tried all the usual settings and the gone through the database at Zoneminder but none work

3 Likes

id like to know about this as well

for v380

2 Likes

Hi @Ajaxhan_Anna did your camera is still online ? I can’t obtain any image with the config you gave.
core version: 0.108.6
OS version: “3.13”
Thanks

Hi all,
maybe I found something interesting for you too: I bought an IP camera called V380 Pro that at the beginning was looking useless but then I found a way to enable rtsp.
Put a file in the root of SD card called:
ceshi.ini
that contain:
[CONST_PARAM]
rtsp=1

After that my cam have the rtsp stream enabled and you can configure it easily in HA.

3 Likes

Yep. Its still running. How about you?

Sorry. I’m busy lately.

Thanks

What do you mean with is still running, yes that configuration is working smoothly.

Information from https://community.netcamstudio.com/t/fentac-v380-connection/1334

I can integrate my v380 camera into HA:
System app Version: AppV380E12_PTZ_V2.5.0.4_20170912
System firmware Version: HwV380E12_WF1_PTZ_20160217

This worked for me:
https://tinyurl.com/yavnpbdg - This is an update patch
Port 23(Telnet) /it’s not working for me/ and port 554(rtsp) need to open.

1.- Unzip the patch zip
2.- Copy the files to the root of the microSD
3.- Restart the camera
4.- Wait until the update finishes, listening if you have a horn or watching the LEDs
5.- Delete the SD update files

HA config:

camera:
  - platform: generic
    name: Streaming Enabled
    still_image_url: http://192.168.0.241/jpg/image.jpg
    stream_source: rtsp://username:[email protected]/live/ch00_1

P.S. You can check the stream link (rtsp://username:[email protected]/live/ch00_1) in the VLC player.

Ive tried but no result. i did what you have told but still it does not work.
please assist

Could you update the camera with this patch?
The camera says something in chinese

Thanks for the fast respond. I’ve tried several times until my on/off button came off. i cant get the stream link. but using v380 software it works. thanks

Could you open the 554 port on the camera IP?

How to do that?
im a new to this my camera.
https://shopee.sg/【Alex】-Mini-WIFI-1080P-HD-IP-Camera-Wireless-Home-Security-DVR-Night-Vision-Camcorder-i.74752093.7214078830

The port forwarding is in your router setting.
For example https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/
You need to check your camera IP address in the router and then you can open the 554 port in your router based on this instructions

oh. thank you. I did port forward but still no respond.

anyway thank you very much for your help.

I gave up.

im using esp32 cam with home assistant.

thank you again

Finally with success over v380 camera. now im running on zoneminder.

thank you

Thanks! It helps me. I have another cam:

sdever-1080P-Wi-Fi.jpg_Q90.jpg_

I configure it only after port scanning. Rtsp works on 554 port so default link is rtsp://admin:123456@ipaddress:554/live/ch00_1
Link to image like http://ipaddress/jpg/image.jpg does not works. 80 port is closed…

1 Like

Reporting here the status of my V380 Pro Outdoor ONVIF 2-way sound camera for anyone’s benefit - i will update this post as i discover new things.

1. Installation

Managed to configure it with the standard ONVIF integration from UI; the trick was to set in its configuration dialog (apart from its IP):

port: 8899

Stream_0 was ok (HD), but the auto-detected stream_1 cam up as disabled; after manually enabling it from the “entities” configuration page, it worked flawlessly, with reduced resolution, as it should (hence, lower latency).

2. Streaming performance

The latency is significant, ~7sec, while in my mobile-app it’s close to ~2 sec, so i guess the later is using WebRTC (instead of ffmpg used by hass, i guess).

3. PTZ

With latest hass-containerd 2021.6.4, ONVIF has been improved not to throw any warnings.
(maybe PTZ had been recognized with previous version 2021.5.5, but didn’t know how to install it - absence of warnings made my bolder).

For the PT-controls (no Zoom, my camera probably doesn’t have it), i adapted the picture-elements card found at the bottom of amcrest-camera, pasted below.

Note that only move_mode: ContinuousMove is supported, both RelativeMove & AbsoluteMove issue unsupported warning-logs - have no idea how to setup GotoPreset mode.

type: picture-elements
entity: camera.v380_1_stream0_0
camera_image: camera.v380_1_stream0_0
camera_view: live
elements:
  - type: icon
    icon: mdi:arrow-up
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 25px
      bottom: 50px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: UP
  - type: icon
    icon: mdi:arrow-down
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 25px
      bottom: 0px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: DOWN
  - type: icon
    icon: mdi:arrow-left
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 50px
      bottom: 25px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        pan: LEFT
  - type: icon
    icon: mdi:arrow-right
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 0px
      bottom: 25px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        pan: RIGHT
  - type: icon
    icon: mdi:arrow-top-left
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 50px
      bottom: 50px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: UP
        pan: LEFT
  - type: icon
    icon: mdi:arrow-top-right
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 0px
      bottom: 50px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: UP
        pan: RIGHT
  - type: icon
    icon: mdi:arrow-bottom-left
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 50px
      bottom: 0px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: DOWN
        pan: LEFT
  - type: icon
    icon: mdi:arrow-bottom-right
    style:
      background: rgba(255, 255, 255, 0.35)
      right: 0px
      bottom: 0px
    tap_action:
      action: call-service
      service: onvif.ptz
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983
        move_mode: ContinuousMove
        tilt: DOWN
        pan: RIGHT
  - type: icon
    icon: mdi:camera
    title: 'TODO: snapshot (in SD?)'
    style:
      background: rgba(255, 255, 255, 0.35)
      bottom: 25px
      right: 25px
    tap_action:
      action: call-service
      service: camera.record
      service_data:
        device_id: 7138caad78f448c6678e1029c2992983

4. Recording

Not configured yet (yet :frowning:), therefore the middle-button, above, does not work.

I would love to record through WebRTC (see below), for lower latency.

5. Capture sound from Mic / Speak to Loudspeaker

My V380 has 2-way sound capability, but VLC cannot play the received sound-stream
Have no idea how to send sound to camera’s loudspeaker.

For receiving the sound, i’m experimenting with WebRTC HACS integration…

6. Logs

Pasting below my debug logs (from 2021.5.5, with 2021.6.4 warnings have gone!), for future reference.
Note that no user/pswd was needed (tried also with username: admin, nothing changed).

homeassistant    | 2021-05-25 10:37:13 DEBUG (MainThread) [homeassistant.components.onvif] Starting ONVIF discovery
homeassistant    | 2021-05-25 10:37:16 DEBUG (MainThread) [homeassistant.components.onvif] Discovered ONVIF devices []
homeassistant    | 2021-05-25 10:38:21 DEBUG (MainThread) [homeassistant.components.onvif] Fetching profiles from ONVIF device {'host': '192.168.1.123',
homeassistant    |  'name': 'V380-1',
homeassistant    |  'password': '',
homeassistant    |  'port': 8899,
homeassistant    |  'username': ''}
homeassistant    | 2021-05-25 10:38:23 DEBUG (MainThread) [homeassistant.components.onvif] Couldn't get network interfaces from ONVIF deivice 'V380-1'. Error: Method 'ns0:GetNetworkInterfaces' not implemented: method name or namespace not recognized
homeassistant    | 2021-05-25 10:38:25 DEBUG (MainThread) [homeassistant.components.onvif] Setting up the ONVIF device management service
homeassistant    | 2021-05-25 10:38:25 DEBUG (MainThread) [homeassistant.components.onvif] Retrieving current device date/time
homeassistant    | 2021-05-25 10:38:25 DEBUG (MainThread) [homeassistant.components.onvif] Device date/time: 2021-05-25 07:03:26+00:00 | System date/time: 2021-05-25 08:38:25.571230+00:00
homeassistant    | 2021-05-25 10:38:25 DEBUG (MainThread) [homeassistant.components.onvif] Couldn't get network interfaces from ONVIF device 'V380-1'. Error: Method 'ns0:GetNetworkInterfaces' not implemented: method name or namespace not recognized
homeassistant    | 2021-05-25 10:38:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.onvif
homeassistant    | 2021-05-25 10:38:27 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new camera.onvif entity: camera.v380_1_stream0_0
homeassistant    | 2021-05-25 10:38:27 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new camera.onvif entity: camera.v380_1_stream0_1
homeassistant    | 2021-05-25 10:38:27 INFO (MainThread) [homeassistant.components.camera] Not adding entity V380-1 - stream0_1 because it's disabled
homeassistant    | 2021-05-25 10:39:08 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsp://****:****@192.168.1.123/live/ch00_1
5 Likes

Great post! I could see the stream by rtsp, but not with ONVIF, using the port you refered changed all! Finally can pan and tilt the cam with your code! :smiley:
Any more progress on other features? Thanks, @ankostis !

Could you please specify if you did any changes to the settings in the camera app (V380 Pro) compared to factory settings?
Also, how did you obtain the device_id? I guess this is just the entity_id