Giter Site home page Giter Site logo

lovelace-hass-aarlo's People

Contributors

alceasan avatar leandroissa avatar peterjburgess avatar rainieryoung avatar rwitlmarkf avatar thedk avatar tobynorhave avatar twrecked avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lovelace-hass-aarlo's Issues

Custom element doesn't exist: aarlo-glance.

Lovelace is getting "Custom element doesn't exist: aarlo-glance." for all my cameras. All camera sensors exist and are functioning. Not sure what broke it. Turned debugging on and didn't see anything remarkable. Updated HACS to 1.0.3 and started getting a huge annoying HACS logo.
HassOS 3.13
Home Assistant 0.110.2
Runnig HassOS in a Virtual Box Vm in Windows 10 Pro on an Intel Nuc

Any ideas?

Issue on Iphone?

Hi Steve! Love your work! thank you!

I just installed AARLO and the associated custom lovelace card. Everything is working great with one exception. When I attempt to live stream the camera on my Iphone 10 all I get is a blank box. Any ideas?

play_direct not working with safari

Running lovelace-hass-arlo v0.1.4.1
running aarlo 0.7.0-beta.3

Using an arlo baby, I have the following in my config including user_agent: linux

  username: !secret arlo_username
  password: !secret arlo_password
  user_agent: linux
  refresh_devices_every: 2
  stream_timeout: 120```

And in my lovelace card:

```entity: aarlo_orson
name: Kid's Room
play_direct: true
image_click: play
show:
  - motion
  - sound
  - snapshot
  - battery_level
  - signal_strength
  - captured_today
  - image_date
top_date: false
top_status: false
top_title: false
type: 'custom:aarlo-glance'

The card itself apperas to be attempting to play a blob from my raspberry pi rather than from arlo directly.

<video class=" video-16x9" id="stream-camera.aarlo_orson" poster="/api/camera_proxy/camera.aarlo_orson?token=[redacted]&amp;t=1598429664988" preload="auto" src="blob:http://raspberrypi.local:8123/[redacted]" autoplay="" controls="">
                        Your browser does not support the video tag.
                </video>

Any ideas how to get direct streaming to work on this camera?

install script does not run when installing with hacs leaving the file in a different location and different filename to what the README.md advises

the install script is supposed to run and do the following
mkdir -p /config/www
cp -afv dist/hass-aarlo.js /config/www/aarlo-glance.js

however when installing via hacs, the install script does not run and instead the files
hass-aarlo.js
hass-aarlo.js.gz
are located at
/config/www/community/lovelace-hass-aarlo/

the documentation at
https://github.com/twrecked/lovelace-hass-aarlo/blob/master/README.md
said to use the following incorrect URL for the resource

/local/aarlo-glance.js

when I tried to add a card using
- type: custom:aarlo-glance
I was getting the error
"Custom element doesn't exist: aarlo-glance."

I had to fix this by updating the path to
/hacsfiles/lovelace-hass-aarlo/hass-aarlo.js
as a Javascript Module on the resources page under lovelace dashboards

It was only after considerable time spent troublshooting and fixing it myself, that I realised the documentation at
https://github.com/twrecked/lovelace-hass-aarlo/blob/master/hacsinstall.md
said to use the following correct URL for the resource

/hacsfiles/lovelace-hass-aarlo/hass-aarlo.js 

For a new user, this subtle difference was easy to miss.
Just writing this up just incase anyone else has the same issue.

Options to remove fields

Screen real estate is a problem, especially on Mobile devices. Would be nice if you could actually hide the Title, Date Snapshot, and State. Yes you can put them on the top instead of the bottom, but would also make sense if you can physically hide them.

Home Assistant crashing when starting live stream

I've been using the aarlo-component and the lovelace-card for some time. Still image and archive videos are working just fine but every time I click to start the live stream home assistant crasches and restarts.

Using ffmpeg to capture the stream manually works fine.

The home assistant logs doesn't give much information (what I can tell)

