Difficulty getting aarlo Lovelace card working

Hi folks, recently updated to supervisor-2021.02.6 on Debian.
Updated AARLO integration to the latest and am no unable to perform update update HASS Aarlo v0.2-alpha.9.
I try, it prompts to clear cache. I say okay and still no joy, the prompt persists.
As a result (I assume) I’m unable to see my camera’s anymore in lovelace.
It says the “Custom element doesn’t exist: aarlo-glance.”
I try and clear cache, no joy.
I’m running V07.0.14 of Aarlo integration. I’ll try and downgrade to see what it does…
Same issue on the iOS app…

Any clues?
Anyone else having trouble?

1 Like

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.

1 Like