JOOAN IP - PTZ Camera Integration

Hello,

I have discovered Frigate and could integrate them with Frigate. You can ignore my question.

I am trying to add JOOAN camera to my home assistant with ONVIF. It can find my device automatically fill all info except user name and password, and I am filling them. But it returns this error:

Error setting up ONVIF device: ActionNotSupported: <Element {http://www.w3.org/2003/05/soap-envelope}Detail at 0x7fbac58ef500> (code:env:Receiver) (subcodes:{http://www.onvif.org/ver10/error}ActionNotSupported,{http://www.onvif.org/ver10/error}ActionNotSupported). Check logs for more information.

I can see live camera and use PTZ via ODM. And I have checked that from ODM ONVIF is “discoverable”. I have double checked port number. And I am sure my password is correct since I am using same in ODM. I can also add this as generic IP camera with RTSP address but I did not able to add with ONVIF. It has static IP from modem. Does anyone have idea to solve this?

Additional question: It has 2 camera, I can see both of them via cam720 mobile app. Does anyone also know how can I add view from both of them since it has same IP address. I could not also see second camera(which does not have PTZ) in ODM.

I am running home assistant in old windows laptop with VM.
JOOAN W8U

1 Like

First go to “Cam720” app, [your camera], Device information, security. Either change your password or note down the default.

Now, go to the IP address shown in the device information in your browser, and it should redirect to the camera. The default username is “Admin,” and the password is whatever you set in step 1.

If your login worked, you now know you have access. I changed my RTSP to “Basic Authentication” (I don’t know if this is important). I had to use Google Translate on my phone to navigate the dashboard because it is all in Chinese.

now use: Complete Jooan IP Camera Setup Guide - ONVIF, RTSP and Tutorial Included to find the stream link for your camera.

In Home Assistant, add the “Generic Camera” integration, fill in the stream ID, select TCP, and enter the username and password.

You should now be able to access the camera in home assistant.

frigate works great too!

1 Like

Do you have success on ptz control? Have the same camera, ODM sees it, but ONVIF integration does not, so i can’t control ptz from home assistant ((

No, I can not control PTZ. I just set position and use it in that fixed position with Frigate.

In order to ptz control you can install this Hacs Integration

However it refers a different brand and type of camera works smoothly on Jooan A2-R U camera.
After following the installation instructions just add a picture glance card and code edit it by adding the follow:

type: picture-elements
camera_view: live
camera_image: YOUR_CAMERA_NAME:8899
elements:

  • type: icon
    icon: mdi:arrow-left-drop-circle
    tap_action:
    action: call-service
    service: ptz_camera.move_left
    service_data:
    host: YOUR_CAMERA_IP:8899
    style:
    bottom: 45%
    left: 5%
    color: white
    opacity: 0.5
    transform: scale(1.5, 1.5)
  • type: icon
    icon: mdi:arrow-right-drop-circle
    tap_action:
    action: call-service
    service: ptz_camera.move_right
    service_data:
    host: YOUR_CAMERA_IP:8899
    style:
    bottom: 45%
    right: 5%
    color: white
    opacity: 0.5
    transform: scale(1.5, 1.5)
  • type: icon
    icon: mdi:arrow-up-drop-circle
    tap_action:
    action: call-service
    service: ptz_camera.move_up
    service_data:
    host: YOUR_CAMERA_IP:8899
    style:
    top: 10%
    left: 46%
    color: white
    opacity: 0.5
    transform: scale(1.5, 1.5)
  • type: icon
    icon: mdi:arrow-down-drop-circle
    tap_action:
    action: call-service
    service: ptz_camera.move_down
    service_data:
    host: YOUR_CAMERA_IP:8899
    style:
    bottom: 10%
    left: 46%
    color: white
    opacity: 0.5
    transform: scale(1.5, 1.5)
  • type: icon
    icon: mdi:arrow-expand-all
    tap_action:
    action: more-info
    entity: camera.YOUR_CAMERA_NAME:8899
    style:
    top: 5%
    right: 5%
    color: white
    opacity: 0.5
    transform: scale(1.5, 1.5)