2020-08-19 21:33:47 DEBUG (MainThread) [custom_components.aarlo] not homekit detected
2020-08-19 21:33:47 DEBUG (SyncWorker_0) [pyaarlo] _start_stream2::activities={'user-stream'}
2020-08-19 21:33:47 DEBUG (SyncWorker_0) [pyaarlo] post+response running
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] sending cameras/4N5266SU1E953 to 4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum BASE got cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloBase/4N5266SU1E953/activityState=startUserStream
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum CAMERA got one cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloCamera/4N5266SU1E953/activityState=startUserStream
2020-08-19 21:33:48 DEBUG (ArloEventStream) [custom_components.aarlo.camera] callback:Vardagsrum:activityState:startUserStream
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] sending cameras/4N5266SU1E953 to 4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum BASE got cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloBase/4N5266SU1E953/activityState=startUserStream
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum CAMERA got one cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloCamera/4N5266SU1E953/activityState=startUserStream
2020-08-19 21:33:48 DEBUG (ArloEventStream) [custom_components.aarlo.camera] callback:Vardagsrum:activityState:startUserStream
2020-08-19 21:33:48 DEBUG (SyncWorker_0) [pyaarlo] url=rtsps://arlostreaming317-z1-prod.wowza.arlo.com:443/vzmodulelive/...
2020-08-19 21:33:48 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsps://arlostreaming317-z1-prod.wowza.arlo.com:443/vzmodulelive/...
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] sending cameras/4N5266SU1E953 to 4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum BASE got cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloBase/4N5266SU1E953/activityState=userStreamActive
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] Vardagsrum CAMERA got one cameras/4N5266SU1E953
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] _event::stream::activities={'user-stream-active', 'user-stream'}
2020-08-19 21:33:48 DEBUG (ArloEventStream) [pyaarlo] set:ArloCamera/4N5266SU1E953/activityState=userStreamActive
2020-08-19 21:33:48 DEBUG (ArloEventStream) [custom_components.aarlo.camera] callback:Vardagsrum:activityState:userStreamActive

These are the last log rows before crashing.

Aarlo: v0.7.0-beta.3
Lovelace-hass-aarlo: v0.1.4.1

System:
arch | x86_64
dev | false
installation_type | Home Assistant Core
os_name | Linux
os_version | 4.15.0-112-generic
python_version | 3.8.5
timezone | Europe/Stockholm
version | 0.112.4
virtualenv | true

Any idea how to debug further or any idea what might be wrong?

Very long delay

HI, the card is working well for me, but with a 10s video delay

I don't know if it's my configuration ( hassio on a raspberry pi ) but with anoter ip camera i have solved the problem with using :

https://github.com/AlexxIT/WebRTC

perhaps you can inspire from that ?

Thanks for the work btw.

Arlo Video Doorbell 1:1 Aspect Ratio

I have implemented the Arlo Video Doorbell. The problems is that the Arlo Video Doorbell has a different ratio then other Arlo cameras. The video doorbell has aspect Ratio of 1:1 with resolution 1536x1536, 1080x1080 or 720x720. When clicking to see the last recordings, the 3x3 grid overview chop off the top and bottom clips. The same problem with aspect ratio is also when streaming directly from the small window without fullscreen, but that is not so noticeable as the last clip grid 3x3 overview.
Would it be possible to add a setting in the Configuration where we can choose what type of camera we have and the aspect ratio gets adjusted?

Arlo Video Doorbell

Issues with modes being set

Hello,
I'm experiencing issues with Aarlo setting modes using the aarlo.alarm_set_mode service. The problem seems to be very intermittent, and when debugging is enabled, is less problematic.
I find that often the service does not actual set the mode. The debug logs even show that its set to "armed" (or "disarmed" depending on what I am setting), but Arlo itself is not switching to that mode.

Here's an example from my hassio log when I tried to arm:

2021-06-23 12:58:45 DEBUG (ArloEventStream) [pyaarlo] sseclient-error=ChunkedEncodingError
2021-06-23 12:58:50 DEBUG (ArloEventStream) [pyaarlo] Fetching device list after ev-reconnect
2021-06-23 12:59:05 DEBUG (ArloBackgroundWorker) [pyaarlo] pinging Arlo Home
2021-06-23 12:59:07 DEBUG (ArloBackgroundWorker) [pyaarlo] set:ArloBase/4RE1737KA107B/connectionState=available
2021-06-23 12:59:07 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.binary_sensor] callback:Connected Arlo Home:connectionState:available
2021-06-23 12:59:17 INFO (SyncWorker_2) [custom_components.aarlo.alarm_control_panel] alarm_set_mode service called
2021-06-23 12:59:17 DEBUG (SyncWorker_2) [custom_components.aarlo.alarm_control_panel] Arlo Home set mode to armed
2021-06-23 12:59:17 DEBUG (SyncWorker_2) [pyaarlo] no mode change needed
2021-06-23 12:59:17 INFO (SyncWorker_2) [custom_components.aarlo.alarm_control_panel] alarm_control_panel.aarlo_arlo_home setting mode to armed

