Replies: 8 comments 49 replies
-
EXCELLENT! Thanks Tobias looks great. Will be interesting to see what others say they would like to have explained. I wonder if they might ask for a simple example of how to create the initial files? In this video you have used the Home example but you could use a simple one or two room blank plan and show how to add a single light bulb. From there you could explain when you need to use the element and entity lines in the yaml and when you only need entity. You could then show how to change the image of the bulb using image_set as you did in this one but also class_set by showing and hiding a top image and maybe even style_set. In this way you will have shown the relationship between the SVG, YAML and CSS which I think is often misunderstood. But again this was great and shows how to use so many parts of HA not just floorplan! Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, @exetico I've been looking at this for a few hours this afternoon and I still can't get it to work on my HA. Instead, I clicked on: add resource -> JavaScript Module and typed in: /hacsfiles/ha-floorplan/floorplan.js I did everything else as the video instructed. Is there anything else I can look at? I installed via HACS, uploaded the css and SVG files using file editor into the folder described in the video. I even used the same file names as the yaml code provided incase I had a typo. |
Beta Was this translation helpful? Give feedback.
-
One more thing, related to this post video, but a slightly different challenge. I made an SVG and copied some of the objects you created in your SVG file. I then uploaded my edited SVG to start working on my layout. I have attached the SVG that I have uploaded as well a screen shot of what I am seeing. Any idea on how to get floorplan to reference my new SVG vs the original? Is there some sort of cache I need to clear or something? |
Beta Was this translation helpful? Give feedback.
-
Can't make it work. Resources contain js, but still it doesn't work. |
Beta Was this translation helpful? Give feedback.
-
I followed everything in your video, but I get this error.. I can't for the life of me figure out what's wrong with it.. Can someone please help? |
Beta Was this translation helpful? Give feedback.
-
I have a small problem with loading the SVG file. Everything was done to the letter (with my own files) - and it failed to load. Backtracing, I downloaded the example files, and uploaded/used them (including the config) - also failed to load the home.svg image. There is clearly a difference between "Raw configuration editor" > saves (no error)> loads a blank page, and "Edit in YAML" which displays a big blue logo of HA (that is not the .SVG file I try to load, nor the home.svg used in the example). I saw this behavior in another post - with screenshots, but I can't find that. Workaround was to restart the HA. I did, but without luck. Note: Running latest HAOS 2024.2.1, on freshly deployed HA Green The only errors I receive in console are related to the HA entities that don't exist (I didn't change any entity from the example yet). Any hints? Something I should check before I go crazy? |
Beta Was this translation helpful? Give feedback.
-
Getting Started video for ha-floorplan
Hi. Today is ... a new day for me.
Yesterday i planned and recorded a video on how to get started with ha-floorplan. It's done with Home Assistant OS, which are the easiest way to get started with Home Assistant.
https://youtu.be/5ue9J4WG2a8
I really hope that I'll find time to create more videos in the future, with more specific content - but I've received quite a few requests on how to get started with ha-floorplan, in the last couple of years.
It's my first video in English and as a "teacher", but I've executed it the best I can, during a rainy sunday.
Attachments can be found here:
https://github.com/exetico/Home-Assistant_Attachments-for-YouTube/tree/main/1_Getting-Started-with-ha-floorplan
Please hit the like-button on the video, and write a comment. Thanks! 🙏
If you have any questions related to the video, fell free to drop them in this discussion 😃.
Links
Share your first frustrations about ha-floorplan here: #247
Buy me a coffee ☕: https://www.buymeacoffee.com/coffeetoexetico
Beta Was this translation helpful? Give feedback.
All reactions