Cooking with Vera

From MiOS
(Difference between revisions)
Jump to: navigation, search
(Directions)
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
 
+
[[Category:How_To]]
 
+
 
==Disclaimer==
 
==Disclaimer==
  
Line 8: Line 7:
 
for beef, veal, lamb steaks and roasts in order to prevent foodborne illness.
 
for beef, veal, lamb steaks and roasts in order to prevent foodborne illness.
  
[[File:PBA1.jpg|500px]]
+
[[File:PBA_1.jpg|300px]]
 +
 
 +
[[File:PBA_2.jpg|300px]]
 +
 
 +
[[File:PBA_3.jpg|300px]]
 +
 
 +
[[File:PBA_4.jpg|300px]]
  
 
==Ingredients==
 
==Ingredients==
Line 22: Line 27:
 
***S: http://www.kjell.com/.mvc/Document/File?id=6c8f0fbd-c964-4199-aff7-a16401051b4d
 
***S: http://www.kjell.com/.mvc/Document/File?id=6c8f0fbd-c964-4199-aff7-a16401051b4d
 
***S, N, PL, GB: http://www.jula.se/media/pdf/product/Manual/943109_SV-NO-PL-EN_20120516.pdf
 
***S, N, PL, GB: http://www.jula.se/media/pdf/product/Manual/943109_SV-NO-PL-EN_20120516.pdf
*Personal Barbecue Assistant (PBA) plugin: available soon
+
*Personal Barbecue Assistant (PBA) plugin: https://docs.google.com/file/d/0Bz4omZm4gYcsUy1pNEx5U2VHNTA/edit?usp=sharing
 
*Your favourite food
 
*Your favourite food
  
Line 41: Line 46:
  
 
<source lang="text">
 
<source lang="text">
PBA_DEVICE_ID   = 111
+
LMS_IP        = '192.168.x.y'
 +
LMS_CLI_Port   = 9090
 +
SB_MAC        = '00:04:20:xx:xx:xx'
 +
 
 +
PBA_DEVICE_ID  = 564
 
PBA_SERVICE_ID = 'urn:upnp-ap15e-com:serviceId:PBA'
 
PBA_SERVICE_ID = 'urn:upnp-ap15e-com:serviceId:PBA'
  
local ft = luup.variable_get( PBA_SERVICE_ID, 'FoodText'    , PBA_SERVICE_ID )
+
local ft = luup.variable_get( PBA_SERVICE_ID, 'FoodText'    , PBA_DEVICE_ID )
local gt = luup.variable_get( PBA_SERVICE_ID, 'GradationText', PBA_SERVICE_ID )
+
local gt = luup.variable_get( PBA_SERVICE_ID, 'GradationText', PBA_DEVICE_ID )
  
 
local announcement = 'Your meal is ready' -- for custom target temperature
 
local announcement = 'Your meal is ready' -- for custom target temperature
Line 51: Line 60:
 
if ft ~= '' and gt ~= ''
 
if ft ~= '' and gt ~= ''
 
  then
 
  then
   announcement = 'Your ' .. tostring( ft ) .. ' is ' .. tostring( gr )  
+
   announcement = 'Your ' .. tostring( ft ) .. ' is ' .. tostring( gt )  
 
  end
 
  end
  
???urlencode( announcement )
+
announcement = string.gsub( announcement or '', ' ', '+' )
  
local announcement = ''http://translate.google.com/translate_tts?tl=en&q=' .. announcement
+
announcement = 'http://translate.google.com/translate_tts?tl=en&q=' .. announcement
  
LMS_Say( LMS_ip          ,  -- IP address of LMS  
+
LMS_Say( LMS_IP      ,  -- IP address of LMS  
         LMS_port        ,  -- CLI Port of LMS (default: 9090)
+
         LMS_CLI_Port,  -- CLI Port of LMS (default: 9090)
         player_id      ,  -- MAC address of player
+
         SB_MAC      ,  -- MAC address of player
         message1        ,  -- line 1
+
         '%20'      ,  -- line 1
         message2        ,  -- line 2
+
         '%20'      ,  -- line 2
         message_duration,  -- in seconds
+
         1          ,  -- in seconds
         announcement   ,  -- audio announcement
+
         announcement,  -- audio announcement
         5               ,  -- duration of announcement in seconds
+
         5           ,  -- duration of announcement in seconds
         5                 ) -- number of announcements         
+
         5             ) -- number of announcements         
 
</source>
 
</source>

Latest revision as of 03:02, 15 June 2013

Contents

[edit] Disclaimer

USE AT YOUR OWN RISK

Please note that the United States Department of Agriculture recommends a temperature of at least 63 °C (145 °F) for beef, veal, lamb steaks and roasts in order to prevent foodborne illness.

PBA 1.jpg

PBA 2.jpg

PBA 3.jpg

PBA 4.jpg

[edit] Ingredients

[edit] Directions

  • Connect the RFXtrx433 to your Vera.
  • Install the RFXtrx433 plugin.
  • Install and setup the PBA plugin:
    • Set ThermometerDeviceID to the device id of your wireless thermometer ("RFX Temp T9/...").
    • Setup a scene with trigger "Target temperature is reached"/"Yes" and add whatever action you would like to have executed when the target temperature is reached (e.g., switch on the table light, switch on a siren, switch off the oven, play an announcement (see example below), send an email or a SMS to your guests, ...).
    • Restart LuaUPnP.
  • Select food and gradation or set a custom target temperature (via PBA device tab).
  • Enjoy your meal!

[edit] Example

Example action for announcement using SAD for Squeezebox (http://wiki.micasaverde.com/index.php/Squeezebox#SAD_-_Squeezebox_Server_Announcement_Device):

LMS_IP         = '192.168.x.y'
LMS_CLI_Port   = 9090
SB_MAC         = '00:04:20:xx:xx:xx' 
 
PBA_DEVICE_ID  = 564
PBA_SERVICE_ID = 'urn:upnp-ap15e-com:serviceId:PBA'
 
local ft = luup.variable_get( PBA_SERVICE_ID, 'FoodText'     , PBA_DEVICE_ID )
local gt = luup.variable_get( PBA_SERVICE_ID, 'GradationText', PBA_DEVICE_ID )
 
local announcement = 'Your meal is ready' -- for custom target temperature
 
if ft ~= '' and gt ~= ''
 then
  announcement = 'Your ' .. tostring( ft ) .. ' is ' .. tostring( gt ) 
 end
 
announcement = string.gsub( announcement or '', ' ', '+' )
 
announcement = 'http://translate.google.com/translate_tts?tl=en&q=' .. announcement
 
LMS_Say( LMS_IP      ,   -- IP address of LMS 
         LMS_CLI_Port,   -- CLI Port of LMS (default: 9090)
         SB_MAC      ,   -- MAC address of player
         '%20'       ,   -- line 1
         '%20'       ,   -- line 2
         1           ,   -- in seconds
         announcement,   -- audio announcement
         5           ,   -- duration of announcement in seconds
         5             ) -- number of announcements
Personal tools