-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
9.1.0.2 Wemo and Alexa group problem #10165
Comments
I've never seen this issue. Do your Tasmota devices have fixed IP addresses? |
Hi, no they have dhcp. But they kept their ip address cause of long lease time.I have checked and they have the same ip since first contactAm 17.12.2020 20:43 schrieb s-hadinger <notifications@github.com>:
I've never seen this issue. Do your Tasmota devices have fixed IP addresses?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
When I switch to hue emulation , i don't have the problem.It's a work around , But then all my switches are light items :(Am 17.12.2020 20:49 schrieb Adrian Scillato <notifications@github.com>:
Reopened #10165.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have same/similar issue unable to add wemo emu switch from tasmota to routine or group, yet it can be turned on and off from alexa. New wemo emu switch from node-red works fine so there is something different about tasmota wemo emu. Was fine until recent updates. I have gen2 dot. Tried setoption109 0 and 1 same issue. |
I rolled back and upgraded/tested each build from 8.5.1 deleting the device from alexa, updating tasmota build, discovering devices in alexa and then testing the newly added plug to add to a routine. Previous builds were ok including 9.1.0 tasmota.bin so not seeing the same problem as the OP here on that version. But 9.2.0 for some reason the wemo plug even though its listed in the main devices list, doesnt come up in the 'add to routine' dialog. It does come up for group edits. Perhaps not exactly the same issue as the OP (my device isnt showing up in routine adds but it is in group adds) but it would indicate some sort of issue with wemo emu. Something to do with 742171c perhaps? |
I will have a look but apart from minot maintenance changes, wemo code hasn't changed for a while. The wemo multi is not enabled unless you self compile. |
Are you sure about multi being only self compile? Looks to me that USE_EMULATION_WEMO (flag that seems to be in most builds) was changed so that xdrv_21_wemo_multi.ino was included instead of xdrv_21_wemo.ino as part of this commit: |
Alas, multi is enabled by default as it was promissed to be a direct replacement for the single version. How ignorent I could be.... |
Maybe needs a new issue but.. I've tested with a bin from the original multi wemo PR discussion, and it too has the issue with the device not appearing in the routines list, confirming that it is the multi wemo causing my issue. I have also noted that a duplicate device appears during upgrades from original single wemo to multi wemo emu when doing discovery post upgrade. I expect this duplicate device is because the multi code now uses the device id in the generation of the serial number and uuid returned to alexa during discovery. That would suggest all users of wemo emu upgrading to 9.2.0, who do a subsquent Alexa discovery will end up with duplicate devices. I have single relay/switch devices (mini, TH10). I would say the presented wemo serial/uuid needs to be consistent through upgrades - for single/first devices that would mean disabling the involvement of the device id in the friendly name/serial number/uuid introduced by multi wemo emu PR. Additionally this may fix the problem for device 1 not turning up in routines device list - it could be the serial number change from the standard wemo format causes problems. |
I confirm my suspicions are right. I compiled a binary from dev branch with the wemo multi code lines reverted so the setup xml friendly name, uuid and serial number no longer included the device id - i.e. the same generation of these strings as from single wemo. This has resolved my issues, no duplicates following upgrade from < 9.1.0 and no issues adding the device to routines. I'll raise a PR which does this only for 1st switch and for switch 2+ it'll have the current behaviour. I think that the current behaviour is flawed given my routine problems, but its better than simply reverting back to single only I guess. |
PROBLEM DESCRIPTION
I have flashed some Devices with 9.1.0.2 and enabled WeMo Emulation.
Devices where found by Alexa with the right friendly Name (Stehlampe, Vitrine, Ventilator, Blume ...)
When i try to group the devices (Alexa App or at the PC) the wrong device is grouped and some devices are not possible to group.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
so you can not put the device vitrine in one group, because Stehlampe is always used when you choose Vitrine.
seems, that there is a unique id in the device, which is discovered by alexa and when you group the device, the first device with that id is used...?
EXPECTED BEHAVIOUR
i would like to group devices in rooms, but some devices are not groupable
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: