twrecked / lovelace-hass-aarlo

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

Can't get attributes working :( #28

Closed Stupco closed 4 years ago

Stupco commented 4 years ago

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'
twrecked commented 4 years ago

Sorry for the short reply, it's getting late here.

You need to make sure your Home Assistant Aarlo account has admin access.

Stupco commented 4 years ago

Super fast reply, you're awesome! Feel free to get some rest and reply when you get a chance :) It's early here in Australia.

Are you referring to Admin Access for my Secondary Email/Account within ARLO (proper) itself? I have double checked and my secondary email definitely has "Access Rights Granted" as per the name for in the latest app.

Just to clarify, the picture comes up and I can arm/disarm my alarm mode from HA. It's just some of the attributes aren't passing (like battery_level and signal_strength in the Lovelace UI).

Stupco commented 4 years ago

https://imgur.com/a/7gUCAwg

twrecked commented 4 years ago

Greeting from Ottawa. It's early(ish) here now.

Did you rename your binary sensors?

What are the values against the binary sensors? The lovelace card uses the binary sensors for the icons. That way we can give a history when you click on them.

Stupco commented 4 years ago

Hi Twrecked! Thanks again for your assistance and prompt reply.

I pasted all my code in the comments above as per what is in the Configuration.yaml and what values output for in my entity attribute snapshot.

Haven't renamed my binary sensors anywhere else. My (limited) understanding is that battery_level wouldn't be a binary sensor as it has more than just a 0/1 output, so it's a regular sensor and configured as per recommendation in the Aarlo setup. https://github.com/twrecked/hass-aarlo

Stupco commented 4 years ago

Hi Twrecked, so sorry for wasting your time! I am learning everything from scratch.

It seems the error came from me having 2x sensor: entries in my config. I put them all under one and seems to be working perfectly.

Next I need to figure out how to get the LoveLace cards to update the Snapshot when I open the page? I guess that's another journey.

Again, sincere apologies for wasting your time and many thanks for your assistance!