@Ralf It’s not possible at the moment. It’s on my todo list.
It’s the one where I’ve got them set as switches to be used.
Trying to take a snap shot if they are idle, I’ve only come across this as I set up an automation that was meant to update the snapshot image every 30 mins
Sorry, I meant, what do you have stream_snapshot
set to in your configuration. For example:
aarlo:
...
stream_snapshot: True
stream_snapshot_stop: 10
I’ve just noticed one of my Home Assistant installations is missing updates but the other is seeing them. Odd. I’ll double check snapshots this week.
Thanks, although I was hoping to determine how I can read the current mode as a sensor value so that it could be used in cards and automations.
Just want to say I love the new ‘modal-play’ option, a good new feature! Thank you.
I’m curious, is ‘modal’ a new way for popups to be launched within lovelace without the need for say browser mod, or is this something different?
@Eoin I think it’s just a standard browser feature. The picture element card has it I just got asked to implement for the lovelace version.
Ah, gotcha. It’s the state
. See here on how to set up the triggers. It can be disarmed
, armed
and armed_away
.
Getting a few of these in the log lately
2021-02-01 11:55:18 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream https://arlostreaming173-z3-prod.wowza.arlo.com:80/stream/4XH2717BAF741_1612151716678.mpd?egressToken=58b08a9d_dc09_4690_984f_c189d236766b&userAgent=web&cameraId=4XH2717BAF741_1612151716678&txnId=be!84446fc1-bb06-4d8a-991e-d42413c9fc3a
2021-02-01 11:55:22 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140684191870784] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds
2021-02-01 11:55:22 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140684235093040] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds
2021-02-01 11:55:49 WARNING (ArloBackgroundWorker) [pyaarlo] error in response={‘data’: {‘error’: ‘5011’, ‘message’: ‘The device failed to connect. Please try again.’, ‘reason’: ‘Camera did not stream’}, ‘success’: False}
Hi Steve,
Hope you are well? Thanks for the followup but no it has gone. Been a few changes/upgrades of your code since then and new HA release. New alpha card working without issues so you know
@grantc Sometimes Arlo can be difficult and that might have been on of those occasions.
And thanks for testing the alpha card, most of the card has been re-written so glad I’m glad it’s going ok but I’m sure some bugs will appear - Javascript/web isn’t my area of expertise. You try the library sizes yet? And are you seeing the event objects highlighted?
library_sizes:
- 3
- 10
- 2
Yes I am using the library_sizes option and works great - I don’t use the cameras for the motion detection as they are inside looking out. I use another motion sensor to trigger the camera on function. So I can’t see how the color options would work.
Fixed! thanks again
Would love to do some testing/research for you on the new card. I am seeing events highlighted, awesome feature!!! Can you explain to me the library_sizes? Maybe it can help with my issue with the Arlo Video Doorbell which has a resolution of 1:1 (square image, so doesn’t look right in the view (see below).
After some more playing I got Library sizes to work, that is a great feature. However, it looks like maybe the card needs to be larger to accommodate the doorbell resolution.
I have to check. Do you set the aspect ratio in the card?
aspect_ratio: square
I looked on the Github site for the lovelace-aarlo plugin and didn’t see aspect_ratio, or do I look somewhere else. Here is an example of what I have. I need to clean it up some.
- type: vertical-stack
cards:
# Driveway Camera
- type: 'custom:aarlo-glance'
entity: camera.aarlo_doorbell
name: Front Door
show:
- motion
- snapshot
- captured_today
- battery_level
- signal_strength
top_title: false
top_status: false
top_date: false
image_click: play
#play_direct: true
image_click: 'stream,smart'
library_click: smart
library_sizes:
- 2
- 3
- 10
Also note, when I look at the source for the card I see a Div Class of aarlo-aspect-16x9. When I change the padding-top value to be 100% it is square. Is that a setting in my configuration to force it square?
div.aarlo-aspect-16x9 {
padding-top: 55%;
}
Yep, should have just used what you said. I found it in the code and set the aspect_ratio to square, and it works great now. Just a note, I don’t see it documented on the github page. Thanks!!
Glad it’s working now.
I’m planning on improving the documentation along with all these other changes. When I wrote the lovelace
piece I got it working to the best of my abilities at the time and then just patched it as needed. When I patched it to support aspect_ratio
I forgot to add it to the docs.
Hi, @sherrell
Apologies for leaving you without an answer, had some personal matters that required my full attention.
I’m glad to report that is all seems to be working for now. Don’t ask me why though, I changed nothing… I did update to the latest version, maybe that did the trick.
Thanks for our prompt help!