r/homeassistant • u/katschung • Jan 02 '25
Pokemon Style Floor-Plan
I saw u/mythriz Zelda style floor-plan and that finally gave me the perfect Idea for my own home! I tried MyHome3D and just basic 2D SVG variants but I was never quite satisfied. Mimicking a game however was exactly my taste. I'm more a Pokémon kinda guy so I got going with the tilesets you can find on archive.org. Of course Pokémon doesn't have everything you need in a modern home, like flat-screen TVs or L-shaped sofas, even stuff like a sideways bed was missing since the game really isn't layed out to work like that. So I had to create some assets myself or modified existing ones.
The Daylight version is on the second slide. Everything has been put together with picture-elements card. Covers and appliances are still wip. (And yes the disappearing table has been noticed already...)
I'll gladly answer your questions.
70
u/trashcatt_ Jan 02 '25
This is the best floor plan I've seen so far. I must recreate it. Time to get some tile sets. Lol
38
u/katschung Jan 02 '25
There is a lot more in this Bundle but you can find the files under Essentials/Graphics/Tilesets
6
u/GritsNGreens Jan 02 '25
Any tips on how to look up other tilesets? I’d like to do the same but with Zelda tiles
17
u/WaistDeepSnow Jan 02 '25
A great way is to search RPGMaker tilesets.
Here's a great resource. https://www.spriters-resource.com/
For Zelda, https://www.spriters-resource.com/snes/legendofzeldaalinktothepast/
1
46
u/Jack2341123 Jan 02 '25
What did you use to create the floor plan?
57
u/katschung Jan 02 '25
Just Photoshop, but free alternatives like Gimp would work just as well.
29
41
u/Elon__Kums Jan 02 '25
Mandatory plug for Affinity Photo, paid software but you buy it once and own it.
3
11
u/WaistDeepSnow Jan 02 '25
With the tileset, you can use Tiled Editor (mapeditor.org), or even just MS Paint.
4
u/i533 Jan 02 '25
Hey! Took your advice. If you have used this program before, I could use a bit of help getting the tilesets cut up correctly
1
u/WaistDeepSnow Jan 03 '25
Can't remember if there is functionality within Tiled for that, but IIRC, there's a program for that. Otherwise, you can find the tiles themselves on some other sites with RPGMaker tilesets.
49
u/Freibeuter86 Jan 02 '25 edited Jan 02 '25
I love it, great job! It's basically one large image with further layers for the lighting sections?
I am a graphic designer, so no problem with this, but is there any good tutorial for the technical part?
Edit: Got it https://youtu.be/FeTrI_kogXs?si=t5z5IvrV4_9mntUU
29
u/katschung Jan 02 '25
That tutorial basically covers it. One thing i did to make it so smooth was to give every room.png an entity and add this style-filter. This makes the "light" fade in and out with your matching entity.
"on": opacity(100%) "off": opacity(0%)
3
u/Like14Ninjas Jan 06 '25
Can you elaborate a little bit on giving each .png an entity to fade the opacity?
2
u/JohnFCreep Jan 19 '25
This is what I use. It should work alike
- type: image entity: light.dimmer tap_action: action: more-info style: width: 9% padding: 10px top: 20% left: 53% z-index: 3 image: /local/floors/light_off.png state_image: "on": /local/floors/light_on.png state_filter: "on": brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold) "off": brightness(80%) saturate(0.8)
19
21
u/tobboss1337 Jan 02 '25
For those eager to recreate (like me). OP was inspired by this post. Here a free open-source 2D game engine was used to create the floorplan. Really nice idea and accessible for those not that talented in Photoshop to start with.
16
u/idratherbealivedog Jan 02 '25
This is fantastic. Well done.
I don't know a thing about Pokemon but can appreciate this
I just assumed the table was v2.0 of https://youtu.be/-_kXIGvB1uU
14
u/jaguar90 Jan 02 '25
OP have you found the secret rare candy yet? It's just above your kitchen plant!
11
u/FezVrasta Jan 02 '25
Anyone wanting to create a map quickly can use spritefusion.com, it has an online free version, just follow the tutorial because it's not super intuitive otherwise.
2
8
8
u/bibabutzi Jan 02 '25
Can you share some more insights on the grafics? More then archive.org? Do you plan to upload a bundle of the tiles for people who are not good with photoshop?
5
u/katschung Jan 02 '25
It's not that easy to create something like this if you have no experience at all. Especially the walls and windows can get a bit frustrating. But any decent graphics software is capable of achieving this with enough patience.
2
8
u/Th3Stryd3r Jan 02 '25
This was so well done I just opened up the thread when I saw Pokemon Style on HA and took 2-3 seconds to click what I was actually looking at and how it all worked. And that right there, that's how things should be designed. Fun, functional, and easy to just look at and go oh it's a house, let me turn something on or off.
That's dang near something a child could use (And I mean that as a compliment do to its ease of use overall). I didn't know you could even do this and now my day is going to be filled with rabbit holes thanks to you and /u/mythriz >< So thanks OP lol
7
u/xakmonster Jan 02 '25
Now I want to make a rimworld-themed floor plan. Too bad I'm too lazy.
6
u/Hanticko Jan 02 '25
To be honest you can build your house in Rimworld and then do some adjustements
7
u/mythriz Jan 02 '25
That's awesome, I also love that you made the lights actually "soft circles" instead of the "hard" black boxes I added (I just did it that way because that's what was in the example floorplans haha)! I may steal that idea for my floorplan too. :)
Love your design in any case, it looks beautiful!
7
u/ericstern Jan 02 '25
very cool, someone out there might have the skills to make a web home builder with pokemon tilesets
2
3
4
5
4
5
5
u/Kamah_PL Jan 02 '25
This is amazing. So calming, nostalgic and useful. This is why I use Reddit for. To see such „simple” yet original ideas made by creative people. We see GUIs polished by big tech and they pretty much make us think the same way. This on the other hand made me smile, made me feel nostalgic and happy. Thank you.
3
u/Hypfer Jan 02 '25
So I had to create some assets myself or modified existing ones.
Licensing could probably be troublesome here, but are you considering putting these updated and/or custom tiles somewhere online?
4
u/katschung Jan 02 '25
Well there are several people online who create custom "Pocket Monster" games and tilesets so I guess it should be fine?
5
u/BenBaril Jan 02 '25
How are y'all getting decent enough measurements to actually create a plan like this? Every time I try no walls match up, and it ends up a geometric mess
4
4
u/zeekaran Jan 02 '25
It doesn't have to be perfectly accurate. It just has to look like it makes logical sense.
Sort of like railway maps, where they have a messy version overlayed on an actual map, and then there is the simplified version streamlined for understanding the rail network and relevant stops.
3
u/unammusic Jan 02 '25
Can you provide the assets? I really want to do the same so badly
2
u/katschung Jan 02 '25
There is a lot more in this Bundle but you can find the files under Essentials/Graphics/Tilesets
2
u/Zealousideal-Sir-406 Jan 02 '25
what is the best way to separate the image files into individual textures? As a non graphic designer, doing this in gimp, manually moving the crosshair and selecting boundaries is proving a bit cumbersome.
2
u/katschung Jan 02 '25
That's exactly what i did. One side of the screen the plan on the other tiles and then you go left right left right and start copying pieces over.
3
3
3
u/bkw_17 Jan 04 '25
If anyone wants an easy to use map editor (it took me a long ass time to find one) check out this website:
You can add as many tilesets as you want and then it’s just a matter of choosing which tile you want and stamping it wherever you need it.
1
2
2
2
2
2
u/tobboss1337 Jan 02 '25
Amazing job with the lighting effects. I will take it as inspiration. Will need to have to cycle through different floors and garden/garage but could still be fun. Using a real game to walk around and switch devices would be the next level (...hmm time for a project)
2
u/mattx_cze Jan 02 '25
This si soo cool ! But where is sleeping Snorlax ?
1
u/ericstern Jan 02 '25
It comes up right in front of your driveway, but only suddenly when you have to go to an important interview or work day, and instead of looking like snorlax it looks like some jackasses car.
2
2
u/Chaosblast Jan 02 '25
This is insane. I really need to do this.
I struggle to understand what sort of files we need for this. So, I guess one is the static image, and then a full one for each of the possible variations for every light?
What's the amount of files required? I struggle to imagine.
3
u/katschung Jan 02 '25
It's one complete floor.png and then every section where there should be a light is a separate one. Then you do the same for nighttime if you're crazy. So right now I have 6 files per Day/Night
2
u/Chaosblast Jan 02 '25
Oh that's not too bad then! Thanks!
So essentially what it does is overlap each section when it's active, right? I guess it's then limited to multiple combinations for the same section, as the variations can get crazy.
2
u/katschung Jan 02 '25
2
u/Chaosblast Jan 02 '25
Amazing, thanks!!
So I guess the hard work is in creating the original floor plan first. Then it's a matter of copy pasting and adjusting the changes you want to be dynamic.
2
u/katschung Jan 02 '25
Exactly, it took me a day to create the base plan but the tiling and copy paste into HA was done in one or two hours.
1
u/Chaosblast Jan 02 '25
Ooof, I've spent a couple hours now trying to play with Solarus just like the Zelda guy did, but I wasn't able to make it work. I thought it would help make it easier having a grid based snap tool to design the floorplan. Or is there a way to do that with Photoshop?
Using your tileset, was there a way you did to autocreate all the elements? Or did you manually crop them one by one from the tileset pngs?
Also I haven't been able to find the doors and walls you used in the tileset you shared.
2
u/katschung Jan 02 '25
I cropped them one by one. I used interior, exterior, ship and department store graphics.
2
2
u/suppoxxz Jan 02 '25
Can you provide a link to the tileset from archive?
1
u/katschung Jan 02 '25
There is a lot more in this Bundle but you can find the files under Essentials/Graphics/Tilesets
2
2
2
u/hersheyphys Jan 02 '25
Wow I think I like this more than 3d. But if you have multiple scenes in a room, how would you edit this?
1
u/katschung Jan 02 '25
You could add every scene conditionally. Just like day or night you could do night with bright party lights or dimmed warm light.
2
u/midmod459 Jan 02 '25
This is incredible. I never thought of doing a pokemon style layout but it really works for me haha.
2
u/AdApprehensive8118 Jan 02 '25
This is a great idea! Trying to replicate that for my home. Unfortunately, I don't know how to import the tilesets. This seems to work to Solarus Quests only. How did you do it?
1
2
u/kenerwin88 Jan 02 '25
Setting this up is now my highest priority. Unbelievably cool and fantastic job. Ty for sharing
2
2
u/zeekaran Jan 02 '25
These always looked so cool to me, but it seems difficult to use for multi-floor houses.
2
2
2
2
2
u/middaymoon Jan 02 '25
Wait am I understanding correctly that turning on the lights on your map turn on the same lights in your home? My jaw is on the foor, what an awesome idea.
1
2
u/timmy16744 Jan 03 '25
This is amazing! And exactly what I'm currently making for myself! Currently stuck trying to get my wife and my little player model to move around based off Bluetooth signal strengths!
This is amazing work dude!!
2
u/Juli15boy Jan 03 '25
Wow! This is truly amazing!! I'm gong to do it for sure, I'm thinking that Stardew Valley-themed home-garden would be amazing too 👀
1
2
u/Akashic101 Jan 07 '25
I am trying the same and so far it works great, however I struggle with getting the light-image to overlap on the correct spot on all devices. On PC it looks like this while on mobile it overlaps perfectly. The conditional image does have the
transform: none
left: 0%
top: 0%
so it should fit but alas....
The yaml looks like this, maybe you see anything that throws things off:
square: true
type: grid
cards:
- type: picture-elements
elements:
- type: conditional
conditions:
- condition: state
entity: light.living_room_ikea_bulb_leuchte
state: "on"
elements:
- type: image
style:
transform: none
left: 0%
top: 0%
image: /local/living-room.png
- type: action-button
action: light.toggle
title: ""
data: {}
target:
device_id: e0f0c743614b010a18f785344fd1b48c
style:
transform: none
left: 45%
top: 40%
image: /local/out.png
columns: 1
1
u/katschung Jan 07 '25
I have my lights on a transparent canvas with the same dimensions as my background. If you want to use smaller single light files you could try absolute positioning with 'px' instead '%'
1
u/Akashic101 Jan 07 '25
That's the weird part, both of my images have the same dimensions. Here is the layout and here the lights. If its not too much to ask could you maybe take a look and see if you can reproduce my situation? I am still pretty new to HA and maybe I took a wrong step somewhere before
1
u/katschung Jan 12 '25
I tried to replicate ot but thats a bigger rabbithole than i thought. Can't help you it seems. I'm sorry.
2
u/arlexTech Mar 05 '25 edited Mar 13 '25
The idea is very good but i don't like photoshop so i made a python script to do it easier.
For those who are interested i created a repo TileMap_Maker
It's simple but that works (you need to install python and pygame to run it but nothing hard) You can ask me if you have issues
1
1
u/Shadowjonathan Jan 02 '25
How do you provide the lighting effects? What kinda dashboard configuration?
1
u/Emtree29 Jan 02 '25
This looks so good! I've checked the files in the bundle you sent, but I can't quite find some of the elements, like the walls. Did you create this by yourself? They really look nice
2
u/katschung Jan 03 '25
They should be in the interiors file on the very top, they come in blue by default and i changed the color for some rooms.
1
u/Kryzm Jan 02 '25
Oh man, this is genius. I might have to try it with some Stardew Valley tilesets...
1
1
1
1
1
1
u/Tropaia Jan 02 '25
I really love it. Can you give a short guide how you did it? Which program did you use?
Which HA addon did you use?
2
u/katschung Jan 03 '25
I used Photoshop and created several .PNGs You can find a basic explanation here and several tutorials on youtube. https://www.home-assistant.io/dashboards/picture-elements
It's built in to homeassistant.
1
1
1
u/Lazy-Philosopher-234 Jan 03 '25
Finally something truly innovative UI-wise. I applaud your effort OP, looks amazing and it's a very cheeky approach
1
1
1
u/sutefuu Jan 03 '25
What kind of overlay/color did you use for the night/day switch? And how did you edit the lights into it in photoshop?
1
1
1
u/FezVrasta Jan 03 '25
Are the walls custom? I can't find them in the tile sets 🤔 The blue one is thee but lacks the tile to make vertical sections
1
1
1
1
u/Itz_Evolv Jan 08 '25
This is AMAZING. By the way, I never knew that floorplans are a thing in HA? I’m still rather new with it I must say and today I will receive my first Zigbee antenna :) But this looks good. I think I will also make a floorplan if it’s a standard feature that I can use.
1
u/xXAzazelXx1 Jan 10 '25
Can you please post the yaml?
Or can you please explain exact process on how you made the dark to light transition when lights are on?
1
1
1
1
1
u/ElysiumHA May 15 '25
Would be awesome if you could interact with the home via a playable character.
1
1
u/valkyrie_rda Jan 02 '25
How do you do something like this? This is REALLY cool but I'm not familiar with Home Assistant. The farthest I've gotten with it so far is adding devices and getting them to show up in the system but I'm lost on dashboards. Thank you!!~
570
u/ryaaan89 Jan 02 '25
This is one of the coolest things I’ve seen on here.