twrecked / lovelace-hass-aarlo

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

Missing signal and battery from cards #138

Closed Avatar1976 closed 1 year ago

Avatar1976 commented 1 year ago

Latest home assistant release has seen battery and signal disappear from the cards. Have confirmed they are still present on aarlo custom integration entities. Can't seem to get the card config to recognise signal and battery.

OH010 commented 1 year ago

Same issue here.

twrecked commented 1 year ago

Can you paste your lovelace card config?

edit: and what do you mean disappear?

Avatar1976 commented 1 year ago

Can you paste your lovelace card config?

edit: and what do you mean disappear? Config follows:

type: custom:aarlo-glance
entities:
  - entity: camera.aarlo_beneath_dwelling
    name: Beneath Delling
image_click: stream
image_view: direct
image_top: name,status
image_bottom: motion,library,signal,snapshot,battery

Screenshot_20230207_172648_Home Assistant

Avatar1976 commented 1 year ago

Can you paste your lovelace card config?

edit: and what do you mean disappear?

Let me know if you need more examples

twrecked commented 1 year ago

That's perfect. And it's a pretty simple config.

The next question is what is showing for the value of sensor.aarlo_battery_level_beneath_dwelling? Look in Developer Tools --> STATES.

Another quick one to try might be to force the backend to sse if it already isn't. You can add this to your aarlo config.

aarlo:
  backend: sse
Avatar1976 commented 1 year ago

Screenshot_20230208_075514_Home Assistant You may have just hit the nail on the head. Will try the modification to the aarlo config as you suggest and report back.

Avatar1976 commented 1 year ago

Swapped out the back end as you suggested. No change to the entity you mentioned above, I assume this is the default entity the aarlo glance looks at? Also wondered is it possible to get the front end config to read the attributes of the camera entity as per screenshot below. Screenshot_20230208_081002_Home Assistant

twrecked commented 1 year ago

Do you have admin access enabled on the shared account? Sometimes Arlo will turn it off, you need it for the battery devices.

Can you try the latest 0.7 version? It has some improvements in tracking states of devices, I noticed Arlo had changed their URL calls again.

I'll look into the other thing, I'm not sure how it works at the moment.

Avatar1976 commented 1 year ago

Do you have admin access enabled on the shared account? Sometimes Arlo will turn it off, you need it for the battery devices.

Definitely admin

Can you try the latest 0.7 version? It has some improvements in tracking states of devices, I noticed Arlo had changed their URL calls again.

Have updated to the latest version of aarlo, is there a new release of your Lovelace card?

twrecked commented 1 year ago

Did you try forcing a backend?

If so, I think we're up to the 'getting logs' time. Can follow the instructions here for Basic Debug and Very Verbose Debug and attach the output here. I'll see if I can spot something in it. I'd like to know why the devices aren't appearing.

OH010 commented 1 year ago

I just noticed that my "sensor:

twrecked commented 1 year ago

@OH010 Chances are that is it, something similar happened in another issue, you can only have one of each setting section.

Avatar1976 commented 1 year ago

Yep was trying to configure statistics platform and had a secondary sensor heading for that.

Avatar1976 commented 1 year ago

Fixed now apologies for raising something that was a problem of my own making. duplicate sensor sections was the exact issue.

twrecked commented 1 year ago

Glad it's working and have a good weekend.

Avatar1976 commented 1 year ago

Glad it's working and have a good weekend.

Thanks twrecked! You too buddy