xiaomi-smart-home-gui icon indicating copy to clipboard operation
xiaomi-smart-home-gui copied to clipboard

Cast to ObjectId failed for value

Open T-REX-XP opened this issue 7 years ago • 2 comments

Can't save any device ((

{message: "Cast to ObjectId failed for value "158d0001d62fb4" at path "_id" for model "devices"", name: "CastError", stringValue: ""158d0001d62fb4"", kind: "ObjectId", value: "158d0001d62fb4", …} kind : "ObjectId" message : "Cast to ObjectId failed for value "158d0001d62fb4" at path "_id" for model "devices"" name : "CastError" path : "_id" stringValue : ""158d0001d62fb4"" value : "158d0001d62fb4"

T-REX-XP avatar Sep 20 '17 21:09 T-REX-XP

Hello!

Sorry I havent used that for a while ( since its now integrated in most homebox, like jeedom home assistant and so )

What kind of device are you trying to sync ?

TwanoO67 avatar Sep 20 '17 21:09 TwanoO67

Hi! I try integrate Xiaomi Smart Home Gateway with button and open/close sensors. I just run docker containers, and devices automatically are discovered. but not saved to DB ((

T-REX-XP avatar Sep 21 '17 09:09 T-REX-XP