View Single Post
Unread 07-30-2012, 10:25 AM   #151
palmtreefrb
Full Fledged Farker

 
palmtreefrb's Avatar
 
Join Date: 01-22-11
Location: Buena Park, CA
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by HKChad View Post
Sweet, that will make apps easier to build. Thanks for the update.
Well, this might give you a jumpstart...

status.xml
<nutcstatus>
<!--
all temperatures are displayed in tenths F, regardless of setting of unit
-->
<!--
all temperatures sent by browser to unit should be in F. you can send tenths F with a decimal place, ex: 123.5
-->
<OUTPUT_PERCENT>100</OUTPUT_PERCENT>
<TIMER_CURR>00:00:00</TIMER_CURR>
<COOK_TEMP>744</COOK_TEMP>
<FOOD1_TEMP>744</FOOD1_TEMP>
<FOOD2_TEMP>OPEN</FOOD2_TEMP>
<FOOD3_TEMP>OPEN</FOOD3_TEMP>
<COOK_STATUS>0</COOK_STATUS>
<FOOD1_STATUS>0</FOOD1_STATUS>
<FOOD2_STATUS>4</FOOD2_STATUS>
<FOOD3_STATUS>4</FOOD3_STATUS>
<TIMER_STATUS>0</TIMER_STATUS>
<DEG_UNITS>1</DEG_UNITS>
<COOK_CYCTIME>6</COOK_CYCTIME>
<COOK_PROPBAND>500</COOK_PROPBAND>
<COOK_RAMP>0</COOK_RAMP>
</nutcstatus>

all.xml
<nutcallstatus>
<!--
this is similar to status.xml, but with more values
-->
<!--
all temperatures are displayed in tenths F, regardless of setting of unit
-->
<!--
all temperatures sent by browser to unit should be in F. you can send tenths F with a decimal place, ex: 123.5
-->
<COOK>
<COOK_NAME>Backwoods Chubby</COOK_NAME>
<COOK_TEMP>755</COOK_TEMP>
<COOK_SET>2250</COOK_SET>
<COOK_STATUS>0</COOK_STATUS>
</COOK>
<FOOD1>
<FOOD1_NAME>Brisket</FOOD1_NAME>
<FOOD1_TEMP>744</FOOD1_TEMP>
<FOOD1_SET>1950</FOOD1_SET>
<FOOD1_STATUS>0</FOOD1_STATUS>
</FOOD1>
<FOOD2>
<FOOD2_NAME>None</FOOD2_NAME>
<FOOD2_TEMP>OPEN</FOOD2_TEMP>
<FOOD2_SET>1950</FOOD2_SET>
<FOOD2_STATUS>4</FOOD2_STATUS>
</FOOD2>
<FOOD3>
<FOOD3_NAME>None</FOOD3_NAME>
<FOOD3_TEMP>OPEN</FOOD3_TEMP>
<FOOD3_SET>1950</FOOD3_SET>
<FOOD3_STATUS>4</FOOD3_STATUS>
</FOOD3>
<OUTPUT_PERCENT>100</OUTPUT_PERCENT>
<TIMER_CURR>00:00:00</TIMER_CURR>
<TIMER_STATUS>0</TIMER_STATUS>
<DEG_UNITS>1</DEG_UNITS>
<COOK_CYCTIME>6</COOK_CYCTIME>
<COOK_PROPBAND>500</COOK_PROPBAND>
<COOK_RAMP>0</COOK_RAMP>
</nutcallstatus>

config.xml
<nutcallstatus>
<!-- this is similar to all.xml, but with more values -->
<!--
all temperatures are displayed in tenths F, regardless of setting of unit
-->
<!--
all temperatures sent by browser to unit should be in F. you can send tenths F with a decimal place, ex: 123.5
-->
<COOK>
<COOK_NAME>Backwoods Chubby</COOK_NAME>
<COOK_TEMP>755</COOK_TEMP>
<COOK_SET>2250</COOK_SET>
<COOK_STATUS>0</COOK_STATUS>
</COOK>
<FOOD1>
<FOOD1_NAME>Brisket</FOOD1_NAME>
<FOOD1_TEMP>744</FOOD1_TEMP>
<FOOD1_SET>1950</FOOD1_SET>
<FOOD1_STATUS>0</FOOD1_STATUS>
</FOOD1>
<FOOD2>
<FOOD2_NAME>None</FOOD2_NAME>
<FOOD2_TEMP>OPEN</FOOD2_TEMP>
<FOOD2_SET>1950</FOOD2_SET>
<FOOD2_STATUS>4</FOOD2_STATUS>
</FOOD2>
<FOOD3>
<FOOD3_NAME>None</FOOD3_NAME>
<FOOD3_TEMP>OPEN</FOOD3_TEMP>
<FOOD3_SET>1950</FOOD3_SET>
<FOOD3_STATUS>4</FOOD3_STATUS>
</FOOD3>
<OUTPUT_PERCENT>100</OUTPUT_PERCENT>
<TIMER_CURR>00:00:00</TIMER_CURR>
<TIMER_STATUS>0</TIMER_STATUS>
<SYSTEM>
<MENU_SCROLLING>0</MENU_SCROLLING>
<LCD_BACKLIGHT>50</LCD_BACKLIGHT>
<LCD_CONTRAST>10</LCD_CONTRAST>
<DEG_UNITS>1</DEG_UNITS>
<ALARM_BEEPS>3</ALARM_BEEPS>
<KEY_BEEPS>1</KEY_BEEPS>
</SYSTEM>
<CONTROL>
<TIMEOUT_ACTION>0</TIMEOUT_ACTION>
<COOKHOLD>2000</COOKHOLD>
<ALARMDEV>500</ALARMDEV>
<COOK_RAMP>0</COOK_RAMP>
<OPENDETECT>1</OPENDETECT>
<CYCTIME>6</CYCTIME>
<PROPBAND>500</PROPBAND>
</CONTROL>
<WIFI>
<IP>192.168.101.10</IP>
<NM>255.255.255.10</NM>
<GW>192.168.101.1</GW>
<DNS>192.168.101.10</DNS>
<WIFIMODE>0</WIFIMODE>
<DHCP>1</DHCP>
<SSID>CiscoRouter</SSID>
<WIFI_ENC>4</WIFI_ENC>
<WIFI_KEY>xxxxxxxx</WIFI_KEY>
<HTTP_PORT>80</HTTP_PORT>
</WIFI>
<SMTP>
<SMTP_HOST>smtp.hostname.com</SMTP_HOST>
<SMTP_PORT>0</SMTP_PORT>
<SMTP_USER/>
<SMTP_PWD/>
<SMTP_TO>destination@someplace.com</SMTP_TO>
<SMTP_FROM>source@someplace.com</SMTP_FROM>
<SMTP_SUBJ>Temperature Controller Status E-Mail</SMTP_SUBJ>
<SMTP_ALERT>0</SMTP_ALERT>
</SMTP>
</nutcallstatus>

Last edited by palmtreefrb; 07-30-2012 at 03:41 PM..
palmtreefrb is offline   Reply With Quote