Space Homey - New Floor Plan Widget (in the works)

Me too and started all over :rofl:

1 Like

Been there lots of times :laughing:.
And with Space Homey, taking some pictures is all you need
H.A. is now “a bit” old fashioned on this point, isn’t it.

Understand. Will check.

1 Like

Keep an eye on rhis project. For now i’m playing with the interactive 3d floorplan in HA. Really cool.

1 Like

I’ve read the H.A. manual several times.
I still think it’s 10 years of work to get some results :rofl: It keeps me from starting.

1 Like

As a workaround for now you can make a virtual device with de VD app and pick your own icon on install for the devices you want to use in your floorplan.

I know Peter. I did this with with several ‘devices’ but something is telling me that @Ludvig will come with a solution soon :rofl:

1 Like

:wink: I have some time today so will look into stuff that have popped up. I would image this is an easy fix.

Hi. Love the app. Thank you for your hard work.
I was wondering if it would be possible to change the size of the device icons? I can barely see them on my screen.

Okay there are so many things here so I will try to look into it now.

  • Widget on start page: I see that it seems to cache in a different way. Its not reloaded when you load it up. So when you make changes they are not picked up. For now if you do changes you need to press Settings icon in the corner and reload the floor. Then it works at least for me. I think you can restart the App as well that will force reload I see now.

  • Only Default Icon working: i have found the difference in a device. Its a field named iconOverride which is null on default but when you select one you get a name. this was not the easiest to get hold of. But I found a url by some haxxoring and can download it to the device. You will for now have to remove the device and then add it again to get the icon. I will some future add like a refresh data function that will update name and icons automtically.

  • Icon size: For now you cant do this. But im planing on adding it somewhere that you can set your own icon scale factor.

  • Cant save: I can do that on browser and phone. Dunno why sadly :frowning: After you get the latest release try around then press send debug so i can see if i can catch it

  • Cant really see new devices: I have now changed so new icons are added at the bottom right corner

Latest version 0.0.12

2 Likes

‘Only Default Icon working: i have found the difference in a device’

Thanks for this quick fix

Rogier

1 Like

Thanks 4 the updates, Ludvig!

Just FYI: the widgets in the Dashboard view stop updating at some point in time as well (it seems to take some hours, not measured yet with a timer).
But:
That’s a generic bug, happening to any widget, to be fixed by Athom.

About this issue:
When I replace the device in the floorplan, to get it to appear with it’s selected icon instead of it’s default icon, the “override” icon shows fine as should:

But,
unfortunately not yet in the floor plan when added:

Diag report:
bca898d0-5209-4c4a-8d23-236640b11cff

Did several app restarts and such.
Is it working for you, @Rogier_Verheugen ?

Yes it does work for me.
I readded 25+ lights and smart plugs. They all showing the desired icon.

Because I run two Pro 2019’s, maybe there’s differences between Pro 2019 and 2023?

Yes i see in the logs.


2025-03-12T00:22:23.617Z [err] [SpaceHomeyApp] Widget API - getIconByName error: ReferenceError: fetch is not defined
    at Object.getIconByName (/api.js:33:30)
    at ManagerApi._onRest (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/@athombv/homey-apps-sdk-v3/manager/api.js:79:31)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

I guess Fetch is not included in standard Node. Its probaly running an older version. This is a quite easy fix. Either include it or just axios.

1 Like

Thats right, Homey 2016 uses an older Nodejs version which requires you to add fetch yourself. Here’s what I did in the Ring app:

2 Likes

Im now going for first production of the app. This will mean we will move over here for further discussions:

2 Likes

Icon fetching works like a charm now :smiling_face_with_three_hearts:

1 Like

This is my favourite app by far on the dashboard. If you split the floors works perfect on a decently sized tablet. If you can add temperatures which i think was a plan of yours would be even better.

Thanks @Ludvig

3 Likes

Nice! How did you made these images?