Giter Club home page Giter Club logo

nanoverahuesbridge's Introduction

NanoVeraHuesBridge

A C# version of a Philips Hues Bridge which allows Amazon Echo to speak to Vera and control lights, doors, stereos and more.

Based on Armzilla's ecellent JAVA version, located at https://github.com/armzilla/amazon-echo-ha-bridge, this version is written in C# and runs a bit leaner on Windows than the the JAVA heap does. In our testing, memory usage goes from about 300mb down to 15mb.

It also includes an installer, a native Windows service, and a Windows configuration application (while remaining backward compatible with the web configurator from the original Armzilla project).

It stores its configuration in a plain text file, which makes it easier to maintain and backup.

Finally, it uses nLog for logging, and out of the box will write a rolling set of plain text log files, although nLog will allow practically any log file output needed.

Getting Started
If you want to jump right in, the folder called Setup contains three files that will you get up and going right away. The setup.exe will install the necessary files and the PDF entitled, Getting Started with Nano Vera Hues Bridge, will walk you through instllation and configuration.

nanoverahuesbridge's People

Contributors

nanowebcoder avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

davidwallis

nanoverahuesbridge's Issues

Web server

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

Port conflicts (patch attached)

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;

}`

setup.exe

Hello
When I click on "setup.exe"
image

, at the beginning of the configuration, I can not access the configuration window as you mention ... but i have this :
image

I work with VMWareFusion (windows 7) for MAC.

comands

is there a list of commands like how do I request to dim a light by 50 percent please advise.
thanks in advance

Eli

Setting up

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
image
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

this is the set up
image

I try to start the service and get this error

image

do not know where the 10.10.1.26 came from, any help will be great

Request: pass details of source echo

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

Firewall and Scenes

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 ?

Worked great until modem crash

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

Philips Smart Tv (ambilight)->NanoVeraBridge->MiLight Led Controller

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?

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.