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 support problem. #209

Open
AnanasAPod opened this issue Oct 12, 2021 · 11 comments
Open

Alexa support problem. #209

AnanasAPod opened this issue Oct 12, 2021 · 11 comments

Comments

@AnanasAPod
Copy link

Brief info: I have already used Nanoleaf in conjunction with Alexa for 6 months. Always went without problems. Now I've moved into a new house. Got a new router. However, the same name and password. Unfortunately, the ESP no longer wants to connect to the Alexa.

I now have a Philips Hue Hub in the network that controls the other lamps. Even if I turn off this hub. I can no longer connect to Alexa.

Echo always says "I did not find any new devices ..."

I've already re-flashed. Unfortunately it didn't help. Can someone help me?

@WarDrake
Copy link
Collaborator

Unfortunatelly without some logs we can't really diagnose something like this, can you enable debug and post a copy of the logs in here?

@AnanasAPod
Copy link
Author

Thank you for your answer. How do I activate the debug? I don't have that much idea, unfortunately. Sorry.
Do I have to activate OTA for this?

@WarDrake
Copy link
Collaborator

Set the LED_DEBUG constant to 1 flash the firmware and then boot it while connected to the computer with the serial monitor open, that serial monitor output is what can help diagnose your issues.

@AnanasAPod
Copy link
Author

Hello sorry for the late reply.

I didn't find it because I was using an older version. Where apparently no debug was implemented.

Now I've flashed the new software.

But now I have a completely different problem. The menu is not displayed (Of course I had erase Flash activated. And ESP8266 Sketch Upload done afterwards.). In addition the Debug Monitor only shows strange writing.
esp8266

@WarDrake
Copy link
Collaborator

That gibberish there is just because you're using one baudrate in the script and a different one in the serial monitor, by default the transmission speed in the script is set to : 115200
try changing the serial monitos speed to that.

besides that, the script now uses Wifi Manager, which once installed on the board will need to be connected to and configured, so if you wiped and uploaded the new flash data (you have to) then you can use your phone or laptop to connect to the AP that it creates on boot, and then navigate to 192.168.4.1 and configure the wifi settings in there for the board to connect to your network.

@AnanasAPod
Copy link
Author

So I did it as described :). I clicked Alexa Pairing under the settings.
Info: My Alexa did not find it.

Here is the Debug code:

