Тёмный
No video :(

How to set up the Picture Elements card in Home Assistant - Lovelace 

JuanMTech
Подписаться 43 тыс.
Просмотров 125 тыс.
50% 1

Опубликовано:

 

4 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 94   
@JuanMTech
@JuanMTech 5 лет назад
REMINDER: Check out the written guide on my website for any changes to the configuration. --> www.juanmtech.com/set-up-the-picture-elements-card-in-home-assistant/
@paulfecht
@paulfecht 4 года назад
Having some trouble getting the card to show up on my Overview screen. I've followed the video to the letter to 2:35 and I do not get the picture. This brings me to a couple questions: 1). Do I need "views: " at the top of my ui-lovelace.yaml file? 2.) In my configuration.yaml I have a line that reads: " default_config: " ..... do I need the : " lovelace: mode: yaml " line in there? I'm running the latest HA. Thank you for any help. Best. I've been following the written guide also. Do I have to use YAML mode? and if not what are the alternatives etc.
@roblowe9793
@roblowe9793 3 года назад
followed to the t - but picture not showing up
@DavesAstrophotography
@DavesAstrophotography Год назад
Hi Juan, the url is now 404
@erikophof5775
@erikophof5775 4 года назад
After a couple of days sweating to get a state-icon instead of a state-badge and then finding out it is as simple as this! Awsome video for getting the me in the right direction.
@WINGNUT307
@WINGNUT307 Год назад
Icon resize is now '--mdc-icon-size: 42px' Nice video - got me going with my floor plans nicely. Thanks.
@ecology78248
@ecology78248 5 лет назад
Excellent video. You always have the clearest instructions.
@vaughanza
@vaughanza 5 лет назад
Thanks for the awesome video. It would appreciate it for some more updated videos on Home Assistant as HA ( Hassio ) is changing so often. Like to see more ideas and tips and tricks with Lovelace. Thanks again
@Talk2Giuseppe
@Talk2Giuseppe 4 года назад
Fantastic video! The pacing was perfect... The step by step examples were great! You made something that appears overwhelming on the surface look easy. Great job! BTW: Appears in live in Huntington. I was born there, moved to Northport during Jr High school. There are 3 generations on my family living in Huntington. Been gone for over 40 years and can still taste the pizza from Village Pizza!
@vCloudInfo
@vCloudInfo 5 лет назад
Another solid video Juan! Great production Value and great content! 📹
@kensch92
@kensch92 4 года назад
Great guide. Just started with homeassistant and want to get a better view with floorplan
@kyuketsuki777
@kyuketsuki777 7 месяцев назад
Amaizing tutorial!!! Thank You so much!
@basterojc
@basterojc 5 лет назад
Well done a Juan, as usual the video is well thought out and informative. Thank you!
@JuanMTech
@JuanMTech 5 лет назад
You're welcome. More videos to come.
@lfcbpro
@lfcbpro 5 лет назад
Absolutely fantastic Juan, just what I was looking for, and gave me a few ideas too, cheers :)
@JuanMTech
@JuanMTech 5 лет назад
Glad to help
@AndrewGlasgow2020
@AndrewGlasgow2020 10 месяцев назад
Very helpful. If you do a follow-up I would like to know how to scale the view for devices of different sizes.
@PaoloPellizzari
@PaoloPellizzari 4 года назад
This is fantastic. Clear and useful
@jessiecheema
@jessiecheema 3 года назад
Great explanation! Very useful. You explain so clear, really appreciate your effort!
@palperts
@palperts 5 лет назад
Very clear and nice instructions Juan! Awesome. Waiting to see more of your great work. Thank you.
@JuanMTech
@JuanMTech 5 лет назад
Glad to help. More content to come.
@kriss1313
@kriss1313 4 года назад
Dude so many nice info explained here. Thank you.
@Sebastian-db6ur
@Sebastian-db6ur 4 года назад
Just awesome, keep the content coming, would love to see a few more vids about different cards, thx man
@yogeshwaranoo7
@yogeshwaranoo7 5 лет назад
Great work!!!!!!!!!!!!!!!!!!!, Very clear and crispy....keep going I waiting for your upcoming videos.
@itsanchez1
@itsanchez1 5 лет назад
5:10 😂 Thank you for your videos, they are very helpful!!
@rodrigofernandez4071
@rodrigofernandez4071 5 лет назад
Great video Juan. Thanks
@bdileo35
@bdileo35 5 лет назад
Gracias, si bien esta explicado muy bien es muy complicado para mi, igual logre grandes avances, te felicito por el aporte
@HFSoluciones
@HFSoluciones 5 лет назад
I can't make the card load the picture....created the www folder, whitelisted it, jpg or png, /local/picture.png or /local/www/picture.png......I tried everything but couldn't make this simple thing work! Any advice?
@mrteausaable
@mrteausaable 4 года назад
Like to see how to create the custom "mini-graph-card" on Lovelace UI.
@JuanMTech
@JuanMTech 4 года назад
You can use HACS to download it or manually from here github.com/kalkih/mini-media-player
@joaoadrianopereira6675
@joaoadrianopereira6675 2 года назад
Hello, Juan! Great Videos! can I sugest a topic? I would like a tutorial on how to integrate Xiaomi Scale in HA. There are some ressources (at least 2 methods of doing it) but I can't find my way on this. Thanks!
@canib9
@canib9 3 года назад
Thanks
@Know-Tree
@Know-Tree 3 года назад
Helli JuanMTech, Thanks for your wonderful details, Can you help me . I want to use cover "For curtain " with image not the icon, how to do.
@tomaszpaterak837
@tomaszpaterak837 3 года назад
thx a lot
@jayare7750
@jayare7750 4 года назад
After seeing a bunch of videos, I finally subscribed. Are there any update to this process or is this still the best and fastest way to do it?
@davidlister8130
@davidlister8130 5 лет назад
Great instruction video. One problem I have is how to make my layout to be a larger image. I tried increasing the size of picture with no success. Help would be appreciated.
@MatterSec
@MatterSec 2 года назад
Great video still! - My background main image is too big, I've resized it but taking up whole page and more, having to scroll to see whole image. Is there a way to size this down?
@dzeykop
@dzeykop 5 лет назад
Hey Juan Thank you for your amazing work 👍 I like your series about HA I see you use visual studio code is there a possibility that you make video about this program and how to set up, what you use and what is important? Thank you Joe
@JuanMTech
@JuanMTech 5 лет назад
I could look into making a video on different IDEs that can be used with Home Assistant. What is good about each one. If anyone else think is a good idea, please like this comment so I can put it in the to-do list.
@dinotech6692
@dinotech6692 5 лет назад
Thanks for another great video! Would love to see examples of 'circle-sensor-card.js' & 'card-modder.js'
@JuanMTech
@JuanMTech 5 лет назад
Thank you for the feedback. I'd look into it
@photelegy
@photelegy 2 года назад
7:37 Is there a way to make this condition more univerally? Something like "if the state of e.g. a button is on, than [style: opacity: 50%] otherwise [style: opacity: 100%]?
@evafitzelova8720
@evafitzelova8720 4 года назад
Thank you fir the video! Can you please explain what does the "iron" means in iron-icon-height? Thanks!
@bryonhulcher851
@bryonhulcher851 Год назад
how are you accessing HA's network file structure through windows explorer .. that doesnt work for me.. It makes me go to my HA OS ... Im trying to add a folder into my custom_components directory.. .
@raymondsiew1696
@raymondsiew1696 Год назад
Hi, thanks for the video. If there a way to add animation like rotation with speed if fan is 'on' istead of using .gif file for state_image: ?
@mattjdlewis
@mattjdlewis 2 года назад
hi Juan, im having a problem... when i look in my ha Visual studio code i cannot see anything called ui-lovelace nor can i see a yaml file called overview.yaml (im using the visual studio code within home assistant) can you help me work this out as i would love to make this work
@normanhamer2458
@normanhamer2458 5 лет назад
I think Home Assistant looks pretty good except I can't figure out how to copy or backup the system and restore it if I have a SD card crash. The only documents on backups at Home Assistant are incomprehensible. Have you ever backed up Hassio and if so could you do a detailed video on how to do it?
@JuanMTech
@JuanMTech 5 лет назад
Are you looking to make a complete image backup or just to backup the content and settings?
@CristianImbir
@CristianImbir 4 года назад
Thanks Juan, great video. Do you know how to flip an icon in Lovelace, so I can have it mirrored for example? Or rotate it, by the way.
@CristianImbir
@CristianImbir 4 года назад
Replying to myself, it seems ti's not yet possible, there have been some requests but it's not yet been done, as far as I could find out.
@vamarante
@vamarante 5 лет назад
With the new Lovelace UI Editor, it is different. I am trying now.
@JuanMTech
@JuanMTech 5 лет назад
If you use yaml mode then it would be the same but with the UI editor, its a bit different. I'm actually working on a new video to get started with Lovelace and the new editor UI.
@miterror4045
@miterror4045 5 лет назад
@@JuanMTech Are you far away with this new video.
@efronyv.1452
@efronyv.1452 4 года назад
thanks
@patrickmontgomery9854
@patrickmontgomery9854 5 лет назад
Great video! Is it possible to add the text of an entity attribute (such as thermostat temperature) as an element over the floorplan?
@JuanMTech
@JuanMTech 5 лет назад
You can use the state-label for that.
@patrickmontgomery9854
@patrickmontgomery9854 5 лет назад
@@JuanMTech thanks for the response! When I use a state-label for a climate device it only displays the operation_mode attribute. Is there a way to tell Lovelace which attribute to display?
@krzysztof6473
@krzysztof6473 5 лет назад
Thanks for such a great video. Just a quick question. Is it possible to add input_select to the floor plan?
@JuanMTech
@JuanMTech 5 лет назад
Good question. I don't think so. But, I can always be wrong. Edited: Not really because the only options available for tap_action and hold_action are: toggle, navigate, more info and call-service.
@ivansarmiento1ify
@ivansarmiento1ify 4 года назад
Hello, When i save the confi it says :No visual editor available for: picture-elements Please help
@TGMisKillingTheMiddleClass
@TGMisKillingTheMiddleClass 5 лет назад
any chance we could get a yaml file? I would love to browse through this as a whole instead of the parts, I am trying to wrap my head around this and it would help a lot.
@JuanMTech
@JuanMTech 5 лет назад
You can check out my GitHub github.com/JuanMTech/Home_Assistant_files
@wendan20
@wendan20 5 лет назад
Thanks for this usefull video! I have been experimenting and ran in to a problem. I made a simple picture elements card with two elements: a state label and an image. This image changes according to the state of the entity which is linked to the alarmpanel in HA . The strange thing is that the card (which is not a panel btw) works on my computer (Mac) but on the ipad, it does not show the image. I checked several browsers, but there is no image. The state label does work on the ipad. Hope someone can help...... Thanks.
@wendan20
@wendan20 5 лет назад
Solved! The path was wrong. For some reason the picture was still in memory or cache on my computer.
@sstockemer
@sstockemer 5 лет назад
Hey Juan. Great video! I love your channel. Do you have an explanation of the math required to place an image element on a picture elements card? This--> (style: top: 57.2% left: 31.8% width: 64.4%) or was it just trial and error?
@JuanMTech
@JuanMTech 5 лет назад
Trial and error.
@adamski4474
@adamski4474 2 года назад
Great Video. Do you have an idea why my resizing of the Picture-Element is not working? it doesnt matter is i change for example top: 100%. no effects panel: true type: picture-elements image: /local/Grundriss/WE7.png style: top: 20% left: 10% width: 10% elements: - type: state-badge entity: binary_sensor.rpi_power_status style: top: 20% left: 35% .....
@jayare7750
@jayare7750 4 года назад
Juan! You have to help me out! I have 2 images, 80x80 pixel, duplicates of each other except one has a vignette. But when I turn the entity on or off, both images are not aligned!
@jayare7750
@jayare7750 4 года назад
Nevermind, I figured it out! the issue is that the cache can't be cleared on the iOS device, you need to uninstall and reinstall the app. on the browser, you just need to clear your history and cache. Thanks! this Toot was great!
@tvlifedrone9443
@tvlifedrone9443 5 лет назад
thanks for video! I copied your config but in my case all the entities stay in bottom of the image, seems the the style command si ignored. Any idea?
@JuanMTech
@JuanMTech 5 лет назад
Refresh the page and try again. Someone else here had the same issue but he later stated that it was a browser issue.
@SVRockChalk
@SVRockChalk 3 года назад
Just tried this and could not get the Icons to resize and one of my switches will not work:, this is my code: type: picture-elements elements: - type: state-icon title: Kitchen Spot Light tap_action: toggle state_color: true entity: switch.kitchen_lights style: top: 63% left: 88% '--iron-icon-height': 75px '--iron-icon-width': 75px - type: state-icon tap_action: toggle entity: switch.island_lights style: top: 63% left: 78% - type: state-icon tap_action: toggle entity: switch.switch.4266770184f3ebce7d77 style: top: 38% left: 88% image: /local/home-1-Model - Copy (7).png any ides?
@MasterJBS
@MasterJBS 3 года назад
Hi, I have an issue when changing the width of the elements. I tried the code "--iron-icon-height: 40px" but doesn't work and in the editor it changes into this "'--iron-icon-height': 40px" and is not working. I also tried using the width code, but was unable also. Could you help?
@adamski4474
@adamski4474 2 года назад
i have the same issue. Do you have a solution now?
@MasterJBS
@MasterJBS 2 года назад
@@adamski4474 Hi Adam, I tried with this code "transform: scale(2.2,2.2)" and is working. Of course, you can adapt the numbers to your preference to fit better. Please place it under "style:". Let me know if it works.
@markdemasseur
@markdemasseur 4 года назад
Can you give a course of HTML/CSS/JS? Thx
@JuanMTech
@JuanMTech 4 года назад
🤔
@ogaanca
@ogaanca 5 лет назад
Can you share your configuration file? How you control the computer and Living room TV. Interested in TV remote numbers setup ...
@JuanMTech
@JuanMTech 5 лет назад
You can check out my GitHub github.com/JuanMTech/Home_Assistant_files I have to update some files and add the floor plan in there. To control my TVs, I use Harmony Hubs.
@ogaanca
@ogaanca 5 лет назад
Thanks for replying so fast. I have a question. Playback buttons type: conditional for some reason doesn't follow column_width: calc(100% / 4) rule. And for some reason, doesn't show name. Can you make a tutorial for conditional type? thanks one more time
@JuanMTech
@JuanMTech 5 лет назад
I have to update that. The variable “column_width” was changed to just “column”. Also, it automatically sets the columns depending on how many entities you set up. You can still define the amount of columns by just entering “column: 4”
@ogaanca
@ogaanca 5 лет назад
Ths it worked. BTW it is “columns: 4” for future reference :D
@davalavil
@davalavil 5 лет назад
Is possible put in picture element a climate or NEST
@JuanMTech
@JuanMTech 5 лет назад
Sensor? Yes
@Hjack7377
@Hjack7377 6 месяцев назад
My picture doesnt show😢
@TuncayAyhan
@TuncayAyhan 5 лет назад
Maybe I'm late to the party but you should change the title with "How to create a Floorplan with Picture Elements card in Home Assistant - Lovelace"
@JuanMTech
@JuanMTech 5 лет назад
Thanks for the suggestion.
@user-xu2pi6vx7o
@user-xu2pi6vx7o 3 года назад
Someone please explain to me why HA is so hostile to people who aren't programmers? Why do they hate people who can't code? There's not a single thing you can do in HA, that doesn't require coding. Oh yeah, you can add a sensor into HA, you just need to code support for it into the corresponding yaml file and you're good to go!
Далее
Fully Kiosk Browser and Home Assistant
19:13
Просмотров 187 тыс.
Nothing EVER Works! - Making a dumb door smart
16:57
Просмотров 1,9 млн
Home Assistant and Zigbee is all you need!
24:10
Просмотров 107 тыс.
Cast Your Lovelace Dashboards!
8:29
Просмотров 35 тыс.
This Just Made Face Recognition So Much Better!
12:28
Просмотров 111 тыс.
How To Make Your Dashboard Smaller And More Efficient
20:35