jayha
(jay)
July 6, 2017, 6:26pm
1
Hello,
not sure what i am doing wrong, but i have 4 ip cameras that i want to use with hA…
in my cameras.yaml file (below) if I have 2 cameras it works as expected…
- platform: amcrest
name: Living Room Camera
host: "10.10.1.223"
password: !secret camera_password
port: 9083
username: !secret camera_user
stream_source: rtsp
- platform: amcrest
name: Kitchen Camera
host: "10.10.1.224"
password: !secret camera_password
port: 9083
username: !secret camera_user
stream_source: rtsp
if i add a third this breaks?
any help?
Can you expand on what breaks? What is the error log outputing?
jayha
(jay)
July 6, 2017, 7:01pm
3
just re-did the 3rd camera and no errors…
maybe some white space is my guess… ?
This is what often breaks HA for a lot of people. Tabs instead of spaces or small missteps in the formatting.
jayha
(jay)
July 7, 2017, 1:37am
5
below is the error with the 4th camera
in “/home/homeassistant/.homeassistant/camera.yaml”, line 30, column 9
Jul 07 01:30:12 hassbian hass[7025]: found unexpected end of stream
Jul 07 01:30:12 hassbian hass[7025]: in “/home/homeassistant/.homeassistant/camera.yaml”, line 39, column 1
Jul 07 01:30:12 hassbian hass[7025]: 2017-07-07 01:30:12 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: while scanning a quoted scalar
Jul 07 01:30:12 hassbian hass[7025]: in “/home/homeassistant/.homeassistant/camera.yaml”, line 30, column 9
Jul 07 01:30:12 hassbian hass[7025]: found unexpected end of stream
Jul 07 01:30:12 hassbian hass[7025]: in “/home/homeassistant/.homeassistant/camera.yaml”, line 39, column 1
Jul 07 01:30:12 hassbian hass[7025]: Config directory: /home/homeassistant/.homeassistant
i was using the format of amcrest for a foscam camera… specifcally “” around the ip and using node instead of IP…
Can you post the config that is failing?
jayha
(jay)
July 7, 2017, 4:46am
7
error’s gone after i used the right format for the foscam camera…
however for this camera i get (error loading image)
thanks,
rpitera
(Robert Pitera)
July 7, 2017, 1:10pm
8
Try using the generice MJPEG camera for Foscam. I have two of them and they were not supported properly under the Foscam platform but work great with generic MJPEG.
jayha
(jay)
July 12, 2017, 1:41am
9
that didnt work, using generic MJPEG does the same…
rpitera
(Robert Pitera)
July 12, 2017, 1:50pm
10
I think @silvrr is right, we may need to see the version of the config that fails with the third camera added. Actually, seeing the entire cameras.yaml file would probably help as well as seeing the call in configuration.yaml to include it.