Cooking with Vera

From MiOS
(Difference between revisions)
Jump to: navigation, search
(Ingredients)
(Directions)
Line 27: Line 27:
 
==Directions==
 
==Directions==
  
*Connect the RFXtrx433 to your Vera
+
*Connect the RFXtrx433 to your Vera.
*Install the RFXtrx433 plugin
+
*Install the RFXtrx433 plugin.
 
*Install and setup the PBA plugin:
 
*Install and setup the PBA plugin:
 
**Set ThermometerDeviceID to the device id of your wireless thermometer ("RFX Temp T9/...").
 
**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, ...).
 
**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
+
**Restart LuaUPnP.
*Select food and gradation or set a custom target temperature (via PBA tab)
+
*Select food and gradation or set a custom target temperature (via PBA device tab).
 
*Enjoy your meal!
 
*Enjoy your meal!
 
  
 
==Example==
 
==Example==

Revision as of 20:52, 18 April 2013


Contents

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.

PBA1.jpg

Ingredients

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!

Example

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

PBA_DEVICE_ID   = 111
PBA_SERVICE_ID = 'urn:upnp-ap15e-com:serviceId:PBA'
 
local ft = luup.variable_get( PBA_SERVICE_ID, 'FoodText'     , PBA_SERVICE_ID )
local gt = luup.variable_get( PBA_SERVICE_ID, 'GradationText', PBA_SERVICE_ID )
 
local announcement = 'Your meal is ready' -- for custom target temperature
 
if ft ~= '' and gt ~= ''
 then
  announcement = 'Your ' .. tostring( ft ) .. ' is ' .. tostring( gr ) 
 end
 
???urlencode( announcement )
 
local announcement = ''http://translate.google.com/translate_tts?tl=en&q=' .. announcement
 
LMS_Say( LMS_ip          ,   -- IP address of LMS 
         LMS_port        ,   -- CLI Port of LMS (default: 9090)
         player_id       ,   -- MAC address of player
         message1        ,   -- line 1
         message2        ,   -- line 2
         message_duration,   -- in seconds
         announcement    ,   -- audio announcement
         5               ,   -- duration of announcement in seconds
         5                 ) -- number of announcements
Personal tools