GithubHelp home page GithubHelp logo

Comments (5)

adizanni avatar adizanni commented on July 3, 2024

In normal circumstances the object groups have no impact on performance. Only lights and animations are known to affect performance (mainly memory). I would need the full model to see what's going on

from floor3d-card.

keeema avatar keeema commented on July 3, 2024

I will send it to an email.

from floor3d-card.

adizanni avatar adizanni commented on July 3, 2024

Hello Keema, the behaviour of light with object group is unpredictable, usually it is preferable to have multiple entity with the same light entity and different object id, if what you want to obtain is a led strip or a group light. I've tried to create a rotate object with one of your grouped object and it is working as expected. Also bear in mind that the card is not supporting too many lights. Lights are the most demanding for the model rendering in 3d (if you want to have the shadow effect).

from floor3d-card.

keeema avatar keeema commented on July 3, 2024

OK, using light as switch might be the explanation for bad performance when I use it for gate or garage door.
But what to use as simple switch instead of light?
E.g. I have one entity for hide (the entity for door contact) and one entity for turning on and off but both are for garage door.

from floor3d-card.

keeema avatar keeema commented on July 3, 2024

OK, I got it!

For entities other than light I can use gesture with domain switch and service toggle. And it can also be used to deal with many object ids for one light - it could be separated to one object for light and rest for gesture:

object_groups:
  - object_group: SvetloVchod1
    objects:
      - object_id: '1476_795'
      - object_id: '1455_774'
      - object_id: '1435_754'
  - object_group: SvetloVchod2
    objects:
      - object_id: '1458_777'
entities:
  - entity: switch.sonoff_10010e9531
    type3d: gesture
    object_id: <SvetloVchod1>
    gesture:
      domain: switch
      service: toggle
  - entity: switch.sonoff_10010e9531
    object_id: <SvetloVchod2>
    type3d: light
    light:
      lumens: '800'

Thank you for you help!

from floor3d-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.