GithubHelp home page GithubHelp logo

ambilight-yeelight's People

Contributors

jomwells avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ambilight-yeelight's Issues

How to make it work?

Sorry, noob here. Installed using HACS and already made the configuration.yaml setup. Restarted HASSIO and I'm able to see the switchs created. Now, how to make it work with the TV?

Average values do not work

'left-average' option does not seem to work, 'right-average' option does work.
Suppose that it has something to do with the different implementation.

This does work:
elif position == 'right-average': pixels = layer1['right'] r_sum, g_sum, b_sum = 0,0,0 for i in range(0,len(pixels)): pixel = str(int(i)) r_sum = r_sum + ((pixels[pixel]['r']) ** 2) g_sum = g_sum + ((pixels[pixel]['g']) ** 2) b_sum = b_sum + ((pixels[pixel]['b']) ** 2) r = int((r_sum/len(pixels))**(1/2)) g = int((g_sum/len(pixels))**(1/2)) b = int((b_sum/len(pixels))**(1/2))

This does not:
elif position == 'left-average': pixels = layer1['left'] r_sum, g_sum, b_sum = 0,0,0 for pixel in pixels: r_sum = r_sum + ((pixel['r']) ** 2) g_sum = g_sum + ((pixel['g']) ** 2) b_sum = b_sum + ((pixel['b']) ** 2) r = int((r_sum/len(pixels))*(1/2)) g = int((g_sum/len(pixels))*(1/2)) b = int((b_sum/len(pixels))*(1/2))

Suggestion: Integrate possibility for syncing the Ambilight with Philips Hue

Hi everyone,
I have been wondering for some time if it is possible to synchronize the Ambilight of my older Philips TV directly with Philips Hue using Home Assistant. It’s a 2013 TV, for which ahue sync app was available back then: https://www.philips.de/c-p/PTA008_00/ambilight-plus-hue-app
Unfortunately the app is no longer available for iOS and is also not compatible with Android 10 😦

It seems that the app at that time retrieved the Ambilight information of the TV via its jointSPACE functionality and synchronized it with Hue. It would be cool, if you could do that, e.g. with that custom component, also via Homeassistant.

Then I would have a replacement for the no longer supported app and could integrate the start of Ambilight directly as an automation in Homeassistant

Platform error switch.philips ambilights+yeelight - Integration 'philips ambilights+yeelight' not found.

Hi,

recently I tried to integrate Yeelight bulb and Philips Ambilight. Got user+pass and downloaded from HACS.
I added to configuration.yaml and checked configuration, then error appeared:

Platform error switch.philips ambilights+yeelight - Integration 'philips ambilights+yeelight' not found.

after googling that it looks like this is connected with HA update from 01.2021
Deatils: https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes/#versions

It looks like since 2021 in manifest.json there must be a version key. I tried to manually edit file and add verision line but still this is not working. Is it possible to have update in this component?

{
"domain": "philips_ambilight+yeelight",
"name": "Philips Ambilight+Yeelight",
"version": "1.0.1",
"documentation": "https://github.com/jomwells/ambilight-yeelight",
"dependencies": [],
"codeowners": ["@jomwells"],
"requirements": []
}

Philips-yeelight + Tuya (smartlife)

Hi there,

Can u make Tuya bulbs lights working with that too?
I already got my yeelights working just fine, just the On Off switch didn't change in HA but works

Several Yeelight bulbs...

Hello, is it possible to integrate several Yeelight bulbs?
In the configuration.yaml file, I can't integrate my second bulb.
an idea ?

init() missing 1 required positional argument: 'option'

dear jomwells,

could you help me?
i configured the platform under switch section in configuration file.

Logger: homeassistant.components.hassio
Source: components/hassio/init.py:588
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 17:26:55 (1 occurrences)
Last logged: 17:26:55

The system cannot restart because the configuration is not valid: Platform error switch.philips_ambilight+yeelight - Integration 'philips_ambilight+yeelight' not found.

Not working (Error code -5001 invalid params)

I have installed the addon through hacs, and i have installed the philips android TV plugin. Gotten password and username from the TV. I can control the TV with the media player function.

I have then added this switch plugin in the configuration.yaml with username/password as described, but when turning on the switch in HA i get an error message:

"Could not call service: switch/turn_on {'code': -5001, 'message': 'invalid params'}"

Anyone else seen this issue?

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.