kaffetorsk / arlo-streamer

Continuous stream for Arlo cameras
MIT License
30 stars 5 forks source link

Installation #4

Closed ccie11827 closed 1 year ago

ccie11827 commented 1 year ago

Hi, great idea, just what I was looking for. I would like to integrate my two Arlo cams in Frigate. Unfortunately I am not able to make it work. Do you have a more detailed step by step installation guide?

My Docker compose:

version: "3.9" services: arlo-streamer: container_name: arlo-streamer image: kaffetorsk/arlo-streamer environment:

My .env's:

ARLO_USER= ARLO_PASS= IMAP_HOST=imap.gmx.net:993 IMAP_USER= IMAP_PASS= FFMPEG_OUT=-c:v copy -c:a copy -f rtsp rtsp://192.168.0.14:8554/eingang ARLO_REFRESH=3600 MOTION_TIMEOUT=60 MQTT_BROKER=192.168.xx.xx MQTT_TOPIC_PICTURE=default=arlo/picture MQTT_TOPIC_STATUS=arlo/status/{name} MQTT_TOPIC_CONTROL=arlo/control/{name} MQTT_TOPIC_MOTION=arlo/motion/{name} MQTT_RECONNECT_INTERVAL=5 STATUS_INTERVAL=120 DEBUG=False

Frigate: arlo01: ffmpeg: inputs:

Frigate Log: ERROR : rtsp://192.168.0.14:8554/eingang: Connection refused

ccie11827 commented 1 year ago

New try. Recognized, that the import of .env doesn't seem to work. I checked logins and passwords and i can access the Arlo web with it. The container always immediately stops after start.

Docker compose

version: "3.9" services: arlo-streamer: container_name: arlo-streamer image: kaffetorsk/arlo-streamer environment:

Log 2023-08-02 13:03:42,658 [INFO] pyaarlo: pyarlo 0.8.0b6 starting... 2023-08-02 13:03:42,767 [WARNING] pyaarlo: body-error=JSONDecodeError 2023-08-02 13:03:43,810 [WARNING] pyaarlo: body-error=JSONDecodeError 2023-08-02 13:03:44,877 [WARNING] pyaarlo: body-error=JSONDecodeError 2023-08-02 13:03:45,877 [ERROR] pyaarlo: authentication failed Traceback (most recent call last): File "/tmp/workdir/main.py", line 70, in asyncio.run(main()) File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/tmp/workdir/main.py", line 40, in main ) for c in arlo.cameras] ^^^^^^^^^^^^

kaffetorsk commented 1 year ago

2023-08-02 13:03:45,877 [ERROR] pyaarlo: authentication failed

This is the same as #5

Try pulling the docker image now that it's rebuilt