TwanoO67 / xiaomi-smart-home-gui

Logger, Api and Gui for Xiaomi Smart Home (& friends ..)
15 stars 4 forks source link

Cast to ObjectId failed for value #4

Open T-REX-XP opened 6 years ago

T-REX-XP commented 6 years ago

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"

TwanoO67 commented 6 years ago

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 ?

T-REX-XP commented 6 years ago

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 ((