有没有一种方法(硬件/软件组合)可以让我使用 PC 来控制一个或多个“飞利浦 Living Colors”灯 - 例如充当“遥控器”的 USB 记忆棒。 这样我就可以通过软件(例如网络应用程序 - 通过 iPhone/远程)控制灯,甚至可以创建飞利浦在其某些电视中内置的东西并称为“流光溢彩”(图形驱动程序检测主颜色以控制灯)。
我想这更像是一个硬件问题,而不是软件问题 - 但我在网上找不到任何有关此问题的信息,而且我肯定不是第一个在昨天打开 LivingColors 灯包装时提出这个想法的人;)
is there a way (hardware/software-combination) that I can use to control one or more "Philips Living Colors" lamps using a PC - e.g. a USB-stick that acts as the "remote". This way i could control the lamp through software (e.g. a web-app - over iPhone / remotely) or even create what Philips builds into some of their TVs and calls "ambilight" (graphics driver detecting the main color to control the lamp).
I guess this is more like a hardware than a software question - but I couldn't find anything about this online and I'm sure not to be the first to have come up with this idea right when I unpacked my LivingColors lamp yesterday ;)
发布评论
评论(4)
LivingColors 灯有两个版本,Gen1 灯可以用小套件控制,据我所知 Gen2 不能用第三方产品控制。
有一个 Arduino 扩展板可以控制 Gen1 灯,描述此内容的文章是荷兰语的。 简而言之:扩展板以及灯可以通过 USB 串行控制。 谷歌翻译可能会有所帮助:
硬件:http:// /www.knutsel.org/2010/04/11/assemble-the-cc2500-arduino-shield/
该软件的链接位于帖子末尾。 (我只能发布一个链接。)
有一个架构和软件,足够的信息来构建您自己的第一代灯控制器。
一些评论:
[ 2010 年 4 月 11 日编辑:对博客文章进行了英文翻译并更改了此处的链接]
There are two version of the LivingColors lamp, the Gen1 lamp can be controlled with a small kit, as far as i know the Gen2 can not be controlled with 3rd party products.
There is an Arduino shield that can control the Gen1 lamps, the article describing this is in Dutch. In short : the shield, and by extension the lamp, can be controlled by serial-over-USB. Google translate may help :
The hardware : http://www.knutsel.org/2010/04/11/assembling-the-cc2500-arduino-shield/
The link to the software is at the end of the post. (I can only post one link.)
There is a schema and software, enough information to build your own controller for Gen1 lamps.
Some remarks:
[ 11 April 2010 edit : made translations of the blogposts in English and changed the links here ]
LivingColors 使用 802.15.4 的实现,这是专为消费类设备设计的“ZigBee”网状网络无线协议。
可以说服第二代 LivingColors 灯与 Philips Hue 无线桥接器进行通信,并与 Hue 设置集成。 有关如何完成此操作的许多轶事信息可以在这里找到:
http://www.everyhue.com/?page_id=38#/discussion/7/hue-and-living-colors
...根据您的目的,与 Hue 集成是您最好的选择,因为Bridge 公开了(到目前为止,非官方的)一个全面的 RESTful JSON API,该 API 很容易编写脚本——可以在这里找到有关使用此 API 的更好资源之一:
http://rsmck.co.uk/hue
我个人在使用 Hue 桥和 LivingColors 灯做您想做的事情时获得了很多乐趣。 祝你好运!
LivingColors uses an implementation of 802.15.4, the ‘ZigBee’ mesh-network wireless protocol designed for consumer appliances.
The second-gen LivingColors lamps can be persuaded to talk to the Philips Hue wireless bridge and integrate with a Hue setup. Much anecdotal information about how this is done can be had here:
http://www.everyhue.com/?page_id=38#/discussion/7/hue-and-living-colors
... for your purposes, integrating with Hue is your best bet, as the bridge exposes (as of yet, unofficially) a comprehensive RESTful JSON API, which is easily scripted — one of the better resources on using this API can be found here:
http://rsmck.co.uk/hue
I personally have had a good deal of fun doing what you are trying to do, with the Hue bridge and LivingColors lamps. Good luck!
我也有兴趣通过 2.4Ghz USB 发射器从计算机控制我的 Living Colors(主要只是为了好玩;)
我有两个 Living Colors,一个“第 1 代”和一个“第 2 代”,坏消息是远程硬件和(也许)协议已被飞利浦在此过程中完全修改(可能添加第二代的“褪色效果”)。 所以现在情况变得更加复杂,这样的发射器必须处理两种协议。
关于官方控制器内部内容的另一个链接
(除了上面给出的 Elektor 文章):
I would too be interested by controlling my Living Colors from a computer, through a 2.4Ghz USB transmitter (mainly just for fun ;)
I have two Living Colors, a "Generation 1" and a "Generation 2", and the bad news is that the remote hardware and (maybe) the protocol have been totally modified by Philips in the process (probably to add the "fading effects" of the second generation). So it's even more complicated now, such a transmitter would have to deal with the 2 protocols.
Another link about what's inside the official controller
(in addition to the Elektor article given above) :
我检查了飞利浦网站,您可以在其中下载用户文档。 以下故障排除提示提供了线索:
因此控制器采用无线通信。 这显然是一个相当复杂的通信链路,一个控制器最多可以控制 6 个灯。
除非是完整的 WiFi 链接,否则要让计算机控制灯就需要进行大量的硬件攻击。 如果是 WiFi 链接,则可以编写驱动程序。
如果有人有这样的设备,他们可以进行 WiFi 扫描以查看灯和控制器是否出现吗?
I checked the Philips website where you can download the user documentation. The following trouble-shooting tip provides a clue:
So the controller uses wireless communication. It is clearly quite a sophisticated communication link, one controller can control up to 6 lights.
Unless it is a full WiFi link getting a computer to control the light would necessitate some heavy hardware hacking. Should it be a WiFi link it would be possible to write a driver.
If anyone has one these could they do a WiFi scan to see if the light and controller show up?