Giter Site home page Giter Site logo

Comments (6)

cascer1 avatar cascer1 commented on August 12, 2024

If no automated solution is available, perhaps it could be possible to make fuzzy LUT files? For example, I would manually cycle through some brightness and color settings and put those in a LUT file in the correct format, and then the integration would interpolate missing values.

from homeassistant-powercalc.

nepozs avatar nepozs commented on August 12, 2024

For example, I would manually cycle through some brightness and color settings and put those in a LUT file in the correct format, and then the integration would interpolate missing values.

It is really possible only with brightness only bulbs - every each brihghtness % (100 manual measurements takes about 0.5-1 hour).

But of course you could try (automated measurements in hs-mode, which produces in reality "fuzzy" LUT file, takes about 20h-30h), so maybe it is possible for really patient person.

Is there some way to make it work using conbee too?

As I know it is possible, but you must define LUT mode manualy - you can use of course existent LUT files (if they fit your bulbs).

example - Philips/Signify LCT010 defined "by hand"

sensor:
  - platform: powercalc
    entity_id: light.my_lct010_bulb
    manufacturer: signify
    model: LCT010

from homeassistant-powercalc.

cascer1 avatar cascer1 commented on August 12, 2024

Hi @nepozs

Thanks for your reply. What I meant with using conbee is if it's possible to generate a LUT file using conbee instead of the hue bridge.

from homeassistant-powercalc.

nepozs avatar nepozs commented on August 12, 2024

If you are able to modify measurement script it will be possible, but I can not help with this…

BTW I have some models planned to measure, but I'm short of time.

from homeassistant-powercalc.

cascer1 avatar cascer1 commented on August 12, 2024

I'll see if I can make a script to measure the values using HA commands instead of talking to a hue bridge, perhaps that way it can work with more lamps too (by targeting a light and sensor entity through the HTTP API perhaps). I ordered a Shelly plug a few days ago and expect it should arrive any moment now so I can start measuring some things too.

Most of my lamps (which aren't already in the LUT files) are installed without a plug, but I do plan on getting a Shelly 1 PM to measure those in the future. These are the following models:

  • Philips 4090330P9_01
  • Philips 4090330P9_02
  • Philips 3216231P6
  • Signify Netherlands B.V. LTG002

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 12, 2024

@cascer1 Great you want to contribute by measuring some lights.
Yes you are right, the current script only works with the bridge. I've build the measure script with the Hue API so I had the lowest latency, but I think using the Home assistant API would work just fine. I don't have a Conbee stick so cannot help with that. You could have a look into the current measure.py script and modify to your needs or create one from scratch.
Maybe I will add a measure script in the future which uses HA directly, but have some improvements for the component which I want to do first.

from homeassistant-powercalc.

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.