Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text won't display entity state #188

Closed
2 tasks done
alextircovnicu opened this issue Dec 22, 2024 · 4 comments
Closed
2 tasks done

Text won't display entity state #188

alextircovnicu opened this issue Dec 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@alextircovnicu
Copy link

First of all big thank you for your awesome card!

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
v.1.5.3

Last working release (if known):

Browser and Operating System:
Vivaldi (Chromium based)

Description of problem:

I am using the following configuration:

`type: custom:floor3d-card
path: /local/community/floor3d-card/
name: Home
objfile: home.glb
lock_camera: "no"
header: "yes"
click: "yes"
overlay: "yes"
backgroundColor: "#aaaaaa"
hideLevelsMenu: "yes"
globalLightPower: "0.8"
shadow: "yes"
extralightmode: "no"
show_axes: "no"
sky: "no"
overlay_bgcolor: transparent
overlay_fgcolor: black
overlay_alignment: bottom-right
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:

  • object_group: RoundTable
    objects:
    • object_id: Round_table_1
    • object_id: Round_table_2
    • object_id: Round_table_3
  • object_group: EntranceDoor
    objects:
    • object_id: Door_9
    • object_id: Door_7
    • object_id: Door_5
      entities:
  • entity: binary_sensor.remote_ui
    type3d: door
    object_id:
    door:
    doortype: swing
    direction: inner
    hinge: Door_3
    percentage: "90"
  • entity: binary_sensor.alextzs_iphone_focus
    type3d: hide
    object_id:
    hide:
    state: "off"
  • entity: sensor.front_door_battery
    type3d: text
    object_id: wall_5_3
    light:
    lumens: "800"
    action: overlay
    text:
    font: Verdana
    textfgcolor: red
    textbgcolor: green
    span: "63"
    room:
    color: red
    label_text: template
    width: "20"
    height: "20"
    transparency: "81"
    font: verdana
    label: test
    textfgcolor: black
    textbgcolor: white
    zoom_areas:
  • zoom: ""
    selectionMode: "no"
    editModeNotifications: "yes"
    `

My expectaion is to have the front_door_battery value displayed on that mentioned wall. This is , unfortunately, not the case.
I have tried different settings (e.g. room, label) ...
Is there something that I am missing here?

Javascript errors shown in the web inspector (if applicable):


Additional information:

@alextircovnicu alextircovnicu added the bug Something isn't working label Dec 22, 2024
@adizanni
Copy link
Owner

Hello @alextircovnicu, the text entity is not working well with walls. It is a good practice to put a frame on the wall and link the text entity to the frame

@alextircovnicu
Copy link
Author

HI @adizanni

Thank you for your fast reply. I initially used, from your demo, the TV, the Fridge, the Window, the bed ... NOTHING.
With frames it seems to work
image

Merry Christmas (and let's keep in touch).

@adizanni
Copy link
Owner

Merry Christmas, I've not tried all plane surfaces, most of them should work but it depends on how they are implemented, it is possible that the plane is defined inward so the text is displayed on the hidden surface.

@adizanni
Copy link
Owner

adizanni commented Jan 3, 2025

@alextircovnicu Can we close this issue?

@alextircovnicu alextircovnicu closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants