| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 18/07/2011 14:15:31
|
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 18/07/2011 15:53:20
|
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 18/07/2011 16:04:47
|
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 18/07/2011 16:26:07
|
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 19/07/2011 00:19:53
|
mhradom
Initiate
![[Avatar]](/forum/images/avatar/bd686fd640be98efaae0091fa301e613.jpg)
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.
|
| Filename |
Discard Extreme Values.JPG |
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 |
|
|
 |
|
|