<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.mios.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.mios.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jheena789</id>
		<title>MiOS - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mios.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jheena789"/>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php/Special:Contributions/Jheena789"/>
		<updated>2026-06-03T05:29:24Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.8</generator>

	<entry>
		<id>http://wiki.mios.com/index.php/Luup_Requests</id>
		<title>Luup Requests</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php/Luup_Requests"/>
				<updated>2010-07-31T07:58:10Z</updated>
		
		<summary type="html">&lt;p&gt;Jheena789: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Development]]&lt;br /&gt;
In addition to sending requests using standard UPnP, you can also do most things using a simple HTTP requests.  Use the built-in URL &amp;lt;tt&amp;gt;data_request&amp;lt;/tt&amp;gt;, and pass the following on the URL:&lt;br /&gt;
*&amp;lt;tt&amp;gt;id&amp;lt;/tt&amp;gt; the id of the request, &lt;br /&gt;
*&amp;lt;tt&amp;gt;output_format&amp;lt;/tt&amp;gt; the format in which you want a response as &amp;lt;tt&amp;gt;json&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;xml&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;text&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Not all requests support all &amp;lt;tt&amp;gt;output_format&amp;lt;/tt&amp;gt; options.  Here is a list of requests:&lt;br /&gt;
&lt;br /&gt;
==user_data==&lt;br /&gt;
&lt;br /&gt;
Example: http://ipaddress:49451/data_request?id=user_data&amp;amp;output_format=xml&lt;br /&gt;
&lt;br /&gt;
This returns the configuration data for Vera, which is a list of all devices and the UPnP variables which are persisted between resets as well as rooms, names, and other data the user sets as part of the configuration.&lt;br /&gt;
&lt;br /&gt;
==user_data2==&lt;br /&gt;
&lt;br /&gt;
Example: http://ipaddress:49451/data_request?id=user_data2&amp;amp;output_format=xml&lt;br /&gt;
&lt;br /&gt;
Similar to &amp;lt;tt&amp;gt;user_data&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==lu_status==&lt;br /&gt;
&lt;br /&gt;
Example: http://ipaddress:49451/data_request?id=lu_status&amp;amp;output_format=xml&lt;br /&gt;
&lt;br /&gt;
Or for a specific device: http://ipaddress:49451/data_request?id=lu_status&amp;amp;output_format=xml&amp;amp;UDN=uuid:4d494342-5342-5645-0002-000000000002 or http://ipaddress:49451/data_request?id=lu_status&amp;amp;output_format=xml&amp;amp;DeviceNum=6&lt;br /&gt;
&lt;br /&gt;
This returns the current status for all devices including all the current upnp variables and the status of any active jobs.&lt;br /&gt;
&lt;br /&gt;
==lu_actions==&lt;br /&gt;
&lt;br /&gt;
==lu_device==&lt;br /&gt;
&lt;br /&gt;
This returns all the XML with all the UPNP device description documents.  Use: http://ipaddress:49451/data_request?id=lu_device&amp;amp;output_format=xml&amp;amp;DeviceNum=x or &amp;amp;UDN=y to narrow it down.  Then when you see the service URL's, like &amp;lt;SCPDURL&amp;gt;/luvd/S_HVAC_UserOperatingMode1.xml&amp;lt;/SCPDURL&amp;gt;, you can view them with: http://ipaddress:49451/luvd/S_HVAC_UserOperatingMode1.xml&lt;br /&gt;
&lt;br /&gt;
==lu_file==&lt;br /&gt;
&lt;br /&gt;
==lu_lua==&lt;br /&gt;
&lt;br /&gt;
==lu_action==&lt;br /&gt;
&lt;br /&gt;
Example: http://ipaddress:49451/data_request?id=lu_action&amp;amp;output_format=xml&amp;amp;DeviceNum=6&amp;amp;serviceId=urn:upnp-org:serviceId:SwitchPower1&amp;amp;action=SetTarget&amp;amp;newTargetValue=1&lt;br /&gt;
&lt;br /&gt;
Sends a UPnP action.&lt;br /&gt;
&lt;br /&gt;
To run a scene, you send the action 'RunScene' to the internal 'Scene Manager' device (which has ID #2):&lt;br /&gt;
&lt;br /&gt;
http://ipadress:49451/data_request?id=lu_action&amp;amp;output_format=xml&amp;amp;DeviceNum=2&amp;amp;serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&amp;amp;action=RunScene&amp;amp;SceneNum=&amp;lt;SceneNum&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==lu_variableset==&lt;br /&gt;
&lt;br /&gt;
http://ip:49451/data_request?id=lu_variableset&amp;amp;DeviceNum=6&amp;amp;serviceId=urn:micasaverde-com:serviceId:DoorLock1&amp;amp;Variable=Status&amp;amp;Value=1&lt;br /&gt;
&lt;br /&gt;
==lu_variableget==&lt;br /&gt;
&lt;br /&gt;
http://ip:49451/data_request?id=lu_variableget&amp;amp;DeviceNum=6&amp;amp;serviceId=urn:micasaverde-com:serviceId:DoorLock1&amp;amp;Variable=Status&lt;br /&gt;
&lt;br /&gt;
==lu_reload==&lt;br /&gt;
&lt;br /&gt;
Resets the Luup engine with any new configuration settings.&lt;br /&gt;
&lt;br /&gt;
==lu_alive==&lt;br /&gt;
&lt;br /&gt;
Return OK if the engine is running.&lt;br /&gt;
&lt;br /&gt;
==lu_finddevice==&lt;br /&gt;
&lt;br /&gt;
Return the device id, UDN, device type of the first device that matches all the parameters passed on the URL: &amp;lt;tt&amp;gt;devtype&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;ip&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;id&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==lu_resync==&lt;br /&gt;
&lt;br /&gt;
ReSync's all the devices, rooms, users, sections with event servers and returns OK&lt;br /&gt;
&lt;br /&gt;
==lu_wget==&lt;br /&gt;
&lt;br /&gt;
Returns the contents of the URL you pass in the &amp;quot;url&amp;quot; argument.  Optionally append &amp;quot;user&amp;quot; and &amp;quot;pass&amp;quot; arguments for http authentication, and &amp;quot;timeout&amp;quot; to specify the maximum time to wait in seconds.&lt;br /&gt;
&lt;br /&gt;
==lu_iprequests==&lt;br /&gt;
&lt;br /&gt;
Returns the recent IP requests in order by most recent first, including information about devices in use and if the IP is blacklisted (ignored by the plug and play mechanism).  Optionally append &amp;quot;oldest&amp;quot; to specify the oldest IP request in seconds.&lt;br /&gt;
&lt;br /&gt;
==lu_blacklistip==&lt;br /&gt;
&lt;br /&gt;
Append &amp;quot;ip&amp;quot; to the URL, and optionally &amp;quot;remove=1&amp;quot; to add (or remove) the IP to the blacklist so plug and play IP devices won't be added.&lt;br /&gt;
&lt;br /&gt;
==live_energy_usage==&lt;br /&gt;
&lt;br /&gt;
For backward compatibility it reports current energy usage in a tab delimited format&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
[http://www.cellulite.co.uk/ '''cellulite''']&lt;/div&gt;</summary>
		<author><name>Jheena789</name></author>	</entry>

	<entry>
		<id>http://wiki.mios.com/index.php/Dialer_Plugin</id>
		<title>Dialer Plugin</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php/Dialer_Plugin"/>
				<updated>2010-07-30T05:32:11Z</updated>
		
		<summary type="html">&lt;p&gt;Jheena789: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Plugins]]&lt;br /&gt;