However if I go to the Arlo app, its still showing as Disarmed.
The same happens when I do the reverse (try to disarm when armed).

It seems to be very intermittent from what I can see too. After a reboot of HASSIO, it works the first 1-2 times ok, but then starts failing..

The device options: bell , bell2 get mixed up and don't display correctly

When using more then one doorbell entity/icon, they get mixed up and just one of them shows.

example card:

type: custom:aarlo-glance
entity: camera.aarlo_front_door
name: Front Door
image_click: recording
image_view: smart,direct
library_view: smart,download,duration
library_sizes: 3,4,2
image_top: name|status,onoff
image_bottom: motion,library,stream,snapshot,battery,door,bell,bell2|date
door: binary_sensor.front_door_wyze_sensor_2
door_bell: sensor.aarlo_motion_my_doorbell
door2_bell: binary_sensor.aarlo_ding_my_doorbell

image

Obs: What I really wanted to achieve, is an icon for the doorbell motion, and another for the doorbell pressed. An option to represent this better ( different icon?) would be awesome.
Thank you for the awesome aarlo component!

Can't get the lovelace card to work or stream video, but there are no errors in the logs

I have read literally every related bug on this repo as well as the parent aarlo repo. However, I am not able to get the lovelace card or live video streaming to work with the hass-aarlo component.

The cards always look like this on the UI.
Screen Shot 2020-07-13 at 5 10 14 PM

I have enabled debug logs using the following in my configuration.yaml

    ffmpeg: debug
    custom_components.aarlo: debug
    custom_components.aarlo.camera: debug
    custom_components.aarlo.media_player: debug
    pyaarlo: debug

However, the Aarlo module throws absolutely no errors in the log. The rest of the features work perfectly and I am able to control camera states, playback previously recorded videos, track binary sensor changes and all the other features provided by Aarlo. It is just the live streaming part that does not work.

  • FYI, I use two Arlo Pro 2 cameras and do not have any Arlo Q cameras. I have tried enabling and disabling the stream: component too, but to no avail.
  • I am running HA using HassOS, which comes with ffmpeg built-in. I am able to stream my other http and rtsp based cameras with HA, without any issues.
  • Lastly, I have TFA enabled for my Arlo cameras and have configured the imap feature of Aarlo beta to use it. It has worked quite well for me till now.

Could you please guide me on what I could be doing wrong?

No Sound Icon in

Running
lovelace-hass-arlo v0.2-alpha.13
aarlo 0.7.1.beta.1

On the new view it didnt show the sound-icon. On the old-view it works fine.
Here is my aarlo lovelace card-config:

type: 'custom:aarlo-glance'
entity: camera.aarlo_einfahrt
name: Einfahrt
image_view: direct
image_top: 'name,date,status'
image_bottom: 'motion,library,snapshot,battery,signal,on_off,sound'
image_click: stream
library_sizes: '3,4,2'
library_view: download

Error on Android phone but works on laptop and fire HD 10

I have updated the integrations but having an issue with viewing the cameras on my mobile phone (android). It is working fine in my laptop, Amazon fire HD10 with no issue. I just keep getting this on my phone
Screenshot_20210203_231123_io homeassistant companion android

I have deleted the app, cleared the cache etc... Any ideas?

unable to use aarlo camera

Screenshot_20210216-074256_Home Assistant

as you can see from attached picture i'm not able to use camera with latest alpha...what i have to do? it is only my issue?

refresh image/preview when motion or sound is detected

Any possiblity to refresh the (preview)image of the glace when a movement (or sound) is detected?

Seems sensors are almost live, but the picture and date of the last capture didn't update until I replay the capture or create a snapshot.

Custom element doesn't exist: hass-aarlo.

Installed the aarlo camera support and the lovelace hass aarlo from the HACS store.

Checked the RAW UI:
resources:

  • type: module
    url: /hacsfiles/lovelace-battery-entity/battery-entity.js
  • type: module
    url: /hacsfiles/lovelace-hass-aarlo/hass-aarlo.js

