Author Topic: Feature Request: An Alexa interface to the FPP?  (Read 874 times)

Offline jklingert

  • Newbie
  • *
  • Join Date: Sep 2013
  • Location:
  • Posts: 5
  • Kudos: 0
Feature Request: An Alexa interface to the FPP?
« on: April 04, 2017, 07:04:01 AM »
It was a cute April Fools video, but it got me thinking that there must be someone out there with the skills to develop an Alexa interface to the FPP?

I wish I had the development skills, but here are some starters for those who do:
New Alexa Skills Kit Template: Build a Trivia Skill in under an Hour

Steps to Build a Custom Skill: Review a step-by-step guide to building a custom skill for Alexa

Getting Started with the Alexa Skills Kit: Learn how to give Alexa new abilities with the Alexa Skills Kit.

Alexa Skills Kit: Design & develop voice experiences for Alexa.

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,012
  • Kudos: 179
Re: Feature Request: An Alexa interface to the FPP?
« Reply #1 on: April 04, 2017, 10:27:13 AM »
I have been thinking about something like this recently and it will be a lot easier when we get a true API for FPP.  Tim is working on this as part of a UI rewrite while I'm slowly working on other backend changes for FPP v2.0.

I recently setup Home Assistant on a "spare" Pi here talking to some Z-Wave switches and some old X10 hardware that has been sitting in a box since we moved from our previous house.  For now, the kids love being able to turn on the various lights, etc. in their rooms with their own remote control.  I'm almost at the point where I'm ready to pickup a Dot or Echo and hook it up.  We already have a couple FireTV's so I might try to do some testing with those first.

Offline Setarcos

  • Developer
  • ******
  • Join Date: Jan 2015
  • Location: San Jose, CA
  • Posts: 317
  • Kudos: 6
Re: Feature Request: An Alexa interface to the FPP?
« Reply #2 on: April 19, 2017, 01:22:45 PM »
I did something along these lines with FPP 1.8/1.9 over the Christmas+New Years holiday, but used my home automation controller (MisterHouse-based) to interact with the Lambda functions and custom skills. The Lambda function serves as a proxy of sorts to just forward the Smart Home API requests to MisterHouse which in turn acts on them and responds back to the Lambda function which forwards the response back to the Smart Home API or ASK custom skill API.

I haven't added support for the new Smart Home API color control directives in my MH code that Amazon released earlier this month, but will likely be doing so in the next week or so.

My Lambda functions are for the Smart Home API forwarder, ASK custom skill forwarder can be found in my IoT-Playground Github repo.

The current working version of my MH Alexa code is here.

MisterHouse invokes a few different functions to control FPP managed pixels via test mode or starting/stopping playlists using the current JSON and XML APIs. I even figured out a way to do dimming based on an initial RGB value, but my code for that part (thus far not shared) is a bit clunky right now.

You can see it in action here:

The "kitchen under cabinet light" is a WS2811 pixel strip being controlled via FPP test mode, and "indoor tree" is a separate FPP instance controlling several sets of WS2811 pixels in a looping playlist. The other lights being controlled are Insteon light switches.

Offline TexasStingray

  • Full Member
  • ***
  • Join Date: Mar 2014
  • Location:
  • Posts: 122
  • Kudos: 0
Re: Feature Request: An Alexa interface to the FPP?
« Reply #3 on: October 28, 2017, 08:31:26 AM »
I use opening which has an Alex skill that I already use if there was a REST call into FPP that would open the world up for development into it.


Back to top