[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Edit Raw Data  XML
Forum Index » How-To
Author Message
xeroseven

Initiate

Joined: 28/05/2008 18:09:16
Messages: 21
Location: East Texas
Offline

I'm looking for a way to edit the temp/RH data that mango stores. Whenever we lose power in the warehouse the temp/RH module reads -1,000 and that causes a lot of problems on the Mango graphs.
Any ideas?

Thanks,
Josh


Thanks,
Josh
oja

Initiate

Joined: 07/10/2010 03:49:54
Messages: 40
Offline

I think that you can do it by SQL queries. Third icon from end on icon bar.
You have to see table DataPoints - check ID column and XID column. Right value ID can be used for query on table PointValues.
xeroseven

Initiate

Joined: 28/05/2008 18:09:16
Messages: 21
Location: East Texas
Offline

oja, you lost me. Especially when the SQL page states: "Warning: use this facility at your own risk. Incorrect usage may result in corrupted data and/or system failures."

So unless you, or someone, has a known working SQL statement that I can fill in my particulars and use, I'm not going to risk it.


Thanks,
Josh
oja

Initiate

Joined: 07/10/2010 03:49:54
Messages: 40
Offline

I think, it is only one way to change or delete old values.
I did it one or two times without problems.

You can this:

1. Backup DERBY files or go to Export function in Mango
2. Create new Mango on other PC
3. Import data from backup
4. Try SQL operations

I think, that you will be succesfully.

sorry for my English.
mhradom

Initiate
[Avatar]

Joined: 18/11/2009 10:37:54
Messages: 30
Location: Virgina, USA
Offline

In addition, you can prevent this from happening in the first place by using "discard extreme values" checkbox for the data point. I was having the same problem with my 1-wire temperature sensors and this fixed it entirely.




[Thumb - Discard Extreme Values.JPG]
 Filename Discard Extreme Values.JPG [Disk] Download
 Description
 Filesize 37 Kbytes
 Downloaded:  41 time(s)


"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." A. Einstein
 
Forum Index » How-To
Go to:   
Powered by JForum 2.1.9 © JForum Team