Clean the Database?

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
ogelnisan
Posts: 1
Joined: Friday 06 May 2022 12:15
Target OS: -
Domoticz version:
Contact:

Clean the Database?

Post by ogelnisan »

Hi,

please implend a "reset" button to clean all values/history of the database, without deleting the devices/hardware.
I just want to start over, for example the power usage and the gas, but it is not possible to just "reset" the database values without a sql manager..

We going moved over to another home in December, and as so far i get new (slim) meters, i just want to start over with the power usage, gas, to get a better monitor of the usage etc..

Would be great
User avatar
waltervl
Posts: 5904
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Clean the Database?

Post by waltervl »

In your new house create a new P1 Meter hardware gateway in domoticz and disable (not delete) the old P1 Meter hardware gateway.
Then new devices will be created for your new meter. Then you also have the possibility to compare your new house with your old ;-)
Or delete the old P1 meter hardware gayteway so they will be deleted automatically.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest