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

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

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

Post 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
Attachments
Bildschirmfoto vom 2022-02-06 12-53-16.png
Bildschirmfoto vom 2022-02-06 12-53-16.png (62.36 KiB) Viewed 636 times
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

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

Post 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.
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

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

Post by Mirkoser »

Yeeesss you saved my a**

Thank you very much. it works
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest