roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Error requesting stream: Camera is off"

MosheTzvi opened this issue · comments

Latest YiHack (0.4.4) and latest FW on my Dome Cameras (.49). I can't get any stream or images to show in HA. Rebooted several times. Tried the WebRTC add-in. By default, I get a "can't get URL for camera" error. If I enable RTSP on the dome camera, then I get "mse: source 0 error: dial tcp IPOFTHEDEVICE:554: connect: connection refused"
What am I doing wrong?
Cameras are on and working outside of HA.

commented

Check the switch:
immagine

It is in the state you have pictured.

commented

Does it work with VLC?

no
image

image

commented

Please, share your system.conf file (remove personal data, if present).

HTTPD=yes
TELNETD=yes
SSHD=yes
FTPD=yes
BUSYBOX_FTPD=yes
DISABLE_CLOUD=no
REC_WITHOUT_CLOUD=no
MQTT=yes
RTSP=yes
RTSP_ALT=no
RTSP_STREAM=both
RTSP_AUDIO=
RTSP_AUDIO_NR_LEVEL=0
SPEAKER_AUDIO=yes
SNAPSHOT=yes
ONVIF=yes
ONVIF_WSDD=yes
ONVIF_PROFILE=high
ONVIF_WM_SNAPSHOT=no
NTPD=yes
NTP_SERVER=pool.ntp.org
PROXYCHAINSNG=no
RTSP_PORT=554
ONVIF_PORT=80
HTTPD_PORT=8080
USERNAME=
PASSWORD=
FREE_SPACE=0
FTP_UPLOAD=no
FTP_HOST=
FTP_DIR=
FTP_DIR_TREE=no
FTP_USERNAME=
FTP_PASSWORD=
FTP_FILE_DELETE_AFTER_UPLOAD=yes
SSH_PASSWORD=XXXXXX
CRONTAB=
SNAPSHOT_VIDEO=yes
SNAPSHOT_LOW=no

commented

It's not critical but fix the option RTSP_AUDIO: it can't be empty.
The configuration is ok but rtsp doesn't work.
Check if the process is running:
ps | grep RTSP

I hard rebooted and it's working now. thanks.