Page 1 of 1

DOmoticz crashes and do not restart after adding an equal named virtual device

Posted: Sunday 06 February 2022 13:01
by Mirkoser
Hi All,

i created a script and added a virtual device. Problem, the name of the virtual device is already existing for a "normal device". SO now domoticz crashes and will not restart.

Question, is it possible to remove the virtual device without starting Domoticz. Last backup is 14 days ago...

which file i could edit to remove the virtual device



Image

Re: DOmoticz crashes and do not restart after adding an equal named virtual device

Posted: Sunday 06 February 2022 14:08
by EddyG
Yes, it is possible.
Download and install https://sqlitebrowser.org/dl/
Stop Domoticz. Backup the file: Domoticz.db
Copy a copy of Domoticz.db to your Windows environment.
Edit the Domoticz.db table "DeviceStatus" and find your added device and delete that record.
Copy the Database back and start Domoticz.

Re: DOmoticz crashes and do not restart after adding an equal named virtual device

Posted: Sunday 06 February 2022 14:25
by Mirkoser
Yeeesss you saved my a**

Thank you very much. it works