Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alexa: fix device discovery / state callback #2388

Merged
merged 4 commits into from
Oct 28, 2020
Merged

Commits on Oct 26, 2020

  1. alexa: fix device discovery / state callback

    alexa device discovery/state calls use URL of type
    /api/hash_id_key_whatever/lights
    
    This is blocked when API is disabled and fails
    also when http API is enabled because no apikey is
    sent by amazon calls
    
    This commit grabs the "whatever Amazon Hash" during
    device recognition and save it. All requets to URLS
    starting with /api/hash_id_key_whatever are now
    passing the auth check
    aL1aL7 committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    56a5dcc View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. Revert "alexa: fix device discovery / state callback"

    This reverts commit 56a5dcc.
    aL1aL7 committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    ace9b2b View commit details
    Browse the repository at this point in the history
  2. alexa: fix device discovery / state callback

    Don't try to use the http api for alexa calls.
    Responses for alexa are done by fauxmoesp lib,
    so there's no need for the http api call.
    aL1aL7 committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    4488e8d View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Update api.cpp

    mcspr authored Oct 28, 2020
    Configuration menu
    Copy the full SHA
    d96774c View commit details
    Browse the repository at this point in the history