Page 2 of 29 FirstFirst 123412 ... LastLast
Results 11 to 20 of 290

Thread: New stoker-web

  1. #11
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    Project is still moving along

    Coded all save and parsing of the log file. On browser refresh, the log is read and the graph is rebuilt from that data.

    Spent a bunch of time refactoring to the code to use events instead of timers and polling. This cleans it up quite a bit and allows instant feedback on the screen and instant writes to the log. Blower indicator on the browser is less than a second behind the hardware event.
    Also hardware status is now event driven, connects, disconnects, etc.

    Added the login button and disabled editable fields on the screen when not logged in. Still need to add the guts to the login and add a browser cookie.

    Added ability to name cookers and save the value.

    I have run a few cooks with stoker-web and was quite impressed this past weekend with how well it worked. Still quite a few late nights before I have something I can release. Still have a few key items left.

  2. #12
    TVWBB Member
    Join Date
    Apr 2010
    Location
    USA
    Posts
    94
    If you need a tested let me know..

  3. #13
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    Thanks.

    I decided last night to scale back what will be in the first release and just get something out there so what I've coded thus far can be tested. Without any type of deadline, I could just continue forever...

    Login code works now requiring a valid username and password.
    Custom logging also just about ready.

  4. #14
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    A little note on progress. I replaced the flash based graph I had before with a javascript one. I had troubles with the old one not painting sometimes and updating on the fly. I'm using Highcharts now and they are pretty slick. Much easier to interface with as well.

    Login is working now and so is the multiple log feature. The idea is to start a new log when the food goes on and add the necessary probes to the log. When the food is done, stop the logs and there will be an option to create a PDF report which will contain the graph, target temps and any notes added while cooking.

    It also has the ability to attach to an existing log, say the stoker-web crashes (as if). When it is restarted, you can choose to attach to any existing logs so they can be continued so long as the configuration is the same.

    Still a few critical things left before the alpha release, but it should not be long. I think under estimated the size of this project when I began, it is now at about 60 classes and over 5000 lines of code.

    Here is the latest screen shot. It still needs some css work and formatting.


  5. #15
    TVWBB Member
    Join Date
    Aug 2011
    Location
    Metrowest, Massachusetts
    Posts
    33
    Gary, I have been following this thread and think your app looks great, I am really looking forward to trying it out. Thanks for all the hard work that all of us software ignorant people can benefit from!!!
    That's the Point BBQ
    WSM 22
    Weber Platnium

  6. #16
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    Hey Adam, I sure hope others find my efforts useful.

    I intend for stoker-web to be free, but I'm a bit torn as to release it as no charge software or as an open source project. I'm kind of leaning toward throwing out on google code and use all the features it offers, svn, bug tracking, release downloads, but I'm still not sure.

    I'm running a brisket cook tonight, so I don't want to work on stoker-web while it's running a "production cook" so I decided to write an alpha punch list instead.

    Here it is with a time estimate as well. The times are in days which is 2-4 hour late night time blocks: ( so 1/2 day is 2 hours )

    Fix Manage logs button (Attach to existing log) 1d
    Add Stoker unavailable page w/ countdown until next retry w/ try now button 1d
    This only applies when a Default log is not currently writing.
    Fix master menu button layout d
    Add note functionality d
    Fix bug in telnet reconnect causing second cooker to be added ( new bug ) d
    Add weather pane d
    Fix client session tracking.
    Deploy and debug on web server 2d

    BTW here is a screen shot of me waiting for an overshoot to come down before adding my brisket.


  7. #17
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    Here is a shot when I opened the lid. The fan fired and those data points appeared on the graph. I had zoomed in on the graph where the period was just a few minutes.


  8. #18
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    The forever brisket is pushing 16 hours now and still not done. Wiped any development time I may have had today.


  9. #19
    TVWBB Fan Gary Bak's Avatar
    Join Date
    Aug 2011
    Location
    Suwanee, GA
    Posts
    154
    Some good and not so good news to report.

    Good news first, as part of testing out the bad news below, I tried deploying my stokerweb war file on my web server. After installing Jetty, the deployment was trivial. I wasnt working at first so I moved the web server out of the DMZ and it worked perfectly. Idiot me forgot to open port 22 in addition to port 80 from the DMZ into the wireless network, once I did that, I moved the machine back and it worked! All I had to do is drop the war file, configure a context file, add a stokerweb.properties file and I was off and running. I was going to report on my success last night and saw that my images in this post had disappeared. I had dropped Apache for Jetty on port 80 and I was no longer serving my screen shots. Ill likely just put Jetty behind Apache with mod_proxy.

    Now for the not so good news:
    While running the long brisket cook, I noticed that browser refreshes took forever to repaint the graph. On a refresh, all the local data, on the browser, is gone and must be fetched again. The Server side reads and parses the log file and send the information to the browser, this happens sub 2 seconds, but the browser takes forever to repaint the graph. The time was in minutes. Thinking it may be the overhead of the GWT debugging infrastructure, I created and deployed a war file on the web server, using the brisket log file on the web server the graph painted much quicker, but still way too slow.

    In the graph there is a point for each probe every minute, that is not a lot, but there are 4 points for every fan on/off cycle. This adds up when fan is cycling on and off every few seconds. I still think Highcharts should be able to process this many data points, so I need to revisit how I am using it. I did port a non-recursive version of the RamerDouglasPeucker algorithm to Java to reduce the number of points in the graph, if necessary, but that still does not help with the fan events as that data cant be pruned.

    Ive toyed with another way to get the data into the chart last night, but nothing is working yet. It is imperative that the graph loads quickly.

  10. #20
    TVWBB Member Curt Timmerman's Avatar
    Join Date
    Jan 2010
    Location
    Big Lake, Alaska
    Posts
    73
    Originally posted by Gary Bak:

    Now for the not so good news:
    While running the long brisket cook, I noticed that browser refreshes took forever to repaint the graph. On a refresh, all the local data, on the browser, is gone and must be fetched again. The Server side reads and parses the log file and send the information to the browser, this happens sub 2 seconds, but the browser takes forever to repaint the graph. The time was in minutes. Thinking it may be the overhead of the GWT debugging infrastructure, I created and deployed a war file on the web server, using the brisket log file on the web server the graph painted much quicker, but still way too slow.
    It may be too late in your design to implement but I have had amazing results using jquery/jquery.flot to plot data graphs. This all takes place with javascript on the browser. The raw data is retrieved (ajax) from a server, the data points are reformatted (trivial) for flot, and the graph is plotted on the browser. It is very fast, even with a large number of data points.

    Curt

Page 2 of 29 FirstFirst 123412 ... LastLast

Similar Threads

  1. Will stoker firmware version 2.7.x work with the white box stoker?
    By KeithG in forum Automatic Temperature Control Systems
    Replies: 0
    Last Post: 03-27-2012, 02:51 AM
  2. Stoker: Can't Open Stoker web interface
    By Mike D (The BBQQB) in forum Automatic Temperature Control Systems
    Replies: 6
    Last Post: 02-10-2012, 10:59 AM
  3. Stoker Networking Help - Stoker and other web server
    By Scott Schaeffer in forum Automatic Temperature Control Systems
    Replies: 12
    Last Post: 05-12-2009, 03:41 PM
  4. New Stoker, New Stoker Firmware Version, Is it stable
    By Buster Davis in forum Automatic Temperature Control Systems
    Replies: 5
    Last Post: 07-02-2008, 07:48 AM
  5. stoker on wsm?
    By Jacob Samarin in forum Barbecuing
    Replies: 17
    Last Post: 04-07-2008, 05:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •