adizanni / ExportToHASS

Sweethome3D Plugin for Home Assistant Export
GNU General Public License v3.0
52 stars 5 forks source link

Model not loaded #5

Closed andbad closed 3 years ago

andbad commented 3 years ago

Hi, I'm trying to use this plugin to export my model, but Home Assistant card can't load the exported files. The floor3d card show "2/2: 100%" in upper left corner but nothing else. If I export the same model with the default export function of Sweet Home 3D, it were load correctly, so I think it's a problem in this plugin and not in floor3d card, but I'm not sure.

I checked that all the objetcs have an unique name.

In the log I found only: 2021-10-26 10:48:13 ERROR (MainThread) [frontend.js.latest.202110071] https://[hostname]:[port]/local/lovelace-custom/floor3d-card.js:1070:549090 Uncaught Error

This is the model: casa.zip

By(t)e

uspass commented 3 years ago

Did you try to clear browser's cache?

andbad commented 3 years ago

Did you try to clear browser's cache?

Of course, yes.

By(t)e

uspass commented 3 years ago

Can you post the SH3d file, please?

andbad commented 3 years ago

Can you post the SH3d file, please?

Yes, sure. casa.zip (SH3D file is in this ZIP)

By(t)e

uspass commented 3 years ago

The grouping you use in your SH3D file is not supported. Ungroup the groups and you'll be fine.

And another thing. I don't know if it is by design, but you have ceilings on your rooms, thus you won't be able to see inside. You can uncheck the ceiling in "Modify room" casa.zip .

andbad commented 3 years ago

I tried with no groups, but still to unload. At the end, I create a new card and now works.

Anyway, I don't see ceilings in my model, but I will disable them. :-)

By(t)e