View previous topic :: View next topic |
Author |
Message |
mhweather
Joined: 07 Aug 2005 Posts: 54
|
Posted: Tue Aug 16, 2005 7:34 am Post subject: Simulation or debug mode |
|
|
Would it be possible to create a simulation mode where the VP console doesn't need to be hooked up ? This would allow web page development/testing to take place away from the actual server that the VP is hooked up to. Just supply bogus tag data to see that the generated pages, etc are looking OK. uploading OK. |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Tue Aug 16, 2005 9:57 pm Post subject: |
|
|
This is a nice idea, consider it added to the todo list. |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Thu Jan 19, 2006 11:44 pm Post subject: |
|
|
Well, months later I finally get this done...
After the 3.0.0 changes to abstract the station interface, it became exceedingly easy to now meet this request. A Simulator station has been added to the list of supported stations and will be included in the next release (3.1.0). I just rotate the values that are simulated for each sensor on a 30 minute cycle...
Mark |
|
Back to top |
|
|
mhweather
Joined: 07 Aug 2005 Posts: 54
|
Posted: Fri Jan 20, 2006 7:41 am Post subject: |
|
|
Nice! I want to test out the MySQL setup, but have been wary to mess up my rock-solid Linux installation. Will the simulation mode go thru the process of creating the NOAA reports, populate the WLK/MySQL database as well ?
Wview getting better and better! |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Fri Jan 20, 2006 7:49 am Post subject: |
|
|
It definitely populates the WLK files (wview ALWAYS does that).
Yes, you should be able to simulate and run/test any of the optional capabilities: SQL archive, Alarms, ftp, ssh... Just wouldn't want to enable CWOP or Wunderground since it is "manufactured" data!
You'll just want to make doubly sure you don't get *real* WLK files mixed up with *simulated* ones, etc., if they wind up on the same filesystem.
This is going to be a nice feature for me to debug new capabilities (as long as it is not a station interface) and for other folks that might want to contribute enhancements to wview to have a platform to test on without messing with their production system. And of course being able to demo it without a station at all!
Thanks for the suggestion and the patience to wait until the proper time to add it arrived.
Mark |
|
Back to top |
|
|
|