Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
372 B

  1. /*
  2. ALEXA MODULE
  3. Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
  4. */
  5. #pragma once
  6. #include "web.h"
  7. struct alexa_queue_element_t {
  8. unsigned char device_id;
  9. bool state;
  10. unsigned char value;
  11. };
  12. #if ALEXA_SUPPORT
  13. #include <fauxmoESP.h>
  14. #include <ArduinoJson.h>
  15. bool alexaEnabled();
  16. void alexaSetup();
  17. #endif // ALEXA_SUPPORT == 1