This post has two parts. The first part is most likely what you're here for: Getting rid of this stupid error. It turns out that is quite easy and I will explain in a second. The second part, however, is how this (apparently) happens, how Shelly deals with this issue and how Shelly exposed another customer's details to me.
How to fix the error
As you'll read more about in the second part; Shelly apparently sells their devices with duplicate ID's. That is: each unique identifier of their plugs (and apparently also some other devices) aren't that unique.
My plugs have been working nicely since I bought them in June '22, for about 3 months at the time of writing. Today I asked Alexa to switch on one of my Shelly Plug S'es to which she started complaining about the device being offline or unreachable etc. etc. Sigh. Ok, probably it lost it's WiFi connection (which is weird because my WiFi is rock-solid). I went into the Shelly app and noticed the plug was gone - not even available in my account. Weird. I went to the shed, where the plug is located, and unplugged it and plugged it back in. That should do the trick... Nothing.
Looking around in the Shelly app I did notice the device was being discovered fine:
Okay, fine, I'll "Add device" to add it back to where it belongs. Well... Computer says no:
Uuuh... well, that's... weird. After trying a few times, resulting in the same error every time (lookup Einstein's definition of insanity) I started looking into ways to maybe "unbind" or "remove" or "delete" the device from my account. No such luck; I couldn't find any option in the app nor the web-interface of the plug nor in the home.shelly.cloud dashboard. Googling the error itself didn't seem to yield many useful results (at the time of writing, so hence this post).
Dear Rob,Please, execute this command: http://deviceip/longifyid (replace "deviceip" with the real IP of your device)It will factory reset it and you will have to include it again and then the problem will be resolved.Please note that if the command does not work, then you have to update the firmware of the device and send the command again.
HOW TO DO WHEN CLOUD LOGIN ERROR: "THE DEVICE ALREADY BELONGS TO ANOTHER USER/ACCOUNT."How do I change a short ID (6 digits) to a long ID (12 digits).Procedure in the event of a failed attempt to connect Shelly to the cloud.Notice!Firmware status on the Shelly should always be the latest. The latest firmware can already be installed when integrating the device via the web interface (192.168.33.1) or via an OTA update, e.g. here from the firmware archive https://www.shelly-support.eu/index.php?shelly-firmware-archive/ to be installed.Under certain circumstances, when attempting to activate cloud access for a device, the following or similar error message may appear in the app:"The device already belongs to another user/account."Reason for this error message:1. the device is/was really still registered in another user's account and has not been deleted/deactivated2. There may be an ID conflict between a 6-digit ID of older Shelly devices and the later 12-digit device IDsIf it is a Shelly with a 12-digit ID and the error message appears when trying to activate cloud access, it is necessary delete the device from the previous owner's account.Here you have the option of creating your ticket with Allterco Support https://ticket.shelly.support/open.php by providing the device ID.The device ID can be found in the WEB-UI (web interface) or in the app under Settings->Device information or Settings->Device infoIf it is a 6-digit ID, it must be extended to 12 digits.Attention: This procedure involves a reset to the factory settings!Method:http://<shelly-ip>/longifyidinto the address line of the browser. Instead of "<shelly-ip>" the IP address of the relevant device has to be entered.After completion and reset, the device must be reconnected to the existing network and set up again. The connection to the cloud should now also be possible.
Especially the text highlighted in yellow is new; as it turns out even the "longified" ID's can run into this issue. I'm guessing these are returned or second hand units.
The bigger issue
Hi,My Shelly plug S which has been working fine the past few months suddenly disappeared from my Shelly app. I can still see it and control it from the "Discovered devices" section, but it won't let me add it back to my account. See attached screenshots.Device ID: 88XXXX (893XXXX)I have tried the FAQ / Knowledgebase but couldn't find a solution to this issue. Please advise.With kind regards,Rob
Thank you for reaching out to us!The device with ID: 88XXXX (893XXXX) is assigned to the following account:
Hi!That is most definitely NOT my account nor e-mail address. Please delete it so I can bind it back to my account. Also: How does this happen?Rob
Please, execute this command: http://deviceip/longifyid (replace "deviceip" with the real IP of your device)It will factory reset it and you will have to include it again and then the problem will be resolved.Please note that if the command does not work, then you have to update the firmware of the device and send the command again.
Thank you, I will do that. However: how come I can't find any of this information in the FAQ nor Knowledge Base? And it still doesn't answer my question on how this happens in the first place?
The reason why you are getting this error when adding the device in the application is because the ID of your unit is against another device with the same ID in our cloud server that is already registered.We will add that issue to our FAQ.Please let us know if you have further questions!
Hi!I understand that my plug's ID "conflicted" with another customer's plug-id. My question is: how did that happen?What is even more worrying is that you provided another customer's email address (elXXXXXXXXXXy@gmail.com which qualifies as a data breach).
From that point on I raised more questions and got more, maybe intentionally, maybe not, vague answers, and confusion ensued. The rest of the conversation can be read here. I am not very happy on how Shelly handled the case from the beginning and in the end tried to get rid of me by offering me 15% off of my next purchase (which I'd have to make before Jan. 3rd 2023) but I also don't have enough energy to pursue this any further. They did apologise and I'll have to take their word for it on taking actions for righting the wrongs and... that's about it I guess.
The main takeaways are:
- Shelly produces (or produced) devices with duplicate ID's. Shelly doesn't proactively warn their customers, nor did they, at the time of writing, include information on how to fix this in their FAQ section nor Knowledge Base. Shelly has said they will include this information. Shelly didn't provide any information on how these duplicate ID's happened in the first place - they could've 'longified' the ID as soon as their expected range overflowed.
- Shelly provided another customer's email address (along with a plug name and presumably ID) which is a data breach and GDPR violation. Shelly doesn't seem inclined to report this to the authorities. I can't say for sure, n = 1, but I am convinced Shelly has done this on more than one occasion.
- You may want to 'longify' your Shelly device ID's before you set them up further; there's a real ('small' according to Shelly) chance of a collision - this chance will increase as might be expected unless Shelly starts 'longifying' the ID's from factory; Shelly has said they "are working on adding that feature on a future Shelly Cloud app major update".
- Though Shelly has tried to assure me on several occasions that my data was, and is, safe and that the other customer at no point was able to control my plug, I am sceptical. You make up your own mind on this matter.
Same problem here. Factory reset didn't work. Wish my luck for support.
ReplyDeleteSupport was helpful and swift in my case. I hope they are for you too.
DeleteHi Rob,
ReplyDeleteFound this blog via tweakers.net. Quite interesting how you surveyed this problem. I have it too, and using the longifyid argument on my plug's IP address did not work. The Shelly id though is still 6 digits. After a factory reset, it says it's already updated to the latest firmware. No other alternative than contacting support, I suppose.
The /longifyid thing takes a while; did you wait it out? If you're on the latest firmware and you have done the longifyid thing the /longifyid url should return "not found".
Deleteif you have older FW, longifyid is not working, you first then have to update the firmware over-the-air using http:///ota?url=http://<proper URL for FW you find here https://iot.stackexchange.com/questions/4855/shelly-device-is-already-owned-by-another-user
DeleteThank you for this blog & for the solutions. I used the ticket option you supplied & Shelly Technical came straight back to me to say they've removed the device from the cloud so I can add it again, and it worked!! :) They didn't supply any information as to who the device was owned by, so it seems they've taken your data breach concerns seriously.
ReplyDeleteFor what it's worth, my Shelly effectively ended up on the account of a friend whom I had asked to configure it. I sent an online email to Shelly Support with the MAC of my device, received a fast confirmation that it was "Deleted", and I was immediately able to add it to my own Cloud account again. Easy peasy, although a shame that you cannot manually remove devices from your Cloud account.
ReplyDeleteHi,
ReplyDeletethanks for this tutorial.
Had a similar issue here today, but finally realized, that I added the device as "hidden" in the first place.
While showing "hidden room devices", I was able to change that, now everything is fine again.
Perhaps this helps.
fijne dag
otti
Thanks that fixed it for me. FW Update + reset via …/longifyid
ReplyDeleteHi, I had the same problem, previous owner does not remove it from cloud and I cant add to my account in cloud. Just wrote an email to shelly support describing situation and gave them device info (MAC and ID). After this, they "freed" device and I can add to my cloud as usual :)
ReplyDeleteHI. Have 2 shelly buttons with
ReplyDeleteDevice ID:
441793226436 (74868043441206)
and
3C6105F410EA (66387409375466)
can't add because they are already in use...
can´t see IP adress on config, just ID number
Can someone help?
Thanks.
Orlando
Did you read the post? If that should've taught you anything, it should be that contacting Shelly support is easy and they respond quickly and are most likely able to help you in a jiffy.
Deletelongifyid is nog working
ReplyDeleteHi, i had the "THE DEVICE ALREADY BELONGS TO ANOTHER USER/ACCOUNT." problem on a Shelly Plus 1. All tips included „longifyid“ did`nt work. So I have sent an Email to Shelly Support and i get until 10 minutes the answer that my ID has been deleted and the problem should be solved. And it was solved!! Everything works fine now.
ReplyDelete