Skip to content

NodeJs Hue emulator, with UPnP discovery that works with Amazon Echo

License

Notifications You must be signed in to change notification settings

Hazy87/alexa2mqtt

 
 

Repository files navigation

Alexa2MQTT

NPM version Dependency Status Build Status Maintainability js-semistandard-style License: MIT

Written and (C) 2015-17 Kai Kramer, based on an idea and code from Sam Hiatt (https://github.com/samhiatt/node-hue-emulator). Build with https://github.com/hobbyquaker/xyz2mqtt-skeleton from Sebastian Raff.

Provided under the terms of the MIT license.

NodeJs Hue emulator, with UPnP discovery that works with Amazon Echo

Allows Amazon Echo to communicate with arbitrary http services using the Hue API.

Derrived from http://github.com/armzilla/amazon-echo-ha-bridge

Config

alexa:
  - name: Licht
    id: "1"
    switch:
      topic: lox/set/arbeitszimmer/beleuchtung/arbeitszimmer
      on: on
      off: off
    control:
      topic: lox/set/arbeitszimmer/beleuchtung/arbeitszimmer
    color:
      topic: lox/set/arbeitszimmer/beleuchtung/arbeitszimmer

Build and run local Docker container

In Progress - not working at Mac and Synology (upnp discovery problem)

docker build -t alexa2mqtt . && docker run --env-file ./alexa2mqtt.env -p 1900:1900 -p 8082:8082 -v /Volumes/data/smarthome/:/data -it alexa2mqtt 

docker run --env-file /volume1/data/smarthome/alexa.env -p 1900:1900 -p 8082:8082 -v /volume1/data/smarthome/:/data -it alexa2mqtt

Alexa Config

https://alexa.amazon.de/spa/index.html#appliances

About

NodeJs Hue emulator, with UPnP discovery that works with Amazon Echo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • Dockerfile 7.4%