DEBUG [28004]: Stats: 120 frames/s, frame delay: 550 us
18:14:28.133 -> DEBUG [29004]: Stats: 120 frames/s, frame delay: 550 us
18:14:29.101 -> DEBUG [30004]: Stats: 120 frames/s, frame delay: 550 us
18:14:30.114 -> DEBUG [31004]: Stats: 120 frames/s, frame delay: 550 us
18:14:31.126 -> DEBUG [32005]: Stats: 120 frames/s, frame delay: 550 us
18:14:31.770 -> DEBUG [32655]: Saving Config
18:14:31.955 -> DEBUG [32857]: Comitting config
18:14:32.094 -> DEBUG [33005]: Stats: 114 frames/s, frame delay: 250 us
18:14:33.113 -> DEBUG [34000]: Stats: 124 frames/s, frame delay: 450 us
18:14:34.133 -> DEBUG [35004]: Stats: 121 frames/s, frame delay: 450 us
18:14:34.133 -> DEBUG [35005]: Heap: 29816
18:14:35.105 -> DEBUG [36001]: Stats: 121 frames/s, frame delay: 450 us
18:14:36.125 -> DEBUG [37006]: Stats: 122 frames/s, frame delay: 550 us
18:14:37.098 -> DEBUG [38004]: Stats: 112 frames/s, frame delay: 150 us
18:14:38.488 ->
18:14:38.488 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
18:14:38.488 ->
18:14:38.488 -> load 0x4010f000, len 3656, room 16
18:14:38.488 -> tail 8
18:14:38.488 -> chksum 0x0c
18:14:38.488 -> csum 0x0c
18:14:38.488 -> v9c56ed1f
18:14:38.488 -> ~ld
18:14:38.534 -> i
18:14:38.672 ->
18:14:38.672 -> DEBUG [178]: Loading config
18:14:38.672 ->
18:14:38.672 -> DEBUG [179]: System Information:
18:14:38.672 -> DEBUG [179]: Version: 4.5 (2020-02-14)
18:14:38.672 -> DEBUG [180]: Heap: 37384
18:14:38.672 -> DEBUG [180]: SDK: 2.2.2-dev(38a443e)
18:14:38.672 -> DEBUG [181]: Boot Vers: 31
18:14:38.672 -> DEBUG [184]: CPU Speed: 80 MHz
18:14:38.672 -> DEBUG [186]: Chip ID: 3131009
18:14:38.672 -> DEBUG [189]: Flash ID: 1458187
18:14:38.672 -> DEBUG [192]: Flash Size: 4194304KB
18:14:38.672 -> DEBUG [195]: Vcc: 65535
18:14:38.672 -> DEBUG [197]: MAC address: 24:A1:60:2F:C6:81
18:14:38.672 ->
18:14:38.718 -> *WM: [1] getCoreVersion(): 2_7_0
18:14:38.718 -> *WM: [1] system_get_sdk_version(): 2.2.2-dev(38a443e)
18:14:38.718 -> *WM: [1] system_get_boot_version(): 31
18:14:38.718 -> *WM: [1] getFreeHeap(): 35184
18:14:38.718 -> *WM: [1] AutoConnect
18:14:38.718 -> *WM: [3] setupHostname: Nanoleaf
18:14:38.718 -> *WM: [2] Setting WiFi hostname
18:14:38.718 -> *WM: [2] Connecting as wifi client...
18:14:38.718 -> *WM: [3] STA static IP:
18:14:38.718 -> *WM: [2] setSTAConfig static ip not set, skipping
18:14:38.764 -> *WM: [1] Connecting to SAVED AP: Axxx
18:14:38.764 -> *WM: [3] Using Password: UO8RNCxxxxxxxxxxxxxxx
18:14:38.764 -> *WM: [3] WiFi station enable
18:14:38.764 -> *WM: [3] enableSTA PERSISTENT ON
18:14:38.764 -> *WM: [1] connectTimeout not set, ESP waitForConnectResult...
18:14:43.540 -> *WM: [2] Connection result: WL_CONNECTED
18:14:43.540 -> *WM: [3] lastconxresult: WL_CONNECTED
18:14:43.540 -> *WM: [1] AutoConnect: SUCCESS
18:14:43.540 -> *WM: [1] STA IP Address: 192.168.178.35
18:14:43.540 -> *WM: [3] hostname: STA: Nanoleaf
18:14:43.540 -> INFO: Wi-Fi connected
18:14:43.540 -> DEBUG [5066]: SPIFFS contents:
18:14:43.540 -> DEBUG [5076]: FS File: /css/bootstrap.min.css, size: 121093
18:14:43.586 -> DEBUG [5076]: FS File: /css/dark-mode.css, size: 1350
18:14:43.586 -> DEBUG [5084]: FS File: /css/minicolors.min.css, size: 96597
18:14:43.586 -> DEBUG [5085]: FS File: /css/styles.css, size: 1392
18:14:43.586 -> DEBUG [5089]: FS File: /favicon.ico, size: 4286
18:14:43.586 -> DEBUG [5094]: FS File: /fonts/glyphicons.woff2, size: 18028
18:14:43.586 -> DEBUG [5098]: FS File: /images/atom196.png, size: 3889
18:14:43.586 -> DEBUG [5103]: FS File: /images/github.ico, size: 6518
18:14:43.586 -> DEBUG [5107]: FS File: /images/surr.png, size: 1897
18:14:43.586 -> DEBUG [5112]: FS File: /index.htm, size: 9706
18:14:43.586 -> DEBUG [5116]: FS File: /js/app.js, size: 16150
18:14:43.632 -> DEBUG [5121]: FS File: /js/bootstrap.min.js, size: 37045
18:14:43.632 -> DEBUG [5125]: FS File: /js/dark-mode-switch.min.js, size: 492
18:14:43.632 -> DEBUG [5134]: FS File: /js/jquery-3.1.1.min.js, size: 86709
18:14:43.632 -> DEBUG [5136]: FS File: /js/minicolors.min.js, size: 15463
18:14:43.632 -> DEBUG [5142]: FS File: /settings.htm, size: 10129
18:14:43.632 ->
18:14:43.632 -> DEBUG [5147]: FS Size: 957314KB, used: 438999KB, 45.86%
18:14:43.632 ->
18:14:43.632 -> DEBUG [5150]: Arduino Core Version: 2_7_0
18:14:43.632 -> DEBUG [5153]: Enabled Features:
18:14:43.632 -> DEBUG [5156]: Feature: mDNS support enabled
18:14:43.632 -> DEBUG [5160]: Feature: Alexa support enabled
18:14:43.632 ->
18:14:43.632 -> DEBUG [5164]: Configured device type: Nanoleafs (4)
18:14:43.678 -> DEBUG [5168]: NUM_LEDS: 216
18:14:43.678 -> DEBUG [5171]: BAND_GROUPING: 1
18:14:43.678 -> DEBUG [5174]: PACKET_LENGTH: 54
18:14:43.678 -> Adding device 1
18:14:43.678 -> Espalexa Begin...
18:14:43.678 -> MAXDEVICES 10
18:14:43.678 -> Done
18:14:43.678 -> INFO: HTTP web server started
18:14:44.414 -> Got UDP!
18:14:44.461 -> Got UDP!
18:14:44.461 -> INFO: WiFi Connected! Open http://192.168.178.35 in your browser
18:14:44.507 -> INFO: mDNS responder started. Try to open http://Nanoleaf.local in your browser
18:14:44.507 -> DEBUG [6012]: Stats: 49 frames/s, frame delay: 4450 us
18:14:44.507 -> Got UDP!
18:14:44.552 -> Got UDP!
18:14:44.599 -> Got UDP!
18:14:44.644 -> Got UDP!
18:14:45.473 -> DEBUG [7012]: Stats: 75 frames/s, frame delay: 2200 us
18:14:46.487 -> DEBUG [8002]: Stats: 99 frames/s, frame delay: 1150 us
18:14:47.507 -> DEBUG [9004]: Stats: 112 frames/s, frame delay: 750 us
18:14:48.481 -> DEBUG [10003]: Stats: 117 frames/s, frame delay: 600 us
18:14:49.500 -> DEBUG [11000]: Stats: 119 frames/s, frame delay: 600 us
18:14:50.473 -> DEBUG [12005]: Stats: 120 frames/s, frame delay: 600 us
18:14:51.494 -> DEBUG [13004]: Stats: 119 frames/s, frame delay: 600 us
18:14:52.468 -> DEBUG [14001]: Stats: 119 frames/s, frame delay: 600 us
18:14:53.490 -> DEBUG [15000]: Stats: 119 frames/s, frame delay: 600 us
18:14:53.490 -> DEBUG [15002]: Heap: 29928
18:14:54.510 -> DEBUG [16005]: Stats: 120 frames/s, frame delay: 600 us
18:14:55.299 -> DEBUG [16808]: Setting: brightness: 79
18:14:55.483 -> DEBUG [17005]: Stats: 117 frames/s, frame delay: 450 us
18:14:56.131 -> DEBUG [17670]: Setting: brightness: 24
18:14:56.502 -> DEBUG [18001]: Stats: 120 frames/s, frame delay: 450 us
18:14:57.476 -> DEBUG [19005]: Stats: 123 frames/s, frame delay: 600 us
18:14:58.497 -> DEBUG [20004]: Stats: 120 frames/s, frame delay: 600 us
18:14:59.469 -> DEBUG [21006]: Stats: 121 frames/s, frame delay: 600 us
18:15:00.487 -> DEBUG [22002]: Stats: 119 frames/s, frame delay: 600 us
18:15:01.461 -> DEBUG [23000]: Stats: 120 frames/s, frame delay: 600 us
18:15:02.479 -> DEBUG [24008]: Stats: 121 frames/s, frame delay: 600 us
18:15:03.500 -> DEBUG [25022]: Heap: 27680
18:15:03.500 -> DEBUG [25030]: Stats: 92 frames/s, frame delay: 0 us
18:15:04.474 -> DEBUG [26000]: Stats: 119 frames/s, frame delay: 0 us
18:15:05.494 -> DEBUG [27007]: Stats: 131 frames/s, frame delay: 550 us
18:15:06.143 -> DEBUG [27675]: Saving Config
18:15:06.374 -> DEBUG [27874]: Comitting config
18:15:06.466 -> DEBUG [28004]: Stats: 115 frames/s, frame delay: 300 us
18:15:07.486 -> DEBUG [29002]: Stats: 125 frames/s, frame delay: 550 us
18:15:08.506 -> DEBUG [30005]: Stats: 122 frames/s, frame delay: 650 us
18:15:09.479 -> DEBUG [31005]: Stats: 120 frames/s, frame delay: 650 us
18:15:10.498 -> DEBUG [32006]: Stats: 120 frames/s, frame delay: 650 us
18:15:11.472 -> DEBUG [33007]: Stats: 120 frames/s, frame delay: 650 us
18:15:11.796 -> Got UDP!
18:15:11.796 -> M-SEARCH * HTTP/1.1
18:15:11.796 -> HOST: 239.255.255.250:1900
18:15:11.796 -> MAN: "ssdp:discover"
18:15:11.796 -> MX: 1
18:15:11.796 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:11.796 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:15:11.796 ->
18:15:11.796 ->
18:15:11.796 -> Got UDP!
18:15:11.796 -> M-SEARCH * HTTP/1.1
18:15:11.796 -> HOST: 239.255.255.250:1900
18:15:11.796 -> MAN: "ssdp:discover"
18:15:11.796 -> MX: 1
18:15:11.796 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:11.796 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:15:11.796 ->
18:15:11.796 ->
18:15:12.491 -> DEBUG [34005]: Stats: 118 frames/s, frame delay: 550 us
18:15:12.815 -> Got UDP!
18:15:12.815 -> M-SEARCH * HTTP/1.1
18:15:12.815 -> HOST: 239.255.255.250:1900
18:15:12.815 -> MAN: "ssdp:discover"
18:15:12.815 -> MX: 1
18:15:12.815 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:12.815 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:15:12.815 ->
18:15:12.815 ->
18:15:12.815 -> Got UDP!
18:15:12.815 -> M-SEARCH * HTTP/1.1
18:15:12.815 -> HOST: 239.255.255.250:1900
18:15:12.815 -> MAN: "ssdp:discover"
18:15:12.815 -> MX: 1
18:15:12.815 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:12.815 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:15:12.815 ->
18:15:12.815 ->
18:15:13.510 -> DEBUG [35006]: Stats: 120 frames/s, frame delay: 550 us
18:15:13.510 -> DEBUG [35007]: Heap: 29880
18:15:13.833 -> Got UDP!
18:15:13.833 -> M-SEARCH * HTTP/1.1
18:15:13.833 -> HOST: 239.255.255.250:1900
18:15:13.833 -> MAN: "ssdp:discover"
18:15:13.833 -> MX: 1
18:15:13.833 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:13.833 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:15:13.833 ->
18:15:13.833 ->
18:15:13.833 -> Got UDP!
18:15:13.833 -> M-SEARCH * HTTP/1.1
18:15:13.833 -> HOST: 239.255.255.250:1900
18:15:13.833 -> MAN: "ssdp:discover"
18:15:13.833 -> MX: 1
18:15:13.833 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:13.833 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:15:13.880 ->
18:15:13.880 ->
18:15:14.482 -> DEBUG [36001]: Stats: 119 frames/s, frame delay: 550 us
18:15:14.853 -> Got UDP!
18:15:14.853 -> M-SEARCH * HTTP/1.1
18:15:14.853 -> HOST: 239.255.255.250:1900
18:15:14.853 -> MAN: "ssdp:discover"
18:15:14.853 -> MX: 1
18:15:14.853 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:14.853 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:15:14.853 ->
18:15:14.853 ->
18:15:14.853 -> Got UDP!
18:15:14.853 -> M-SEARCH * HTTP/1.1
18:15:14.853 -> HOST: 239.255.255.250:1900
18:15:14.853 -> MAN: "ssdp:discover"
18:15:14.899 -> MX: 1
18:15:14.899 -> ST: urn:dial-multiscreen-org:service:dial:1
18:15:14.899 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:15:14.899 ->
18:15:14.899 ->
18:15:15.502 -> DEBUG [37004]: Stats: 120 frames/s, frame delay: 550 us
18:15:16.475 -> DEBUG [38000]: Stats: 121 frames/s, frame delay: 550 us
18:15:17.495 -> DEBUG [39005]: Stats: 122 frames/s, frame delay: 650 us
18:15:18.469 -> DEBUG [40005]: Stats: 120 frames/s, frame delay: 650 us
18:15:19.487 -> DEBUG [41004]: Stats: 120 frames/s, frame delay: 650 us
18:15:20.504 -> DEBUG [42006]: Stats: 120 frames/s, frame delay: 650 us
18:15:21.478 -> DEBUG [43006]: Stats: 120 frames/s, frame delay: 650 us
18:15:22.499 -> DEBUG [44007]: Stats: 120 frames/s, frame delay: 650 us
18:15:23.472 -> DEBUG [45007]: Stats: 120 frames/s, frame delay: 650 us
18:15:23.472 -> DEBUG [45008]: Heap: 29880
18:15:24.492 -> DEBUG [46007]: Stats: 120 frames/s, frame delay: 650 us
18:15:27.225 -> Espalexa Begin...
18:15:27.225 -> MAXDEVICES 10
18:15:27.225 -> Done
18:15:28.941 -> Got UDP!
18:15:28.941 -> M-SEARCH * HTTP/1.1
18:15:28.941 -> HOST: 239.255.255.250:1900
18:15:28.941 -> ST: ssdp:all
18:15:28.941 -> MAN: "ssdp:discover"
18:15:28.941 -> MX: 3
18:15:28.941 ->
18:15:28.941 ->
18:15:28.941 -> Responding search req...
18:15:28.941 -> Got UDP!
18:15:28.941 -> M-SEARCH * HTTP/1.1
18:15:28.941 -> HOST: 239.255.255.250:1900
18:15:28.941 -> ST: upnp:rootdevice
18:15:28.941 -> MAN: "ssdp:discover"
18:15:28.941 -> MX: 3
18:15:28.941 ->
18:15:28.941 ->
18:15:28.941 -> Responding search req...
18:15:28.941 -> Got UDP!
18:15:28.941 -> M-SEARCH * HTTP/1.1
18:15:28.941 -> HOST: 239.255.255.250:1900
18:15:28.986 -> ST: ssdp:all
18:15:28.986 -> MAN: "ssdp:discover"
18:15:28.986 -> MX: 3
18:15:28.986 ->
18:15:28.986 ->
18:15:28.986 -> Responding search req...
18:15:28.986 -> Got UDP!
18:15:28.986 -> M-SEARCH * HTTP/1.1
18:15:28.986 -> HOST: 239.255.255.250:1900
18:15:28.986 -> ST: upnp:rootdevice
18:15:28.986 -> MAN: "ssdp:discover"
18:15:28.986 -> MX: 3
18:15:28.986 ->
18:15:28.986 ->
18:15:28.986 -> Responding search req...
18:15:28.986 -> Got UDP!
18:15:28.986 -> M-SEARCH * HTTP/1.1
18:15:28.986 -> HOST: 239.255.255.250:1900
18:15:28.986 -> ST: ssdp:all
18:15:28.986 -> MAN: "ssdp:discover"
18:15:28.986 -> MX: 3
18:15:28.986 ->
18:15:28.986 ->
18:15:28.986 -> Responding search req...
18:15:28.986 -> Got UDP!
18:15:28.986 -> M-SEARCH * HTTP/1.1
18:15:28.986 -> HOST: 239.255.255.250:1900
18:15:28.986 -> ST: upnp:rootdevice
18:15:28.986 -> MAN: "ssdp:discover"
18:15:28.986 -> MX: 3
18:15:28.986 ->
18:15:28.986 ->
18:15:28.986 -> Responding search req...
18:15:28.986 -> Got UDP!
18:15:28.986 -> M-SEARCH * HTTP/1.1
18:15:28.986 -> HOST: 239.255.255.250:1900
18:15:29.033 -> ST: ssdp:all
18:15:29.033 -> MAN: "ssdp:discover"
18:15:29.033 -> MX: 3
18:15:29.033 ->
18:15:29.033 ->
18:15:29.033 -> Responding search req...
18:15:29.033 -> Got UDP!
18:15:29.033 -> M-SEARCH * HTTP/1.1
18:15:29.033 -> HOST: 239.255.255.250:1900
18:15:29.033 -> ST: ssdp:all
18:15:29.033 -> MAN: "ssdp:discover"
18:15:29.033 -> MX: 3
18:15:29.033 ->
18:15:29.033 ->
18:15:29.033 -> Responding search req...
18:15:29.033 -> Got UDP!
18:15:29.033 -> M-SEARCH * HTTP/1.1
18:15:29.033 -> HOST: 239.255.255.250:1900
18:15:29.033 -> ST: upnp:rootdevice
18:15:29.033 -> MAN: "ssdp:discover"
18:15:29.033 -> MX: 3
18:15:29.033 ->
18:15:29.033 ->
18:15:29.033 -> Responding search req...
18:15:29.033 -> Got UDP!
18:15:29.033 -> M-SEARCH * HTTP/1.1
18:15:29.033 -> HOST: 239.255.255.250:1900
18:15:29.033 -> ST: upnp:rootdevice
18:15:29.033 -> MAN: "ssdp:discover"
18:15:29.033 -> MX: 3
18:15:29.033 ->
18:15:29.033 ->
18:15:29.033 -> Responding search req...
18:15:29.311 -> # Responding to description.xml ... #
18:15:29.311 ->
18:15:29.311 -> Send setup.xml
18:15:29.311 -> 10http://192.168.178.35:80/urn:schemas-upnp-org:device:Basic:1Espalexa (192.168.178.35:80)Royal Philips Electronicshttp://www.philips.comPhilips hue Personal Wireless LightingPhilips hue bridge 2012929000226503http://www.meethue.com24a1602fc681uuid:2f402f80-da50-11e1-9b23-24a1602fc681index.html
18:15:29.403 -> AlexaApiCall
18:15:29.403 -> ok
18:15:29.403 -> devType
18:15:29.403 -> AlexaApiCall
18:15:29.403 -> ok
18:15:29.403 -> l0
18:15:29.403 -> lAll
18:15:29.449 -> # Responding to description.xml ... #
18:15:29.449 ->
18:15:29.449 -> Send setup.xml
18:15:29.449 -> 10http://192.168.178.35:80/urn:schemas-upnp-org:device:Basic:1Espalexa (192.168.178.35:80)Royal Philips Electronicshttp://www.philips.comPhilips hue Personal Wireless LightingPhilips hue bridge 2012929000226503http://www.meethue.com24a1602fc681uuid:2f402f80-da50-11e1-9b23-24a1602fc681index.html
18:15:29.495 -> AlexaApiCall
18:15:29.495 -> ok
18:15:29.495 -> devType
18:15:29.542 -> AlexaApiCall
18:15:29.542 -> ok
18:15:29.542 -> devType
18:15:29.542 -> AlexaApiCall
18:15:29.542 -> ok
18:15:29.542 -> l0
18:15:29.542 -> lAll
18:15:29.542 -> AlexaApiCall
18:15:29.542 -> ok
18:15:29.542 -> l0
18:15:29.542 -> lAll
18:15:29.588 -> AlexaApiCall
18:15:29.588 -> ok
18:15:29.588 -> devType
18:15:29.588 -> AlexaApiCall
18:15:29.588 -> ok
18:15:29.588 -> l0
18:15:29.588 -> lAll
18:15:34.455 -> AlexaApiCall
18:15:34.455 -> ok
18:15:34.455 -> devType
18:15:34.455 -> AlexaApiCall
18:15:34.455 -> ok
18:15:34.455 -> l0
18:15:34.455 -> lAll
18:15:34.594 -> AlexaApiCall
18:15:34.594 -> ok
18:15:34.594 -> devType
18:15:34.594 -> AlexaApiCall
18:15:34.594 -> ok
18:15:34.594 -> l0
18:15:34.594 -> lAll
18:15:39.457 -> AlexaApiCall
18:15:39.457 -> ok
18:15:39.457 -> devType
18:15:39.503 -> AlexaApiCall
18:15:39.503 -> ok
18:15:39.503 -> l0
18:15:39.503 -> lAll
18:15:39.640 -> AlexaApiCall
18:15:39.640 -> ok
18:15:39.640 -> devType
18:15:39.640 -> AlexaApiCall
18:15:39.640 -> ok
18:15:39.640 -> l0
18:15:39.640 -> lAll
18:15:44.518 -> AlexaApiCall
18:15:44.518 -> ok
18:15:44.518 -> devType
18:15:44.518 -> AlexaApiCall
18:15:44.518 -> ok
18:15:44.518 -> l0
18:15:44.518 -> lAll
18:15:44.656 -> AlexaApiCall
18:15:44.656 -> ok
18:15:44.656 -> devType
18:15:44.702 -> AlexaApiCall
18:15:44.702 -> ok
18:15:44.702 -> l0
18:15:44.702 -> lAll
18:15:49.598 -> AlexaApiCall
18:15:49.598 -> ok
18:15:49.598 -> devType
18:15:49.598 -> AlexaApiCall
18:15:49.598 -> ok
18:15:49.598 -> l0
18:15:49.598 -> lAll
18:15:49.737 -> AlexaApiCall
18:15:49.737 -> ok
18:15:49.737 -> devType
18:15:49.737 -> AlexaApiCall
18:15:49.737 -> ok
18:15:49.737 -> l0
18:15:49.737 -> lAll
18:15:54.617 -> AlexaApiCall
18:15:54.617 -> ok
18:15:54.617 -> devType
18:15:54.617 -> AlexaApiCall
18:15:54.617 -> ok
18:15:54.617 -> l0
18:15:54.617 -> lAll
18:15:54.755 -> AlexaApiCall
18:15:54.755 -> ok
18:15:54.755 -> devType
18:15:54.755 -> AlexaApiCall
18:15:54.755 -> ok
18:15:54.755 -> l0
18:15:54.755 -> lAll
18:15:59.649 -> AlexaApiCall
18:15:59.649 -> ok
18:15:59.649 -> devType
18:15:59.649 -> AlexaApiCall
18:15:59.649 -> ok
18:15:59.649 -> l0
18:15:59.649 -> lAll
18:15:59.788 -> AlexaApiCall
18:15:59.788 -> ok
18:15:59.788 -> devType
18:15:59.835 -> AlexaApiCall
18:15:59.835 -> ok
18:15:59.835 -> l0
18:15:59.835 -> lAll
18:16:04.688 -> AlexaApiCall
18:16:04.688 -> ok
18:16:04.688 -> devType
18:16:04.688 -> AlexaApiCall
18:16:04.688 -> ok
18:16:04.688 -> l0
18:16:04.688 -> lAll
18:16:04.826 -> AlexaApiCall
18:16:04.826 -> ok
18:16:04.826 -> devType
18:16:04.872 -> AlexaApiCall
18:16:04.872 -> ok
18:16:04.872 -> l0
18:16:04.872 -> lAll
18:16:06.851 -> Got UDP!
18:16:06.851 -> M-SEARCH * HTTP/1.1
18:16:06.851 -> HOST: 239.255.255.250:1900
18:16:06.851 -> MAN: "ssdp:discover"
18:16:06.851 -> MX: 1
18:16:06.851 -> ST: urn:dial-multiscreen-org:service:dial:1
18:16:06.897 ->
18:16:06.897 ->
18:16:21.547 -> Got UDP!
18:16:21.593 -> Got UDP!
18:16:21.638 -> Got UDP!
18:16:21.684 -> Got UDP!
18:16:21.731 -> Got UDP!
18:16:21.777 -> Got UDP!
18:16:32.895 -> Got UDP!
18:16:32.895 -> Got UDP!
18:16:32.895 -> Got UDP!
18:16:32.941 -> Got UDP!
18:16:32.941 -> Got UDP!
18:16:32.941 -> Got UDP!
18:16:32.941 -> Got UDP!
18:16:32.941 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.080 -> Got UDP!
18:16:33.126 -> Got UDP!
18:16:33.126 -> Got UDP!
18:16:33.264 -> Got UDP!
18:16:33.264 -> Got UDP!
18:16:33.264 -> Got UDP!
18:16:33.264 -> Got UDP!
18:16:33.264 -> Got UDP!
18:16:33.310 -> Got UDP!
18:16:33.310 -> Got UDP!
18:16:33.310 -> Got UDP!
18:17:11.791 -> Got UDP!
18:17:11.791 -> M-SEARCH * HTTP/1.1
18:17:11.791 -> HOST: 239.255.255.250:1900
18:17:11.791 -> MAN: "ssdp:discover"
18:17:11.791 -> MX: 1
18:17:11.791 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:11.791 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:17:11.791 ->
18:17:11.791 ->
18:17:11.791 -> Got UDP!
18:17:11.791 -> M-SEARCH * HTTP/1.1
18:17:11.791 -> HOST: 239.255.255.250:1900
18:17:11.791 -> MAN: "ssdp:discover"
18:17:11.791 -> MX: 1
18:17:11.791 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:11.791 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:17:11.837 ->
18:17:11.837 ->
18:17:12.802 -> Got UDP!
18:17:12.802 -> M-SEARCH * HTTP/1.1
18:17:12.802 -> HOST: 239.255.255.250:1900
18:17:12.802 -> MAN: "ssdp:discover"
18:17:12.802 -> MX: 1
18:17:12.802 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:12.802 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:17:12.848 ->
18:17:12.848 ->
18:17:12.848 -> Got UDP!
18:17:12.848 -> M-SEARCH * HTTP/1.1
18:17:12.848 -> HOST: 239.255.255.250:1900
18:17:12.848 -> MAN: "ssdp:discover"
18:17:12.848 -> MX: 1
18:17:12.848 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:12.848 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:17:12.848 ->
18:17:12.848 ->
18:17:13.859 -> Got UDP!
18:17:13.859 -> M-SEARCH * HTTP/1.1
18:17:13.859 -> HOST: 239.255.255.250:1900
18:17:13.859 -> MAN: "ssdp:discover"
18:17:13.859 -> MX: 1
18:17:13.859 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:13.859 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:17:13.859 ->
18:17:13.859 ->
18:17:13.859 -> Got UDP!
18:17:13.859 -> M-SEARCH * HTTP/1.1
18:17:13.859 -> HOST: 239.255.255.250:1900
18:17:13.859 -> MAN: "ssdp:discover"
18:17:13.859 -> MX: 1
18:17:13.859 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:13.859 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:17:13.859 ->
18:17:13.859 ->
18:17:14.871 -> Got UDP!
18:17:14.871 -> M-SEARCH * HTTP/1.1
18:17:14.871 -> HOST: 239.255.255.250:1900
18:17:14.871 -> MAN: "ssdp:discover"
18:17:14.871 -> MX: 1
18:17:14.871 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:14.871 -> USER-AGENT: Google Chrome/94.0.4606.81 Windows
18:17:14.871 ->
18:17:14.871 ->
18:17:14.871 -> Got UDP!
18:17:14.871 -> M-SEARCH * HTTP/1.1
18:17:14.871 -> HOST: 239.255.255.250:1900
18:17:14.871 -> MAN: "ssdp:discover"
18:17:14.871 -> MX: 1
18:17:14.871 -> ST: urn:dial-multiscreen-org:service:dial:1
18:17:14.871 -> USER-AGENT: Chromium/91.0.4472.164 Windows
18:17:14.871 ->
18:17:14.871 ->
18:17:25.806 -> Got UDP!
18:17:25.852 -> Got UDP!
18:17:25.898 -> Got UDP!
18:17:25.991 -> Got UDP!
18:17:26.037 -> Got UDP!
18:17:26.083 -> Got UDP!