The following error:

`Custom element doesn't exist: hass-aarlo.
type: 'custom:hass-aarlo'
entity: camera.aarlo_front_door
name: Front Door
show:

  • motion
  • sound
  • snapshot
  • battery_level
  • signal_strength
  • captured_today
  • image_date`

Thoughts?

"wsStopStream failed" at end of video

Hi. Recently (sorry, not sure when it started. A week or two ago?) I started getting a popup dialog that says "wsStopStream failed [object Object]" when a video stops, either by reaching the end or pressing the stop button. This happens on latest Chrome and Safari on OS X 11.2.3. HA is core-2021.3.4 and Lovelace Hass Aarlo is v0.2.0b3. I don't see anything in the JS console at the time of the message. Everything otherwise works fine as far as I can tell. Let me know if this is a config problem or if I can help diagnose it.

Allow the use of URI get variables to autostart stream, specific, or last recording

Allow the use of two URI get variables that would put the card into different views. I would like to directly link to this card alone in a view using a URI like /cameras/front-door?stream and /cameras/front-door?recording=unique_id. I would like to use some sort of unique id that could be obtained by the aarlo integration that we already were discussing in the issue for the last activity. I could probably look into working on these things with you if you'd like. I am just wondering if it's even possible or if maybe the card already behaves like this? I'm making an assumption that the videos have unique ids from arlo to start.... Haha. Thanks!

Next camera button not visible in safari

When using entities to show multple cameras, the button to go to the next camera is not visible on an ipad (safari). It is visible on a PC.

Additionally would be nice to have a button to go back

wsLoadLibrary failed {err}

Hi,
I seem to get this error if Arlo has a problem with a camera - E.g. When the Arlo camera has gone offline in the Arlo app I have this error raised in a popup in the Safari browser repeating for each camera that is offline. Does that sound likely or do I have a config issue?

Thanks!

Syntax error loading on Safari browser

In v0.0.8

Seeing this in the debug console: Safari doesn't show me the line number. The card works fine in Google Chrome.

[Error] SyntaxError: Unexpected token ';'. Expected an opening '(' before a method's parameter list.
[Error] Unhandled Promise Rejection: /community_plugin/lovelace-hass-aarlo/hass-aarlo.js

no module named 'cloudscraper'

installed via HACS.
File "/config/custom_components/aarlo/pyaarlo/backend.py", line 9, in import cloudscraper
ModuleNotFoundError: No module named 'cloudscraper'

Error: Custom element not found: aarlo-glance

Hi, bought new arlo cameras. So I installed the aarlo integration (needed to update my hassio to the newest version). But can't seem to install lovelace-hass-aarlo. Always the same error. (Error: Custom element not found: aarlo-glance). I tried installing it via HACS and manually but nothing. Please help! :)

No live stream

Everything is working apart from live streaming i can see motion and sound alerts etc and recording but if I click on the image it acts like its playing ie the stop button is present but there is no live stream just a still image.

Ive read the posts mentioned on this issue but unsure what version im running and if this is even possible im running the windows virtual box version and will soon be moving to a intel nuc install will only be home assistant installed will it work there?

frontend_latest/chunk.* Uncaught TypeError: Cannot read property 'split' of undefined

I have started encountering this error with the Aarlo Glance Card in the latest Home Assistant Beta's.

Logger: frontend.js.latest.202009070
Source: components/system_log/__init__.py:193
First occurred: 9:21:54 AM (5 occurrences)
Last logged: 9:21:54 AM

https://homeassistant.local/frontend_latest/chunk.92c2eeacab3f441bc0c1.js:2518:2650 Uncaught TypeError: Cannot read property 'split' of undefined
arch x86_64
dev false
docker true
hassio false
installation_type Home Assistant Container
os_name Linux
os_version 4.15.0-115-generic
python_version 3.8.4
timezone Europe/London
version 0.115.0b1
virtualenv false

Aarlo: 0.7.0-beta.3
Aarlo Glance: 0.1.4.1

Installed via HACS

Example dashboard raw config:

      - door_lock: lock.assa_abloy_yale_conexis_l1_sd_l1000_ch_locked
        entity: camera.aarlo_porch
        name: Porch
        show:
          - motion
          - sound
          - battery
          - signal_strength
          - captured
        top_date: true
        top_status: false
        top_title: true
        type: 'custom:aarlo-glance'

