Dashboard historical kwh data
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Dashboard historical kwh data
Hello,
I have an ECM-1240 with the Dashboard setup that has been running well for several months. However, recently the kwh views in the Historical Data tab are not working. That tab comes up but the charts don't show. I've tried reinstalling Dashboard but with no luck. Any help?
Chuck.
I have an ECM-1240 with the Dashboard setup that has been running well for several months. However, recently the kwh views in the Historical Data tab are not working. That tab comes up but the charts don't show. I've tried reinstalling Dashboard but with no luck. Any help?
Chuck.
-
- Site Admin
- Posts: 4269
- Joined: Fri Jun 04, 2010 9:39 am
Re: Dashboard historical kwh data
How often are you sending to the database? Do you have any of the automatic compression methods enabled under the Database section?cpreecs wrote:Hello,
I have an ECM-1240 with the Dashboard setup that has been running well for several months. However, recently the kwh views in the Historical Data tab are not working. That tab comes up but the charts don't show. I've tried reinstalling Dashboard but with no luck. Any help?
Chuck.
Ben
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Re: Dashboard historical kwh data
I'm sending every 20 seconds (the default as I recall?).
I condense the minute data every 7 days.
I delete minute data older than 30 days.
I condense the minute data every 7 days.
I delete minute data older than 30 days.
-
- Site Admin
- Posts: 4269
- Joined: Fri Jun 04, 2010 9:39 am
Re: Dashboard historical kwh data
Did you copy/move your database at all while the Engine was running? Performing operations on an active database can cause the copy to corrupt.cpreecs wrote:I'm sending every 20 seconds (the default as I recall?).
I condense the minute data every 7 days.
I delete minute data older than 30 days.
Ben
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Re: Dashboard historical kwh data
Not that I'm aware of. Is there a way to check the db for problems? I've got backups but I would lose several days of data...
-
- Site Admin
- Posts: 4269
- Joined: Fri Jun 04, 2010 9:39 am
Re: Dashboard historical kwh data
If you have a way to send some SQL to the database, I would send a "SELECT * FROM monitordata_minute ORDER BY date limit 1;" and see if it throws an error. Usually corruption like this is easily recoverable by dumping to SQL and rebuilding from SQL.cpreecs wrote:Not that I'm aware of. Is there a way to check the db for problems? I've got backups but I would lose several days of data...
Ben
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Re: Dashboard historical kwh data
I was able to get good results back against all of the tables. I used SQLite Administrator (http://sqliteadmin.orbmu2k.de/).
-
- Site Admin
- Posts: 4269
- Joined: Fri Jun 04, 2010 9:39 am
Re: Dashboard historical kwh data
Any recent switch in web browsers?
Very strange that it just suddenly stopped working.
Ben
Very strange that it just suddenly stopped working.
Ben
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Re: Dashboard historical kwh data
I think I found the problem. When I select Other (Un-monitored) Loads, the Historical kwh chart will not display. When I have it selected in the Live data kw chart, it just doesn't show up on the chart. I reinstalled Dashboard but no luck there. My config in the Engine seems to look right also. Ideas?
-
- Posts: 13
- Joined: Thu Jun 16, 2011 11:01 am
Re: Dashboard historical kwh data
I finally got this fixed. My Engine config was messed up. It somehow thought I had two devices setup. Once I changed that and it prompted me to fix the db, all is working properly now.