twrecked / lovelace-hass-aarlo

Lovelace card for hass-aarlo integration.
75 stars 23 forks source link

more then 1 camrea #34

Closed staticgroup closed 3 years ago

staticgroup commented 4 years ago

hey mate, nice integration (im struggling to get working) But thats me, I am struggling in general as I think i have too much squeezed in. I am wondering if you could provide a formatted example for multiplie cameras. thanks

Steve

twrecked commented 4 years ago

This taken from the raw config editor and is straight out of my test setup. It also includes a glance card with a summary of the alarm states.

  - badges: []
    cards:
      - entity: camera.aarlo_front_camera
        name: Front
        show:
          - motion
          - signal_strength
          - snapshot
          - captured_today
          - battery_level
          - play
        top_status: true
        top_title: true
        type: 'custom:aarlo-glance'
      - entity: camera.aarlo_driveway_camera
        name: Front Door
        show:
          - motion
          - signal_strength
          - snapshot
          - captured_today
          - battery_level
          - play
        top_status: true
        top_title: true
        type: 'custom:aarlo-glance'
      - entities:
          - entity: alarm_control_panel.aarlo_front_base
          - entity: alarm_control_panel.aarlo_rear_base
          - entity: alarm_control_panel.aarlo_front_lights
          - entity: alarm_control_panel.aarlo_rear_lights
        title: Bases
        type: glance
      - battery_id: sensor.aarlo_battery_level_front_camera
        entity: camera.aarlo_front_door_camera
        image_click: play
        name: Test
        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'
    title: Cameras
twrecked commented 4 years ago

Any update?

twrecked commented 3 years ago

Or did you mean multiple cameras in a single card?

anaisbetts commented 3 years ago

@twrecked Can you put this example in the readme? This was super helpful and I think some of the instructions at the moment ("Use custom card name aarlo-glance.js") doesn't match up with your example here that worked for me

twrecked commented 3 years ago

I've updated the README.md to show the correct card type.

There are plenty of examples here, including one to put multiple cameras on card.

I don't think the example in this thread should go there because it would need me to explain how to get into the raw editor and that is better handled by the Home Assistant docs.

twrecked commented 3 years ago

Closing, because I'm assuming this is working.

afagard commented 3 years ago

@twrecked awesome awesome work on your arlo integration. i'm using the newest version (so far so good), but found this question as I was looking for a way to have multiple cameras in the same card in some sort of grid view. does your integration support that? or should i just make separate cards for each camera?

twrecked commented 3 years ago

It almost supports it. You can have multiple cameras but

It should be possible to change the code show a grid view, I'll take a look.

afagard commented 3 years ago

yup I noticed that! i think i'll configure separate cards for now. definitely think it would be cool to have a multicam grid. in any case, greatly respect the work you've done - i can only imagine how much work you must have put in to this integration. 🥇