Image date showing 0

Image date just shows 0 unless I click take snapshot then it will show the correct date. Until it updates itself then it just shows 0 again.

Not sure if something I'm doing wrong or not.

TODO

Near

  • customize library controls
  • customize stream controls
  • record button
  • get some translations

Medium

  • plyr support

Done

  • icons and font sizes (small, tiny)
  • customizable layout
  • translation for states
  • turn chime on/off
  • track stream stop a lot better
  • tidy config, even breaking if needed
  • modal == fullscreen on mobile
  • allow option to choose fullscreen by default
  • multiple cameras for a library only card
  • improve responsiveness
  • restrict modal to certain user agents?
  • swiping
  • allow card size over ride
  • max library count
  • use Home Assistant language
  • languages
  • highlight object that caused capture
  • have latest/library-grid/library-image view or allow left and right on image with quick return to first
  • autoplay and continuous play
  • code tidy, create stuff more programmatically, stop the "change/render/change/render" cycle
  • use Arlo more directly where possible
  • modal window support
  • allow custom id for devices (battery, motion...) in the window

If there are no recent videos in library storage, empty grid shows with no "X" to close & return to previous view

Version Info:
lovelace-hass-arlo version Info: v0.2-alpha.9
Version | core-2021.2.2
Installation Type | Home Assistant OS
Host Operating System | Home Assistant OS 5.11
Supervisor Version | supervisor-2021.02.6
Docker Version | 19.03.13
Chrome Version 88.0.4324.150 (Official Build) (64-bit)

Issue:
When clicking on captured icon for a camera entity that has recordings, gird of videos displays normally with pagination and close buttons available. But if there are no videos in storage, for example for a new camera or for a camera that's been relocated and has no captures. only an empty grid displays without any control buttons provided. Only way to return to the camera snapshot view is to do a refresh or shift+refresh from the browser.

Expected Behavior:
Some kind of text message stating there are no recent captures and (at the least) a close button.

Screen shot of issue:
aarlo

Custom element doesn't exist: aarlo_glance.

Good Evening.
I installed HACS without problem.
I seem to have installed aarlo through HACS without issue.
I followed instructions and installed Lovelace Hass Aarlo.

I've placed this at the top of my UI Config Editor:

resources:

  • url: /local/aarlo-glance.js
    type: module
  • url: /community_plugin/lovelace-hass-aarlo/hass-aarlo.js
    type: module

This starts at line 1, before the entries for any Lovelace tabs/screens.

When setting up the card, this is what is displayed in the card:

Custom element doesn't exist: aarlo_glance.
{
"type": "custom:aarlo_glance",
"entity": "camera.aarlo_front_door_camera",
"name": "Front Door",
"show": [
"motion",
"sound",
"snapshot",
"battery_level",
"signal_strength",
"captured_today",
"image_date"
],
"top_title": false,
"top_status": false,
"top_date": false,
"image_click": "play"
}

Looking through my Hass install, there is no aarlo_glance.js anywhere.

Thanks for any help.

Camera battery and signal level stuck

Howdy,

I've recently setup Aarlo working just fine for the most part with my Arlo Pro 2 cameras.

My only issue is that if I use the 'Battery' or 'Signal' features, neither of them seem to work on any camera. The battery stays stuck on yellow at 0%, clicking does nothing and the signal icon doesn't show, but is there if I hover where it should be (showing 0 signal strength). I was getting issues with the status not showing either, but adding the extra permission to the HA user in the Arlo settings seems to have fixed that now at least.

Any thoughts?

Thanks in advance.

hls.min.js.map resource not found (error 404)

When I load my Home Assistant Lovelace interface with the Aarlo Glance card in Chrome Developer Tools, I get the following error:

DevTools failed to load SourceMap: Could not load content for https://cdn.jsdelivr.net/npm/hls.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I am not sure if this is because I am running Home Assistant behind a reverse proxy but if I take the above URL and paste it into my address bar, I get:

Failed to resolve the requested file.

I am guessing this could also be loosely linked to other users being unable to view their streams?

Integration: 0.7.0-beta.2
JS Module: 0.1.4.1

card_size has no effect

I have tried to set card_size to all kinds of positive numbers and no matter what the size of card always remains the same.

Deprecation warning in .107

Seeing the following error in .107.

