I’m unable to get motion eye to properly add a wyze rtsp camera. Every time I click add it throws a warning “An error occured. Refreshing is recommended.” When I refresh the icon shows up with a line through the camera and I’m unable to view any streams. I did manage to get the camera to show up if I added a generic camera to my config file though, using the same parameters. Can anyone offer assistance?
- platform: generic
still_image_url: /config/Garage.jpg
name: Garage
stream_source: rtsp://test:[email protected]/live <-- works when I add this to config file
Here is a snip of some of the log messages when I try to add a device to motioneye:
WARNING: Connect error on fd 17: ECONNREFUSED
WARNING: Connect error on fd 17: ECONNREFUSED
[04/Sep/2020:22:20:45 -0700] 200 192.168.1.39, 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=1599283239555&_username=admin&_signature=ae7405b2dd43b41d6f50baa150b799423c287f51 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36)
WARNING: Connect error on fd 17: ECONNREFUSED
INFO: removing camera config file /data/motioneye/camera-1.conf...
[04/Sep/2020:22:20:46 -0700] 200 192.168.1.39, 172.30.32.1(172.30.32.2) POST /config/1/rem/?_=1599283246398&_username=admin&_signature=bcc604a63df51edebcc7efb8f09cdbf477d33aef HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36)
INFO: adding new netcam camera with id 1...
ERROR: motion failed to start
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tornado/web.py", line 1548, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/lib/python2.7/site-packages/tornado/web.py", line 1756, in wrapper
result = method(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/motioneye/handlers.py", line 300, in post
self.add_camera()
File "/usr/lib/python2.7/site-packages/motioneye/handlers.py", line 205, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/motioneye/handlers.py", line 710, in add_camera
motionctl.start()
File "/usr/lib/python2.7/site-packages/motioneye/motionctl.py", line 129, in start
raise Exception('motion failed to start')
Exception: motion failed to start
WARNING: Connect error on fd 21: ECONNREFUSED
WARNING: Connect error on fd 21: ECONNREFUSED
WARNING: Connect error on fd 21: ECONNREFUSED
WARNING: Connect error on fd 21: ECONNREFUSED
WARNING: Connect error on fd 21: ECONNREFUSED
WARNING: Connect error on fd 21: ECONNREFUSED