Alexa fails to discover mkr1010 on wifi

ARDUINO: mkr wifi 1010
ALEXA APP: Android and Echo Devices
ROUTER: Unifi Security Gateway Pro

Hello! I have succeeded in setting up my mkr wifi 1010 on my wifi network. It is independently powered (not connected to a computer) and connects to wifi successfully.

The device can be successfully pinged from a computer on the same network:

devicePing

I can use the IOT Dashboard to control my board, and indeed the LED on pin 6 turns on and off as I toggle my dashboard switch.

dashboard_working

So far so good! I have enabled the Alexa Arduino Skill.

I have successfully linked it to my Arduino account:

However - the app fails to find any new devices.

I have two active profiles on Alexa -- one for me and one for my spouse -- switching profiles and scanning for devices through voice on any of my echo devices fails to find any Arduino. The arduino does not appear in my list of connected devices:

This is a blocker for me, since I obviously cannot proceed with a voice-activated sketch unless the arduino can be addressed through Alexa's voice interaction.

  • Is anyone else experiencing this problem?
  • Is there any firewall configuration or similar that I need to have in place for Alexa to be able to discover my device?

Here is a related thread with a potential "fix" for this... I'll test it.

Unfortunately, this solution did not work for me. I removed one of my devices and scanned for new devices, ensuring that the MKR wifi 1010 was on and connected.

The previously-removed device was discovered, but the MKR wifi 1010 was not discovered.

I have attempted removing all things, dashboards, and devices; recreating each with consistent names; repeating the device discovery process. The failure to identify continues to happen.

Here is proof that it is connected:

image

And proof that the widgets on my dashboard are, in fact, toggling the switch.

image

For purposes of fulfilling the best practices, I should clarify that I am a professional software developer (python), and am familiar with fairly technical concepts.

Additionally, I can provide the code, although it's hardly more than the auto-generated sketch. I should remind you that it does function perfectly through IOT Cloud.

/* 
  Sketch generated by the Arduino IoT Cloud Thing "Untitled"
  https://create.arduino.cc/cloud/things/36ec8916-f397-4d39-be82-8a1c62f22bb4 

  Arduino IoT Cloud Variables description

  The following variables are automatically generated and updated when changes are made to the Thing

  bool television;

  Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
  which are called when their values are changed from the Dashboard.
  These functions are generated with the Thing and added at the end of this sketch.
*/

#include "thingProperties.h"
int TVLedPin =  6;

void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 
  television = false;

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  
  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
 */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
  pinMode(TVLedPin, OUTPUT);
  digitalWrite(TVLedPin, LOW);
  Serial.println("Television setup complete; set to false.");
}

void loop() {
  ArduinoCloud.update();
  // Your code here 
  
  
}

void turnOffLED() {
  digitalWrite(TVLedPin, LOW);
}

void turnOnLED() {
  digitalWrite(TVLedPin, HIGH);
}

void onTelevisionChange() {
  if (television == false){
    Serial.println("Turning television off");
    turnOffLED();
  } else {
    Serial.println("Turning television on");
    turnOnLED();
  }
}

Has anyone out there ever been able to get a mkr Wifi 1010 to work with Alexa?

Am I wasting my time here?

Just an update here: I never found a solution to this. I would recommend not purchasing the mkrWifi1010 if you intend to use it with Alexa. I hope that helps save you some money!

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.