adizanni / floor3d-card

Your Home Digital Twin: aka floor3d-card. Visualize Home Assistant state and perform actions using objects in a 3D home model based on Three.js.
https://github.com/adizanni/floor3d-card
MIT License
448 stars 65 forks source link

Not working #157

Closed Grosscoder closed 1 year ago

Grosscoder commented 1 year ago

Logger: frontend.js.latest.202306080 Source: components/system_log/init.py:257 First occurred: 8:30:59 AM (1 occurrences) Last logged: 8:30:59 AM

http://homeassistant.local:8123/hacsfiles/floor3d-card/floor3d-card.js?hacstag=361776538153:2356:4517 Uncaught Error

adizanni commented 1 year ago

I would need more info, if you started from the sample model and you have tried to load your model, please do not forget to remove all references to the sample model (all entities and object groups)

adizanni commented 1 year ago

Please @Grosscoder without a comment before the week-end I will close the issue

Grosscoder commented 9 months ago

its still not working

adizanni commented 9 months ago

Hello @Grosscoder , I need more info, have you tried to do what I asked in previous comments ?

Grosscoder commented 9 months ago

Yes I removed everything but it's still not working

On Fri, Jun 30, 2023, 2:37 AM andyHA @.***> wrote:

I would need more info, if you started from the sample model and you have tried to load your model, please do not forget to remove all references to the sample model (all entities and object groups)

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1614197882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTDFD3EJHRH5MYJPZRLXNZX3JANCNFSM6AAAAAAZUDEWPA . You are receiving this because you authored the thread.Message ID: @.***>

adizanni commented 9 months ago

Can you please add the YAML of the card ?

Grosscoder commented 9 months ago

I will do it tomorrow in office.

On Sun, Nov 26, 2023, 6:07 PM andyHA @.***> wrote:

Can you please add the YAML of the card ?

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1826931657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTHOPIDZHPMDYX45ZU3YGPDSLAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHEZTCNRVG4 . You are receiving this because you were mentioned.Message ID: @.***>

Grosscoder commented 9 months ago

this is my yaml type: custom:floor3d-card path: /local/www/3d/ name: Home objfile: plain home.obj lock_camera: 'no' header: 'yes' click: 'no' overlay: 'no' backgroundColor: '#aaaaaa' hideLevelsMenu: 'no' globalLightPower: '0.8' shadow: 'no' extralightmode: 'no' show_axes: 'no' sky: 'no' overlay_bgcolor: transparent overlay_fgcolor: black overlay_alignment: top-left overlay_width: '33' overlay_height: '20' north: x: 0 z: -1 camera_position: x: 609.3072605703628 'y': 905.5330092468828 z: 376.66437610591277 camera_rotate: x: -1.0930244719682243 'y': 0.5200808414019678 z: 0.7648717152512469 camera_target: x: 37.36890424945437 'y': 18.64464320782064 z: -82.55051697031719 object_groups: [] entities: [] zoom_areas:

On Sun, Nov 26, 2023 at 6:11 PM Israel Gross @.***> wrote:

I will do it tomorrow in office.

On Sun, Nov 26, 2023, 6:07 PM andyHA @.***> wrote:

Can you please add the YAML of the card ?

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1826931657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTHOPIDZHPMDYX45ZU3YGPDSLAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHEZTCNRVG4 . You are receiving this because you were mentioned.Message ID: @.***>

Grosscoder commented 9 months ago

and this is what i am getting. [image: Screenshot 2023-11-26 202051.png]

On Sun, Nov 26, 2023 at 8:18 PM Israel Gross @.***> wrote:

this is my yaml type: custom:floor3d-card path: /local/www/3d/ name: Home objfile: plain home.obj lock_camera: 'no' header: 'yes' click: 'no' overlay: 'no' backgroundColor: '#aaaaaa' hideLevelsMenu: 'no' globalLightPower: '0.8' shadow: 'no' extralightmode: 'no' show_axes: 'no' sky: 'no' overlay_bgcolor: transparent overlay_fgcolor: black overlay_alignment: top-left overlay_width: '33' overlay_height: '20' north: x: 0 z: -1 camera_position: x: 609.3072605703628 'y': 905.5330092468828 z: 376.66437610591277 camera_rotate: x: -1.0930244719682243 'y': 0.5200808414019678 z: 0.7648717152512469 camera_target: x: 37.36890424945437 'y': 18.64464320782064 z: -82.55051697031719 object_groups: [] entities: [] zoom_areas:

  • zoom: ''

On Sun, Nov 26, 2023 at 6:11 PM Israel Gross @.***> wrote:

I will do it tomorrow in office.

On Sun, Nov 26, 2023, 6:07 PM andyHA @.***> wrote:

Can you please add the YAML of the card ?

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1826931657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTHOPIDZHPMDYX45ZU3YGPDSLAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHEZTCNRVG4 . You are receiving this because you were mentioned.Message ID: @.***>

adizanni commented 9 months ago

Try to put your object file name within simple quotes ''.

If you have used the export to obj function, you should also have an mtl file in your folder, put the name of it in the mtlfile field.

I do not see other issues.

Andy

Grosscoder commented 9 months ago

Thanks, I'll do that.

On Mon, Nov 27, 2023, 2:15 PM andyHA @.***> wrote:

Try to put your object file name within simple quotes ''.

If you have used the export to obj function, you should also have an mtl file in your folder, put the name of it in the mtlfile field.

I do not see other issues.

Andy

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1828463495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTER3PWDNCI77YRBZFTYGTRGRAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGQ3DGNBZGU . You are receiving this because you were mentioned.Message ID: @.***>

Grosscoder commented 9 months ago

It's still not working

On Mon, Nov 27, 2023, 9:36 PM Israel Gross @.***> wrote:

Thanks, I'll do that.

On Mon, Nov 27, 2023, 2:15 PM andyHA @.***> wrote:

Try to put your object file name within simple quotes ''.

If you have used the export to obj function, you should also have an mtl file in your folder, put the name of it in the mtlfile field.

I do not see other issues.

Andy

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1828463495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTER3PWDNCI77YRBZFTYGTRGRAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGQ3DGNBZGU . You are receiving this because you were mentioned.Message ID: @.***>

adizanni commented 9 months ago

Sorfry I noticed only now the URL /local is pointing to /config/www folder in home assistant, so you need to put /local/3d in the path

Grosscoder commented 9 months ago

Ok, I'll check it out.

On Tue, Nov 28, 2023, 6:01 PM andyHA @.***> wrote:

Sorfry I noticed only now the URL /local is pointing to /config/www folder in home assistant, so you need to put /local/3d in the path

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1830895739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTCRDL5E4FWX6UD4QMTYGZUNBAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQHA4TKNZTHE . You are receiving this because you were mentioned.Message ID: @.***>

Grosscoder commented 9 months ago

Thanks 🙏 it's working. You're the best.

On Tue, Nov 28, 2023, 8:36 PM Israel Gross @.***> wrote:

Ok, I'll check it out.

On Tue, Nov 28, 2023, 6:01 PM andyHA @.***> wrote:

Sorfry I noticed only now the URL /local is pointing to /config/www folder in home assistant, so you need to put /local/3d in the path

— Reply to this email directly, view it on GitHub https://github.com/adizanni/floor3d-card/issues/157#issuecomment-1830895739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVY6JTCRDL5E4FWX6UD4QMTYGZUNBAVCNFSM6AAAAAAZUDEWPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQHA4TKNZTHE . You are receiving this because you were mentioned.Message ID: @.***>