Log Details (WARNING)
Logger: homeassistant.components.camera
Source: components/camera/__init__.py:545
Integration: Camera (documentation, issues)
First occured: 6:57:07 PM (6 occurences)
Last logged: 7:37:50 PM

The websocket command 'camera_thumbnail' has been deprecated.

Custom element doesn't exist: aarlo-glance

Hi,

I am running home-assistant 0.102.1 on venv and installed lovelace-hass-aarlo via HACS. I can see the JS file under /home/homeassistant/.homeassistant/www/community/lovelace-hass-aarlo/hass-aarlo.js.
I use Lovelace in GUI mode, so I went to the Raw config editor and added the following to the top:

resources:
  - type: module
    url: /community/lovelace-hass-aarlo/hass-aarlo.js

Saved and restarted home-assistant, but not only I don't have a aarlo-glance card option when trying to add a new card, but even if I go to Manual Card I can't use the custom:aarlo-glance card type:

image

I have checked and re-checked all the configurations and everything seems to be in order. The JS file doesn't seem to be loaded at all by Lovelace. I have also tried the following to no avail:

resources:
  - type: module
    url: /local/community/lovelace-hass-aarlo/hass-aarlo.js

Am I missing something or is there something really wrong? I tried to check if I could get to the file via curl, but no matter what I try I always get a HTTP 200, even for URIs that don't exist at all. :-(

Play video from library not working

Hi,

The video playback is not working properly on my side. The sound works but the image remains like a static preview. I tested on Windows 10 (Chrome and Firefox) and an Android Home Assistant app.

On the other hand the live mode works properly, but only when the camera is disarmed (this is maybe a different problem?).

I have a brand new install of Home Assistant and the Arlo Floodlight Pro 3.

here is my configuration.yaml

camera:
  - platform: aarlo
    ffmpeg_arguments: '-pred 1 -q:v 2'

light:
  - platform: aarlo

media_player:
  - platform: aarlo

alarm_control_panel:
  - platform: aarlo
    home_mode_name: disarmed
    away_mode_name: Gilles

sensor:
  - platform: aarlo
    monitored_conditions:
    - last_capture
    - total_cameras
    - battery_level
    - captured_today
    - signal_strength

binary_sensor:
  - platform: aarlo
    monitored_conditions:
    - motion
    - sound

and here is my card configuration:

entity: camera.aarlo_jardin
image_click: play
name: Jardin
show:
  - snapshot
  - motion
  - sound
  - battery_level
  - signal_strength
  - captured_today
  - image_date
top_date: true
top_status: true
top_title: true
light: light.aarlo_jardin
type: custom:aarlo-glance

Is there anything I could try?

New "light" attribute

I have two Arlo security lights set up in HA that are near two of my Arlo cameras. I added the "light: light.arlo_xxxx" attribute to the glance card for the corresponding camera but can't see any difference to the content of the card. What does this do?

Visual Issue when playing videos

Hi,

I really like the new video player with the "stop" function but I seem to be getting an issue with it (see below)

Hope that helps

image

Playback of videos not working when within Android Companion App

Hi,

I have been using this lovelace plugin successfully for a long time now and recently installed the Official Android Companion App for Home Assistant.

I have noticed that when I load my Arlo Camera recording from within the aoo, the playback is not working (the image just stays frozen when clicking on "play").

Note: Playing recordings works perfectly on the same android device if loaded from the normal browser (or as PWA)

Is there anything you can think of that could be causing this?

Arlo Ultra Battery Level Always 0%

I have six Arlo Ultra cameras running, and the battery_level on all cameras are shown as 0% although the actual battery level is close to 100% on all cameras.

Screenshot below:
Screenshot_20200813-211749

Developer Tools shows correct battery percentage:
Screenshot_20200813-212021

Can't get attributes working :(

So, just delved into HA for the first time and am deep down the rabbit hole.

I was able to configure Aarlo manually (because of the red warnings when setting up HACS) but was never able to get the lovelace-hass-aarlo working correctly.

As such, now working through HACS and have both Aarlo and this plugin working.

The issue is that none of the attributes are pulling through correctly (such as battery_level and singal_strength, showing up as 0).

My configurations are as follows:

#configuration.yaml

binary_sensor:
  - platform: aarlo
    monitored_conditions:
    - motion
    - sound
    - ding
    
