let me try to increase GPU and revert. Hope it will help
Hey Thundergreen, I finally managed to download your floorplan. With my PC the object and material load is very fast and the rendering has a small delay of 2 seconds but, at the end it is working flawlessly. Of course if your NUC is old and has only an integrated GPU, I understand why it may struggle. In this case you should really do a special version of the house for your NUC, with simple objects (no bikes, etc.)
Release v0.9.11 is out.
You will find:
- client-side templates for entity
- rgb color format
- text entity span percentage
- perf improvements
I’m a bit confused with the latest template entity example.
Does that actually open/close the door object? I had just setup a door open and a door closed and hide one or the other. If it does, that would be great.
Hello Platup,
the example is not really meaningful. The best use of the entity_template is to transform the state of the entity in a flexible way. The best is when you have a numeric state that you want to transform into discrete values, Imagine that the entity is a temperature and you want to turn the color of an object into red if the value is greater than 25 degrees. You define an entity_template like this:
[[[ if ($entity > 25) { 'hot' } else {'ok'} ]]]
and then you define a color condition that is red when the state is ‘hot’.
Hope it is clearer.
I’ve finally a working version of the Sweethome3D plugin to obviate to the problem of object id changes across exports:
Follow the instruction in the README.
It requires to rebuild the cards as all object_ids have to be modified
Unfortunately I did not find an elegant way to implement the plugin (as it was previously suggested by other users: o tag). This version of the plugin may not work well in future versions of Sweethome3D as I had to rewrite the wavefront obj format export.
First of all. Thank for a great addon to Home assistant!
I think floorplans is a great way to show the status of my home.
One feature that i miss in sweet home 3d is the “3D annotation/callout” functionality.
The easiest way to explain what I mean is to look in this video:
(sketchup)
Adding Text, Labels, and Dimensions to a Model | SketchUp Help
I guess this is a missing functionality in sweet home 3d?, but here may be some Java gurus out there that somehow can add a top layer ? Would be great to show i.e climate status (temperature, humidity etc) this way.
Again. Thank you for a great addon!
Hello Bjorn,
thanks for the support.
Actually I have introduced the text feature a few releases ago. It is probably not as nice as your sketchup link, but you can place a plane object like a picture on a wall and bind it to a sensor entity. The text of the sensor entity will be displayed inside the frame of the object.
Try it out and let me know what do you think.
Andy
Yes. I have tried that and it works great, but not exactly what I am looking for.
I guess will have to post a feature request to the sweet home 3d team.
Thanks.
- Bjoern.
Published release 0.9.13 with support for the plugin https://github.com/adizanni/ExportToHASS/blob/9bd4bc8e55520046d80696a95ef2b642ea9592b1/dist/ExportToHassPlugin.sh3p?raw=true
and some editor improvements, bug corrections and performance improvements.
I see that you use Threejs to show the models.
ref. link below. Threejs seems to have the functionality, so I guess it should be possible.
I will try to have a look when i get some spare time.
How to make annotations move with the 3D model - Questions - three.js forum (threejs.org)
Hello Bjorn, three.js has thousands of different functionalities, animations, skies, effects… I think that my card has the potential to become a platform based on three.js. I will need help going forward
I totally agree.
Its been a while since i did Java, so i need to spend some time before im up to speed here.
Hopefully you will be getting some help from some java experts.
Release v0.9.14 is out:
- I’ve removed the drop down list for the entities from the UI card editor. It was too slow in HA with several entities. I’m planning to implement a better entity picker in the next releases
- I’ve sorted the object list drop down to pick your objects in an easier way
Release v0.9.17 is out:
-
Compatibility with Lit 2.0 (sorry there has been some unstability along the last releases): not an easy one; I have still some lit-element due to the helpers I’m using that have not been ported yet to lit 2.0
-
Overall, already introduced but stabilized the use of a combination of Ambient Light and Directional Light to illuminate the scene; let me know if you like it and/or what parameters I should introduce to let you customize the light experience
-
Introduced the management of Light temperature, but it is still a little experimental as I have some led bulb at home but i’ve seen that the management of lights varies greatly even inside home assistant depending on bulb capabilities. I cannot test all combinations;
Release v0.9.18 is out:
- Bug corrections. Again some imporvement and correction of light temperature management
- Introduced the shadow for light to stop going through wall; more realistic but also more compute intensive
How do I stop the light going through the walls?
3D View Walls transparency in SH3D is set to opaque
Hello Big-Ted, with the latest version (if you have HACS you can upgrade automatically), I have introduced the shadow parameter. if you set it to ‘yes’ the light will stop on walls and floors even thought it will still illuminate other objects. Be advised that when you acitvate the shadow, this will consume your PC resources and you may be forced to either simplify your model; or reduce the number of entities bound to the model (especially lights).
That makes it a lot better, as you say it solves the issue on floor and walls
Thanks
Good Evening ,
I have done a fresh installation of HA in vm on synology
i installed hacs and then floor3d-card
I created a www folder and put in another folder the files exported by sweet home together with the .sh3d file
I am making a new card but I can not see the 3d model
the code editor is as follows
sorry for my english and thanks in advance
type: custom:floor3d-card
entities: []
object_groups: []
name: home
path: /local/www/home
objfile: home.obj
mtlfile: home.mtl
1/2: 100% and stay here
pressing F12 I see
Failed to load resource: the server responded with a status of 404 (Not Found)
:8123/local/www/home/home.mtl:1 Failed to load resource: the server
floor3d-card.js?hacstag=a number I do not know if I should write:877 Uncaught Error
at Object.onError (floor3d-card.js?hacstag=a number I do not know if I should write:877)
at XMLHttpRequest. (floor3d-card.js?hacstag=a number I do not know if I should write:877)
Get Card Size Called