![]() |
| Our HomePage | Recipes | Smoke Signals Magazine | Welocme | Merchandise | Associations | Purchase Subscription | Brethren Banners |
|
|||||||
| Q-talk *ON TOPIC ONLY* QUALITY ON TOPIC discussion of Backyard BBQ, grilling, Equipment and just outdoor cookin' in general, hints, tips, tricks & techniques, success, failures... but stay on topic. And watch for that hijacking. |
![]() |
|
|
Thread Tools |
|
|
#16 | |
|
On the road to being a farker
![]() ![]() Join Date: 01-22-11
Location: Buena Park, CA
Downloads: 0
Uploads: 0
|
Quote:
Oh, and by the way. Doesn't look like you have been too lazy lately |
|
|
|
|
|
|
#17 |
|
On the road to being a farker
![]() ![]() Join Date: 01-22-11
Location: Buena Park, CA
Downloads: 0
Uploads: 0
|
Ok, here you go. I'm terrible at documentation, code is worth a thousand words
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Net; using System.IO; using System.Xml.Linq; namespace CyberQWifi { /// <summary> /// Summary description for CyberQData /// </summary> /// public class CyberQObjectModel { public decimal OUTPUT_PERCENT { get; set; } public TimeSpan TIMER_CURR { get; set; } public int COOK_TEMP { get; set; } public int FOOD1_TEMP { get; set; } public int FOOD2_TEMP { get; set; } public int FOOD3_TEMP { get; set; } public int COOK_STATUS { get; set; } public int FOOD1_STATUS { get; set; } public int FOOD2_STATUS { get; set; } public int FOOD3_STATUS { get; set; } public int TIMER_STATUS { get; set; } public int DEG_UNITS { get; set; } public int COOK_PROPBAND { get; set; } public int COOK_RAMP { get; set; } public CyberQObjectModel() { OUTPUT_PERCENT = 0m; TIMER_CURR = TimeSpan.Zero; COOK_TEMP = 0; FOOD1_TEMP = 0; FOOD2_TEMP = 0; FOOD3_TEMP = 0; COOK_STATUS = 0; FOOD1_STATUS = 0; FOOD2_STATUS = 0; FOOD3_STATUS = 0; TIMER_STATUS = 0; DEG_UNITS = 0; COOK_PROPBAND = 0; COOK_RAMP = 0; } } public class CyberQData { public CyberQData() { } public static CyberQObjectModel GetCyberQData(string url) { var xdocTimeInfo = XDocument.Load(url); var dt = (from ti in xdocTimeInfo.Descendants("nutcstatus") select new { OUTPUT_PERCENT = ti.Element("OUTPUT_PERCENT").Value, TIMER_CURR = ti.Element("TIMER_CURR").Value, COOK_TEMP = ti.Element("COOK_TEMP").Value, FOOD1_TEMP = ti.Element("FOOD1_TEMP").Value, FOOD2_TEMP = ti.Element("FOOD2_TEMP").Value, FOOD3_TEMP = ti.Element("FOOD3_TEMP").Value, COOK_STATUS = ti.Element("COOK_STATUS").Value, FOOD1_STATUS = ti.Element("FOOD1_STATUS").Value, FOOD2_STATUS = ti.Element("FOOD2_STATUS").Value, FOOD3_STATUS = ti.Element("FOOD3_STATUS").Value, TIMER_STATUS = ti.Element("TIMER_STATUS").Value, DEG_UNITS = ti.Element("DEG_UNITS").Value, COOK_PROPBAND = ti.Element("COOK_PROPBAND").Value, COOK_RAMP = ti.Element("COOK_RAMP").Value }).FirstOrDefault(); var cyberQom = new CyberQObjectModel { COOK_PROPBAND = dt.COOK_PROPBAND.SafeReadObject<int>(0), COOK_RAMP = dt.COOK_RAMP.SafeReadObject<int>(0), COOK_STATUS = dt.COOK_STATUS.SafeReadObject<int>(0), COOK_TEMP = dt.COOK_TEMP.SafeReadObject<int>(0), DEG_UNITS = dt.DEG_UNITS.SafeReadObject<int>(0), FOOD1_STATUS = dt.FOOD1_STATUS.SafeReadObject<int>(0), FOOD1_TEMP = dt.FOOD1_TEMP.SafeReadObject<int>(0), FOOD2_STATUS = dt.FOOD2_STATUS.SafeReadObject<int>(0), FOOD2_TEMP = dt.FOOD2_TEMP.SafeReadObject<int>(0), FOOD3_STATUS = dt.FOOD3_STATUS.SafeReadObject<int>(0), FOOD3_TEMP = dt.FOOD3_TEMP.SafeReadObject<int>(0), OUTPUT_PERCENT = dt.OUTPUT_PERCENT.SafeReadObject<decimal>(0m), TIMER_CURR = TimeSpan.Parse(dt.TIMER_CURR).SafeReadObject<TimeS pan>(TimeSpan.Zero), TIMER_STATUS = dt.TIMER_STATUS.SafeReadObject<int>(0) }; return cyberQom; } } } And here is the implementation... YAY WE HAVE DATA ![]() Ill start working on charting next and a way to save the chart for future reference. |
|
|
|
|
|
#18 |
|
Is lookin for wood to cook with.
Join Date: 04-12-12
Location: Atlanta GA
Downloads: 0
Uploads: 0
|
palmtreerfb,
I've never used Ximarin before, but I do love C# and Mono. Is there a free/open/comunity version of the tools, or do you have to buy both the Android and iOS versions? I built this little monitor toy in about an hour as a Flex mobile app (yeah, gross, I know..) so I'd have something to monitor with this weekend. Unless I can find an open source cross-platform toolkit this may be my first Android app that is more complex than "Hello World" |
|
|
|
|
|
#19 | |
|
On the road to being a farker
![]() ![]() Join Date: 01-22-11
Location: Buena Park, CA
Downloads: 0
Uploads: 0
|
Quote:
|
|
|
|
|
| Thanks from:---> |
|
|
#20 |
|
Is lookin for wood to cook with.
Join Date: 01-29-12
Location: St. Louis, MO
Downloads: 0
Uploads: 0
|
I started my app last night (thanks to this great info). I am not going with a mobile app, instead I am going with a windows forms app. I have plans to implement charting, data exporting, etc. I will post some screenshots when I have it more fleshed out. Again...thanks for posting this for us nerds.
__________________
Large BGE, Med BGE, BBQ Guru CyberQ II, CyberQ WiFi, CGW Swing Grate |
|
|
|
|
|
#21 |
|
is Blowin Smoke!
![]() ![]() ![]() Join Date: 02-16-12
Location: Long Island, NY
Downloads: 0
Uploads: 0
|
This is cool stuff.
I did some basic (does that count?), dBase coding and Unix shell scripting in the past. I'm not learning a new language for this though. ![]() I'll wait for you guys. Bob
__________________
"Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin | Weber 18 1/2" & 22 1/2" WSM, 22 1/2" & 26 3/4" OTG, Genesis S-330 | | BBQ Guru CyberQ WiFi | Maverick ET-732 | |
|
|
|
|
|
#22 |
|
is one Smokin' Farker
![]() ![]() Join Date: 01-01-11
Location: Southern NJ
Downloads: 0
Uploads: 0
|
Man...you dudes are SMART....I can barely check email...
__________________
Proud owner of 4 VERY ugly drum smokers.... |
|
|
|
|
|
#23 |
|
somebody shut me the fark up.
![]() ![]() ![]() ![]() Join Date: 02-07-08
Location: Phoenixville, PA
Downloads: 0
Uploads: 0
|
It is all Greek to me
I have seen it in action It looks really nice |
|
|
|
|
|
#24 |
|
Is lookin for wood to cook with.
Join Date: 04-12-12
Location: Atlanta GA
Downloads: 0
Uploads: 0
|
Does anyone know if any of the BBQ Guru folks hang out around here? I'd love to know how receptive they are to feature requests for future releases (or if they even have future software updates planned).
Some of the things that I think could be added with nearly trivial effort, but would yield big advantages for application developers:
Other suggestions or ideas? |
|
|
|
|
|
#25 |
|
is one Smokin' Farker
Join Date: 10-22-08
Location: Philly, PA
Downloads: 0
Uploads: 0
|
Are you guys talking english?
![]() ![]()
__________________
AKA "Huck" BBQ Resource: [URL="http://www.huckshut.com"]www.huckshut.com[/URL] Streaming BBQ Podcast: [URL]http://www.inthehut.com[/URL] |
|
|
|
|
|
#26 | |
|
Is lookin for wood to cook with.
Join Date: 01-29-12
Location: St. Louis, MO
Downloads: 0
Uploads: 0
|
Quote:
__________________
Large BGE, Med BGE, BBQ Guru CyberQ II, CyberQ WiFi, CGW Swing Grate |
|
|
|
|
|
|
#27 | |
|
Is lookin for wood to cook with.
Join Date: 04-12-12
Location: Atlanta GA
Downloads: 0
Uploads: 0
|
Quote:
We made a shockingly similar set of requests for enhancements and it was not much effort at all for the developer to add them. The setpoint enhancements and jsonp presentation should be very simple - that is just a new presentation of variables that already exist in the web pages. The fan override stuff is probably doesn't exist as-is internally, but should be straightforward to add. |
|
|
|
|
|
|
#28 |
|
Is lookin for wood to cook with.
Join Date: 01-29-12
Location: St. Louis, MO
Downloads: 0
Uploads: 0
|
@fatdoggie - I sent an email to the BBQ Guru folks and linked this thread. I think there is a lot opportunity for them to work with us and if third party apps start hitting the street - it could mean more sales for them. I'll let you know what they say.
__________________
Large BGE, Med BGE, BBQ Guru CyberQ II, CyberQ WiFi, CGW Swing Grate |
|
|
|
|
|
#29 | |
|
Is lookin for wood to cook with.
Join Date: 04-12-12
Location: Atlanta GA
Downloads: 0
Uploads: 0
|
Quote:
I guess now they know we're interested and enthused about their product! |
|
|
|
|
![]() |
| Thread Tools | |
|
|