sensor:
  - platform: aarlo
    monitored_conditions:
    - total_cameras
    - last_capture
    - recent_activity
    - captured_today
    - battery_level
    - signal_strength
    - temperature
    - humidity
    - air_quality

#entity attributes showing as working:

access_token: ######
model_name: VMC4030P
brand: Netgear Arlo
battery_level: 76
battery_tech: Rechargeable
brightness: 0
flipped: false
mirrored: false
motion_detection_sensitivity: 80
power_save_mode: best_video
signal_strength: 3
unseen_videos: 0
recent_activity: false
image_source: 'capture/04-28 14:04'
charging: false
charger_type: None
wired: false
wired_only: false

#lovelace card config

entity: camera.aarlo_front_door
image_click: play
motion: binary_sensor.aarlo_motion_front_door
name: Front Door
show:
  - motion
  - sound
  - snapshot
  - battery_level
  - signal_strength
  - captured_today
  - image_date
top_date: false
top_status: true
top_title: true
type: 'custom:aarlo-glance'

video does not play when clicking image

I have hass-aarlo and lovelace-hass-arlo installed. When I click on captured clips, I get the gallery view. When i click on an image, the audio plays but no video, just the still image. Not getting errors or warnings in the logs. Is this a known problem?

my install is on mac os x, python virtual env.
Thanks

Installation Help

I am new to Home Assistant and am having trouble figuring out how to add this card to my dashboard. I have aarlo and the Lovelace Hass Aarlo frontend installed via HACS. I’m able to see a picture card for each camera feed but would love to get this much improved card working. Looking at Configuration->Loveless Dashboards->Resources there’s a new JavaScript Module entry “ /hacsfiles/lovelace-hass-aarlo/hass-aarlo.js”. I’ve restarted Home Assistant and cleared my browser data but still do not see an aarlo-glance card. Any help would be greatly appreciated.

Displaying Module On Lovelace Views Causes Invalid Login Attempt Warnings

I have been having these warnings for a long time, and have never been able to trace the culprit:

Log Details (WARNING)
Logger: homeassistant.components.http.ban
Source: components/http/ban.py:114
Integration: HTTP (documentation, issues)
First occurred: 8:46:11 AM (1 occurrences)
Last logged: 8:46:11 AM

Login attempt or request with invalid authentication from myhomednsrecord.com (myhomeip) (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36)

However, I have stripped back my views to try and resolve this issue and have found that the Lovelace Aarlo card seems to be what is triggering it.

Steps to recreate:

Have Home Assistant working behind a Reverse Proxy with trusted_hosts set to Reverse Proxy IP and use_x_forwarded_for set to true

Any recent version of Home Assistant (I am using the beta, but the releases do the same - the beta just has more verbose logging)

Default Home Assistant authentication

IMPORTANT PART

Restart Home Assistant, then refresh the Lovelace dashboard - This triggers the warning on any devices where the page hasn't been refreshed since the restart.

Also sometimes, if I haven't refreshed the browser in quite a while, then do something on it, I get the same warning.

This sounds to me like some sort of a cookie issue??

Not all informations are displayed in image bottom

Since version 0.2-alpha.17 not all Icons are displayed in the new view in bottom.
In the old view there is no name, date and Status anymore.

my config for the new View (on_off and the light is not displayed):

type: 'custom:aarlo-glance'
entity: camera.aarlo_einfahrt
name: Einfahrt
image_view: direct
image_bottom: 'name,motion,library,snapshot,signal,on_off,sound'
image_click: stream
library_sizes: '3,4,2'
library_view: download
light: light.shelly_shsw_1_483fda82b077

alpha21newView

My config for the old view:

my config:
entity: camera.aarlo_einfahrt
image_click: play
name: Einfahrt
show:
  - motion
  - sound
  - snapshot
  - battery_level
  - signal_strength
  - captured_today
  - image_date
top_date: false
top_status: false
top_title: false
type: 'custom:aarlo-glance'

alpha21oldview

[Feature request] Modal video and video library window

I display my cameras in very small thumbnails because most of the time I'm not interested in them taking up realestate on my dashboard. However, this means when trying to view them, or the library, its crammed in to a very small square.

image

The default HA picture-glance lovelace card opens a modal window when you click on a camera feed - could this do something similar?

I was thinking this would be a good use of the image_click attribute. Options like image_click: modal-play_last, modal-play_live and modal-library would be neat!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.