[[Category:3rd Party]]&lt;br /&gt;
Dealer Plugin allows Vera to initiate an automatic phone call between two or more parties.&lt;br /&gt;
&lt;br /&gt;
For example, a motion detector at home could make Vera connect you at mobile phone and the home phone - thus letting you reach someone who just entered home immediately.&lt;br /&gt;
&lt;br /&gt;
Similarly, button on z-wave controller at home could programmed to initiate a call between a speakerphone at home and your mobile or office home - which could make a sort of Quick Dial button for children or elderly ([http://thinkvoip.wordpress.com keep in mind that residential VoIP solutions are '''not designed''' to be mission critical], and thus '''should not''' be trusted for real life and death matters).&lt;br /&gt;
&lt;br /&gt;
Before starting with the setup, user should decide on ''primary'' and ''secondary'' phone numbers. Primary number is where the 'emergency' call goes (ex: user's mobile phone), secondary number is where the event happens. &lt;br /&gt;
To illustrate this we'll take a simplified scenario: user has an auto-answering speakerphone at home, and if something happens he wants the system to reach him on his mobile phone, connecting to the speakerphone at home so he can talk to whoever is there (at home) at the moment. In this case ''primary'' number would be the mobile phone, and the ''secondary'' number would  be the home number. This is important because the system first calls the ''primary'' number, and only when it answered it connects the ''secondary'' one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Login into your [http://pbxes.com PBXes] account, and create a Classical (or SIP if relevant) extension that would represent the ''primary'' number as defined above. Put any unique value in URL field in Webcall section.&lt;br /&gt;
 &lt;br /&gt;
[[Image:Cl-ext.png‎‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install the plugin on Vera, create a new Dialer device, Save&lt;br /&gt;
&lt;br /&gt;
* Go to device settings, in field Alias put the value you used in URL @pbxes.com&lt;br /&gt;
Fill PhoneNumber field with the ''secondary'' number. Don't forget to save.&lt;br /&gt;
&lt;br /&gt;
[[Image:Dealer.png‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Test setup by clicking on 'On' button would trigger the call. The device can now be used in scenes, events, and Luup scripts.&lt;br /&gt;
&lt;br /&gt;
For those who would like to go deeper: both ''primary'' and ''secondary'' destinations can also be calling groups of various dialing strategies, or can even dial into a virtual conference rooms. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download [http://www.box.net/shared/4vgsl5v2lr Dialer plugin] and enjoy!&lt;br /&gt;
&lt;br /&gt;
Feel free to contact me with questions: dialer@edmidor.com&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
[http://www.cellulite.co.uk/ '''cellulite''']&lt;/div&gt;</summary>
		<author><name>Jheena789</name></author>	</entry>

	</feed>