Ciao a tutti, ho 4 ip camera, di cui solo una ho aggiunto in motioneye e in lovelace col seguente codice:
[php]
- type: picture-glance
title: IP Camera Ingresso
camera_image: camera.ipcamingresso
camera_view: live
style: |
ha-card {
border: 0px solid gray;
{% if is_state('light.faretti_ingresso','on') %}
-webkit-box-shadow: 0px 0px 10px 10px rgba(255,0,0,0.5);
-moz-box-shadow: 0px 0px 10px 10px rgba(255,0,0,0.5);
box-shadow: inset 0px 0px 10px 10px rgba(255,0,0,0.5);
{% endif %}
border-radius: 20px;
}
entities:
- light.faretti_ingresso[/php]
per questa telecamera:
https://www.amazon.it/gp/product/B079JHNVQ9/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1
ma ho queste altre telecamere ma non riesco ad aggiungerle:
https://www.amazon.it/gp/product/B07N2MMGN9/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1
https://www.amazon.it/gp/product/B07SM8JX21/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1
https://www.amazon.it/gp/product/B07T96BQM8/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1
ps: con questo tema non posso taggare il codice