twrecked / hass-aarlo

Asynchronous Arlo Component for Home Assistant
GNU Lesser General Public License v3.0
385 stars 78 forks source link

Custom aarlo-glance card #813

Open SohamJa1n opened 12 months ago

SohamJa1n commented 12 months ago

I have got my cameras setup however I want to be able to stream them, how can I add the glance card if I dont have HACS due to circumstances and I'm using dwains dashboard if that helps.

twrecked commented 12 months ago

You need to checkout the code and follow these instructions:

https://github.com/twrecked/lovelace-hass-aarlo#from-script

I think they should still work. If you want to do it by hand, this is the important piece, (DEST being where your files are installed):

cp -afv dist/hass-aarlo.js "${DEST}/www/aarlo-glance.js"
SohamJa1n commented 12 months ago

When you say checkout, do you mean just downloading the zip or using git checkout?

And what does this command do? Wondering if I can do it locally then upload it to my nas which has the docker container?

Thanks

twrecked commented 12 months ago

As long as you copy hass-arlo.js to www/arlog-glance.js it doesn't matter if you checkout it out or get a zip file.

And I don't know how your NAS works but if you can upload the file make sure to put it under /config/www.

SohamJa1n commented 12 months ago

Ah ok so I just need to copy the js to the directory and that's it?

twrecked commented 12 months ago

I believe so.