Closed Umarkhabiliy closed 2 years ago
Hello @Umarkhabiliy, thanks to open the issue separately. Where is the Plan3 folder ? What do you see in the browser console ? (in chrome, open the menu "More Tools\Developer Tools" and click on the console tab. Cut and paste your log (if you see errors). Does your model contains several levels or objects groups created in Sweethome3d ? If you can share somewhere the model (obj or sh3d) it can help me. Thanks
Ok. I share you, do you have telegram messenger?
plan3 folder in www folder
The most important issue is the first one, it cannot load the floor3dcard.js module, so it is possible you are using an old version in cache. Try to clear your browser history, are you able to load other HACS custom cards ?, Second you receive the error "path is empty" but you showed your config, the path seems correct. It is definetly not a problem with the model, so it is useless to share it with me right now.
Please report also at the very beginning of the console log you have the version of the HA custom cards, please confirm that you have v1.1.11 (or tell me which version you have)
I cleaned cache but nothing change, how check my version ?
my version is v1.1.11
I've seen this forum: https://community.home-assistant.io/t/all-my-custom-cards-suddenly-dont-exist/144135 It is possible that your HACS is broken, are there any other custome cards deployed in HACS that are working fine ?
Have you tried to follow the other way to install the floor3d-card? First uninstall the card in HACS then follow my tutorial here https://youtu.be/i3XQVbus4tI to install manually. This is to be sure that you do not have a problem in HACS
I reinstalled HACS. I added other custom cards, nothing error, but floor3D don’t work.🤯
I'm really sorry but I cannot find the root cause. Can you post the full configuration of the card by cutting and pasting the code in "show code editor" ? I receive the same error when the path field is actually empty. But it is not your case it seems to be well configured. Also the second error is not fired in the case I do not put the path.......
I think my problem is "path or navigation" becasuse when i press card i recieve error
When you create the card, the "Path is empty" error is normal. The problem is that you have "path is empty" even after entering the path, as you showed me in previous screenshots
When i press refresh buttun i recive TypeError: "cannot read properties of undefined(reading 'removeEventListener')
I cant solve this problem from 2days
I'm really sorry, I have never seen something like that. What happens after you put the right parameters and you save ?
only this card showed
And now what is the error in the console ?
It cannot be path is empty, should be something different
The zIndex is a known bug but it does not stop the model to be displayed. Close your browser and reopen it and refresh the view with the card and tell me if you see this log:
the zIndex is a know bug and I have not found a fix yet but it is not blocking the model to be displayed
Thank you for your helps brother i wish you all the best
Please tell me that you are going to use it and give me some feedback, sorry if it was so bad to get it started. The zIndex is appearing also in my side, but when I restart the browser it goes away for a while
Everything is good, but i have another question how i turn on and turn off without other buttons for example if press to the lamp, lamp switch off and switch on
You double click on the light object in the model
I double click object but nothing change
Have you configured your light in the card ?
Expand the light parameters, put a high value for lumens (ex 800) and see if it is better. Otherwise check the log for an issue
Also remove the entity template value it is useless in this context. Are you sure that your switch is called that way ?
lumens 1000, yeah my devices name switch... when i press toggle, lamp light, however double clicked to the object nothing off or on
The name of the light object in the model is weird. If you say that now you see the light in the model, it means that the object is working, on the other hand, if the light is getting our from the object, it means that if you double click it should work. Send me the full configuration (not an image but the full text of your config)......
Please close the issue and open new one if you see that the card is not working as expected
Can you try to put the light on any other object in the model and see if the double click is working ? I'm afraid that the stripe is not big enough to capture the double click. Try also to zoom to it (with the scroll wheel of the mouse)
Yes I’m tried give big object however doesn’t work. Can you give more information about confugration, may be I don’t understand clearly, can you make a video to youtube
is it true?
I can tried but not rendered. What is the problem?