I have to change dozens of device names and I don't want to use the slow web interface.
Is there a way to open the database (ssh?) and edit the names in a text editor or database program?
Open and change device database for renaming devices?
Moderators: leecollings, remb0
-
SweetPants
Re: Open and change device database for renaming devices?
You can try a SQlite editor.renerene wrote:Is there a way to open the database (ssh?) and edit the names in a text editor or database program?
-
freijn
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Open and change device database for renaming devices?
Can you please give me a longer hint ? ( How to ? perhaps? )
I am very interested too
THanks !
I am very interested too
THanks !
-
SweetPants
Re: Open and change device database for renaming devices?
I'm running linux and use Sqlitemanfreijn wrote:Can you please give me a longer hint ? ( How to ? perhaps? )
I general do:
1) Stop domoticz and make a backup of domoticz.db
2) copy domoticz.db to your system
3) slitleman domoticz.db
4) Open Tables->devicestatus
5) Change 'Name' like you want
6) Commit changes to the database
7) copy domoticz.db to your RPI
8) Start Domoticz
-
freijn
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Open and change device database for renaming devices?
Wauw !! Superfast response 
Many thanks..
Every tried to connect directly on the running domoricz ?
is there no port available ?
Many thanks..
Every tried to connect directly on the running domoricz ?
is there no port available ?
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Open and change device database for renaming devices?
You can use adminer on a live system 
Who is online
Users browsing this forum: No registered users and 1 guest