How to edit database

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

How to edit database

Post by Docc »

Hi
I am measuring power on an outlet with a Greenwave zwave plug and had a couple of power outages this Tuesday which seems to have corrupted the data. How can I edit this and remove the false values?
The 7 day graph is correct but the Last week graph is obviously wrong :-(
2016-10-27_1012.png
2016-10-27_1012.png (95.18 KiB) Viewed 5685 times
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: How to edit database

Post by StanHD »

Hi, try holding Shift and Left Mouse Click on the point you wish to remove.

Edit:- Oops sorry, just tried that on my power graph (Week) and it doesn't work.
Last edited by StanHD on Thursday 27 October 2016 11:17, edited 1 time in total.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
borgkitty
Posts: 34
Joined: Wednesday 26 October 2016 21:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Contact:

Re: How to edit database

Post by borgkitty »

you could try what these guys are suggesting here
viewtopic.php?t=4128

I haven't done it myself but even before I found this I was goung to say something along the lines of phpadmin
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

Re: How to edit database

Post by Docc »

Shift and Left Mouse Click worked, but only for the whole day in the month graph.
Yustmenl
Posts: 24
Joined: Wednesday 28 September 2016 17:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5997
Contact:

Re: How to edit database

Post by Yustmenl »

I have done this and this works.

But because of the previous high values the total amount of energy greated by my solar pannels is still to high.
is there a way to recalculate this?

I already tryed to restart Domoticz but without the desired result.

Any ideas on how to do this?
Rasberry Pi 3; Razberry 2.0; RFXCOM
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How to edit database

Post by Egregius »

Use a sql3lite explorer/editor to change the value.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest