jomwells / ambilight-yeelight Goto Github PK
View Code? Open in Web Editor NEWA switch component which mimics the functionality of Ambilight+Hue for all Yeelight lights/bulbs
A switch component which mimics the functionality of Ambilight+Hue for all Yeelight lights/bulbs
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?
Hi, can u do it to work with philips Saphi OS ?
'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))
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
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": []
}
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
Hi, how to add a second bulb?
Hello, is it possible to integrate several Yeelight bulbs?
In the configuration.yaml file, I can't integrate my second bulb.
an idea ?
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.
Philips-yeelight + Wled Strips with group, can you do it?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.