nanowebcoder / nanoverahuesbridge Goto Github PK
View Code? Open in Web Editor NEWA C# version of a Philips Hues Bridge which allows Amazon Echo to speak to Vera and control lights, doors, stereos and more.
License: Apache License 2.0
A C# version of a Philips Hues Bridge which allows Amazon Echo to speak to Vera and control lights, doors, stereos and more.
License: Apache License 2.0
is there a list of commands like how do I request to dim a light by 50 percent please advise.
thanks in advance
Eli
A small change for "class SSDPService"
It allows for sharing the port with other processes as I kept getting exceptions when trying to start the service.
This means I do not have to close the SSDP discovery windows Service plus a lot of other apps that make use of port 1900
`public bool Start()
{
try
{
logger.Info("Starting SSDP Service on IP [{0}], port [{1}]...", MulticastIP, MulticastPort);
MulticastClient = new UdpClient();
MulticastClient.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ExclusiveAddressUse, false);
MulticastClient.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
IPAddress ipSSDP = IPAddress.Parse(MulticastIP);
MulticastClient.Client.Bind(new IPEndPoint(IPAddress.Any, MulticastPort));
logger.Info("Joining multicast group on IP [{0}]...", MulticastLocalIP);
MulticastClient.JoinMulticastGroup(ipSSDP, IPAddress.Parse(MulticastLocalIP));
logger.Info("2");
running = true;
UdpStateInfo udpListener = new UdpStateInfo(MulticastClient, new IPEndPoint(ipSSDP, MulticastPort));
logger.Info("Starting Multicast Receiver...");
MulticastClient.BeginReceive(new AsyncCallback(MulticastReceiveCallback), udpListener);
logger.Info("SSDP Service started.");
}
catch (Exception ex)
{
logger.Warn(ex, "Error occured starting SSDP service.");
throw ex;
}
return true;
}`
How can I dim the lights or is it only on and off?
Ok been trying for a few days now, this is my problem first I downloaded ll your files ran the setup.exe
the file name NanoVeraHuesBridgeService.exe did not have a config after it then I added it to it
next what IP do I use, I tried a unused one on my network and it didn't work. then I read a reply from you to another user and changed the ip to this local box
I try to start the service and get this error
do not know where the 10.10.1.26 came from, any help will be great
Hi,
This is a great application you have going here, however, would it be possible to include say the mac address or ip address of the source echo?
This would provide a simple way to control lights in my kitchen when the kitchen echo is used, lounge, bedroom etc.
Thanks
The bridge worked great but a modem crash caused a change in all of the addresses.
The setup file offers repair or remove and I try to get to the repair and it does not work. It just closes out.
I have removed what I think are all remnants of the program but the same message is there. Starting over from scratch is okay but not efficient.
Can you help me get past this roadblock?
Thanks,
Tom
what do I need to keep open on my firewall? also how to I get a url for a Scenes like 142 or 143 the example in the pdf didn't work one last thing on the Amazon Echo Bridge Configuration how do I change the refresh timer ?
I managed to get the bridge running, but alexa can't find any device i set.
Hi
My intent is to replicate the amblight colors of my tv to the milight setup. I was hoping you could guide me in this project i want to connect my philips tv which has ambilight technologhy (similar to lightFX) to my milight controller Hub which are in turn connected to the Controllers and RGBW leds . So basically the setup works with philips hue bridge and philips leds. .Any Ideas?
Hi,
Cheeky question I know as I have forked your bridge with a view to trying to get this to work within the homeautomation app that I use (homegenie) I thought I would start with a console app and try and get your app working, however I can't browse to the web server when it runs as a console application, but I can when it runs through your test application.
Don't suppose you have any suggestions, if have no experience of the owin stuff.. and never heard of it before this morning!
forked here: https://github.com/davidwallis3101/NanoVeraHuesBridge -- ps there is some crude hacks to try and limit the debug messages to just that of the alexa as my network is quite busy with multicast traffic it seems!
Cheers
David
Just installed this win hue client.
http://loginer.net/albedo/
It seems to find the hue bridge just fine, although it asks for the user to push the pairing button.
Where's the button hehe :)
Is this a new hue API not impl. by this bridge ?
https://developers.meethue.com/content/addressing-pairing-button-sdk
Some hue clients have this registration process while others dont.
regards
gibman
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.