@WarDrake
Copy link
Collaborator

Hmm... It looks good, all I can think of is that it might still remember it and not recognize it, you could try and check the devices conected to alexa and forget the old one before trying again, the log says it's responding fine to alexa's call for identification.

@AnanasAPod
Copy link
Author

Okay thanks for looking over it :).
Then it will probably be up to Alexa.
It cannot be found in my device list in the Alexa app :(.
I have 53 smart home devices such as Philips Hue, Magic Home and Sonoff (ewelink).
I don't want to do a reset, otherwise it will be a lot of work.

Thank you anyway!

@WarDrake
Copy link
Collaborator

I don't use the alexa functionality but I see it changed from what it was before...

#ifdef ENABLE_ALEXA_SUPPORT
    //#define ALEXA_DEVICE_NAME           DEFAULT_HOSTNAME
    //#define AddAutoplayDevice             ((String)DEFAULT_HOSTNAME + (String)" Autoplay")
    //#define AddStrobeDevice               ((String)DEFAULT_HOSTNAME + (String)" Strobe")
    //#define AddSpecificPatternDeviceA     ((String)DEFAULT_HOSTNAME + (String)" Party")
    //#define AddSpecificPatternDeviceB     ((String)DEFAULT_HOSTNAME + (String)" Chill")
    //#define AddSpecificPatternDeviceC     ((String)DEFAULT_HOSTNAME + (String)" Rainbow")
    //#define AddAudioDevice                ((String)DEFAULT_HOSTNAME + (String)" Audio")
    //#define SpecificPatternA 37           // Parameter defines what pattern gets executed
    //#define SpecificPatternB 12           // Parameter defines what pattern gets executed
    //#define SpecificPatternC 0            // Parameter defines what pattern gets executed
    //#define AudioPattern 44               // Parameter defines what pattern gets executed

#endif // ENABLE_ALEXA_SUPPORT

Do you have some of these options uncommented? I don't think alexa will detect anything if you don't enable some of these
at least the first one, they start at line 197, that could be it, you also need to be in pairing mode on the webserver, did you do that too? click on the alexa button on the website first and then ask alexa to detect devices

@AnanasAPod
Copy link
Author

That was my configuration:

#ifdef ENABLE_ALEXA_SUPPORT
#define ALEXA_DEVICE_NAME DEFAULT_HOSTNAME
//#define AddAutoplayDevice ((String)DEFAULT_HOSTNAME + (String)" Autoplay")
//#define AddStrobeDevice ((String)DEFAULT_HOSTNAME + (String)" Strobe")
//#define AddSpecificPatternDeviceA ((String)DEFAULT_HOSTNAME + (String)" Party")
//#define AddSpecificPatternDeviceB ((String)DEFAULT_HOSTNAME + (String)" Chill")
//#define AddSpecificPatternDeviceC ((String)DEFAULT_HOSTNAME + (String)" Rainbow")
//#define AddAudioDevice ((String)DEFAULT_HOSTNAME + (String)" Audio")
//#define SpecificPatternA 37 // Parameter defines what pattern gets executed
//#define SpecificPatternB 12 // Parameter defines what pattern gets executed
//#define SpecificPatternC 0 // Parameter defines what pattern gets executed
//#define AudioPattern 44 // Parameter defines what pattern gets executed

#endif // ENABLE_ALEXA_SUPPORT

I pressed Alexa Pairing under Settings on the web server.
Then I told Alexa "Alexa discover devices". She searched for 45 seconds.
Then she said "No new smart home devices were found.

Please try again later or look in the Alexa app"

But I tried this several times. :(

@AnanasAPod
Copy link
Author

Short info. I flashed WLED. Since there is also an Alexa integration. Strangely enough, it works fine.

But the effects are not so nice there. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants