Issues with Tasmota Hue emulator or with Alexa? Either way help! #22227
-
Long time user of Tasmota, and NEVER had this issue before. I have 12 tasmota entities with about 23 devices that Alexa could usually find. Today that I paid attention seems the version of tasmota ranges from version 13 to 14. (will update all of them to newest version soon, and they are all esp8266s d1 minis except for two smart bulbs that I flashed with tasmota). In one of the tasmotas I was using one of the pins that are used at bootup. During power outages sometimes it would bootup, other times I would have to open up the switch box and thinker with it. Today I had to cut the power off for a bit, and when I turned power back on it wouldn't boot. Figured today was the day to re configure the tasmota so I wouldn't have that issue anymore. Not sure what I did, but seems I ended up burning the esp8266 (d1 mini). I have a few extras laying around, and through experience I did happen to have a backup config file. I flashed a new d1 mini, loaded the config file I had for it, and figured I was good to go. This device has 3 relays (Sol, Cueva, Viento), 1 PMW (Sol Rojo), 1 button and 1 PIR switch. The button worked as expected using multi tap to control the different relays. The switch is detached. All my D1 Minis were set up as Hue Emulator multi device. I then tried to control it via Alexa and it wouldn't work. I found it odd, but figured maybe the IP of the device was the issue, since this new D1 Mini was getting a different IP. At that point I decided to do what I usually do, got my phone out, opened up the Alexa app, and deleted Sol, Cueva, Viento and Sol Rojo, then asked Alexa to "find new devices". After the search, Alexa said it found ONE new device which was odd since it should have found 4. All other tasmotas/d1 minis were working fine with Hue Emulator turned on. I did a quick google search, and found someone had similar issue back in 2022 and they were able to solve it by going to Amazon's page, Alexa privacy settings, then deleting all device history. Don't ask me why, but before deleting all device history I decided to delete ALL entities that Alexa had found (and that were working properly). Then I deleted all device History from Alexa, and asked to find new devices. It said it found 20 devices, but when I started testing them with Alexa most wouldn't work. That is when I noticed something extremely odd happening. Using the D1 Mini I replaced as an example. On Alexa app it would show only one entry (usually viento), I would click on it, it would tell me not responding, I would select delete, and then it would take me back to the device list. Well on the device list the same name would pop up again (lets say viento), when I clicked on viento, it would show another name (like Sol), so I deleted that one also. It would then take me back to devices list, and "viento" would pop up again, clicked on it, and on the new screen it would show another entity on the device like Cueva. Basically I had to delete the device 4 times. Basically all my d1 minis that had more than one relay/pmw on it I had to delete many times. A couple times it was a bit different. For example at one point the name listed on devices was Sol. When I clicked to open sol menu to delete it actually showed "sol". When I deleted that and went back to the main device list "viento" popped up which wasn't there before I deleted "sol". It was time to do extended troubleshooting. First thing I decided to do was to log into each of my tasmota devices and turn off the emulators. Once all emulators were set to "none", I deleted all the devices from the Alexa list, and asked Alexa to find new devices. I was assuming it wasn't going to find any new devices. I was wrong, it found the 20 devices again! At this point I start scratching my head as I am pretty sure Hue Emulator doesn't use mqtt so it wouldn't be an mqtt retain issue. On my HA I do have the Alexa hacs installed, and it does share devices attached to Alexa, but since I don't have Nabu Casa my HA devices are not exposed to Alexa. I read there is a way to run the HUE emulator on HomeAssistant in order to expose scripts/automations to Alexa, I was pretty sure I never did set that up, but just to be on the safe side I shut down my HA server. So with HA server shutdown, all tasmota devices set to emulator none, I went ahead and deleted all devices from Alexa app, then went in and deleted all device history from Alexa again. I then asked Alexa to find new devices, and AGAIN it found 20 of them! I still have NO IDEA where it was getting that info from, I then deleted Sol, Cueva, Viento and Sol Rojo again from the Alexa app (left the rest untoched). I decided to log in to the tasmota configuration and selected the wemo single device emulator. When I played with this in the past it would only pick up the first friendly name (first device) and ignored the rest. To my surprise when I asked Alexa to find new devices it found 4 new devices. All 4 of them show as switches/plugs but I can control all 4 of them via voice. I then did the same for a second room, except this time I forgot to delete the device it had found first. This room only has to relays, and to my surprise it found them as wemo plugs, and voice control with Alexa was working. On the Alexa device list I could see the two new plugs (Vale Luz and Vale Ventilador), and was also showing Vale Luz as a light bulb with the "not responding" message attached to it. I once again got into the tasmota configuration for both of the ones I had working a wemo, and set emulation to none. All my tasmotas were setup to no emulation. I went ahead and deleted all devices from Alexa list again. I then asked Alexa to find new devices, and this time it found no new devices. That made sense to me! Out of my 12 tasmotas, 2 are smart blubs and I set those up as Hue emulators. The other 10 I set up as wemo emulator. I asked Alexa to find new devices and it found all my devices. As far as voice control everything is back to how I had it before, except most lights now show as plugs on the Alexa app. The only draw back is 2 or 3 led lights I have set up as PWM. Before I could adjust intensity by voice, but now I can only turn on/off. I am pretty sure the Hue emulator itself didn't stop working for everyone, as I am sure i would have found many recent topics about it here in the tasmota Q & A section or in the issues section. That said any ideas of what I could try to get Hue Emulator working again for me? Something tells me it has something to do of where Alexa was finding the 20 devices even though all emulators were turned off. Edit So I keep doing some research, and seems echo devices being used is important. I have 6 echo 3rd generation, and one echo 4th generation. Most of the time the "find new devices" was done at the echo 4th gen. When I set up the second room with Wemo it was done with an echo 3. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 29 replies
-
Sometimes you need to trigger multiple discovery from Alexa. It looks like some echo devices keep a memory or queue of previously discovered devices. After some time it stabilizes again |
Beta Was this translation helpful? Give feedback.
-
Have you tried to switch off the device(s) where the Alexa app is installed? |
Beta Was this translation helpful? Give feedback.
-
Hello, I've the same problem with Alexas device detection. Instead of 4 Lamps Alexa found only 1. When deleting this 1 lamp, a new lamp of the remaining 3 appears and so on, until all 4 Lamps are deleted. It looks like that Alexa found all 4 lamps but put them together on one switch with different access names. There should be 4 Lamps with 4 switches in the Alexa app. Have you got any further? |
Beta Was this translation helpful? Give feedback.
-
Hello, I have put a new Tasmota SONOFF mini R4 into operation, which works so far with the HUE emulation, but it only has one relay. The old 4CH SONOFF didn't cause any problems until I had the idea of renaming all the switch names. To do this, I deleted all the switches in Alexa and tried to have them recognised again (HUE emulation). With the known problem that somehow all switches are recognised, but only one control element is assigned to them in Alexa. So, unfortunately, only one of the four lamps can be controlled with different switch names. I previously had older firmware on the SONOFF and went back to older firmware as a test, but I may have to go back to "very old" firmware as I no longer know exactly what version I had before. However, I believe that Amazon has changed something in the HUE recognition that is causing this problem. Only multi-channel devices that are addressed directly via Alexa are likely to be affected. Anyone working with the newer HUE hubs (without Tasmota) also needs an additional app, if I'm correctly informed. But it's nice that all devices are now recognised via WeMo emulation. It's interesting to note that the current version of the Tasmota firmware also says ‘Single Device’. It may not have been changed here somthing in the code of Tasmota, but possibly in the Alexa recognition routine? I have sent an email to Amazon support, but we'll see what comes of it. Best Regards |
Beta Was this translation helpful? Give feedback.
-
It's still unclear what's happening here. I have no explanation, and I can confirm I have multiple Hue emulation lights paired to Alexa and they are discovered and working perfectly well. They are even using Zigbee which adds some complexity for some of them. |
Beta Was this translation helpful? Give feedback.
-
In the last few days, I've had not only several Tasmota "hue" devices
dropped by Alexa, but also all of my other devices that I exposed to Alexa
via a custom "hue emulator" (not related to Tasmota at all).
So I'm beginning to suspect that Amazon changed something in its HUE
interface that is causing our stuff to break.
…On Tue, Oct 22, 2024 at 8:10 PM CancunManny ***@***.***> wrote:
Hell TvTim, I don't have any real answers, but I am trying to collect as
much info as possible. I was under the impression this affected "new"
devices. In your case you had Alexa discover the devices about 18 months
ago and worked fine, did it all of the sudden stop working? Or did you try
to add new devices, found it would only detect one, and while trying to
figure out what was going on you deleted all the devices it had previously
discovered and tried to discover them again?
If it stopped working without you making any other changes I think there
would be a lot more people popping up here talking about the issue.
—
Reply to this email directly, view it on GitHub
<#22227 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHSON5PLKBU4RJS3MD6NPTZ43SOHAVCNFSM6AAAAABPG3LVXSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBSGI4TMMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The good news is that I can reproduce the problem. The bad news is that the confusion in devices happens at Alexa side. I will try to find a way to circumvent it |
Beta Was this translation helpful? Give feedback.
-
Good news guys! Seems soon we will have a fix. Issue had to do with way tasmota hue emulator was creating the IDs
Seems Alexa started to ignore everything past the - so all found devices were getting same ID. Will post how to fix once the fix has been finalized! |
Beta Was this translation helpful? Give feedback.
-
This should be fixed now with the latest build from development |
Beta Was this translation helpful? Give feedback.
This should be fixed now with the latest build from development