<?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/index.php?action=history&amp;feed=atom&amp;title=Luup_Sdata</id>
		<title>Luup Sdata - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mios.com/index.php?action=history&amp;feed=atom&amp;title=Luup_Sdata"/>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Luup_Sdata&amp;action=history"/>
		<updated>2026-05-04T13:58:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.8</generator>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=3184&amp;oldid=prev</id>
		<title>Henk at 06:54, 27 May 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=3184&amp;oldid=prev"/>
				<updated>2011-05-27T06:54:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:54, 27 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Development]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The JavaScript API&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The JavaScript API&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key micasaverde_wiki:diff:version:1.11a:oldid:3179:newid:3184 --&gt;
&lt;/table&gt;</summary>
		<author><name>Henk</name></author>	</entry>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=3179&amp;oldid=prev</id>
		<title>Henk at 06:48, 27 May 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=3179&amp;oldid=prev"/>
				<updated>2011-05-27T06:48:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:48, 27 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;The JavaScript API&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Luup_Sdata'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Luup Protocol]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Luup Protocol]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* All of Luup's Device types are explained in detail at [[Luup Devices]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* All of Luup's Device types are explained in detail at [[Luup Devices]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key micasaverde_wiki:diff:version:1.11a:oldid:2744:newid:3179 --&gt;
&lt;/table&gt;</summary>
		<author><name>Henk</name></author>	</entry>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=2744&amp;oldid=prev</id>
		<title>Micasaverde at 00:09, 2 March 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=2744&amp;oldid=prev"/>
				<updated>2011-03-02T00:09:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:09, 2 March 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Luup Protocol]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Luup Protocol]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* All of Luup's Device types are explained in detail at [[Luup Devices]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Arguments==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Arguments==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* loadtime&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* loadtime&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key micasaverde_wiki:diff:version:1.11a:oldid:2742:newid:2744 --&gt;
&lt;/table&gt;</summary>
		<author><name>Micasaverde</name></author>	</entry>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=2742&amp;oldid=prev</id>
		<title>Micasaverde: New page: * lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Lu...</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Luup_Sdata&amp;diff=2742&amp;oldid=prev"/>
				<updated>2011-03-01T23:58:20Z</updated>
		
		<summary type="html">&lt;p&gt;New page: * lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Lu...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* lu_sdata is the preferred method for new user interfaces to interact with the MiOS engine. A full description of how to craft requests to LuaUPnP and the JSON format is available at [[Luup Protocol]]&lt;br /&gt;
==Arguments==&lt;br /&gt;
* loadtime&lt;br /&gt;
** An integer representing the UNIX timestamp for when the devices list was last updated. On your first request, pass 0, and on subsequent requests pass in the loadtime returned in lu_sdata.&lt;br /&gt;
* dataversion&lt;br /&gt;
** An integer representing the UNIX timestamp for the last time the state of the engine was updated. On your first request, pass 0 for dataversion and on subsequent requests pass the value returned in lu_sdata&lt;br /&gt;
* timeout&lt;br /&gt;
** An integer specifying the timeout of the request in seconds. Setting this to a higher value allows your UI to block on the HTTP request to lu_sdata and only send new requests when data changes.&lt;br /&gt;
==Returned JSON==&lt;br /&gt;
The return is a JSON object with the following key/value pairs.&lt;br /&gt;
* full&lt;br /&gt;
** Integer&lt;br /&gt;
** If 1, the user interface should completely refresh all data structures, if 0, this is a minor status update.&lt;br /&gt;
* version&lt;br /&gt;
** String&lt;br /&gt;
** The build version of the engine returning the request. Can be used to check for features as they are added in the future.&lt;br /&gt;
* model&lt;br /&gt;
** String&lt;br /&gt;
** The hardware the MiOS engine is running on&lt;br /&gt;
* zwave_heal&lt;br /&gt;
** Integer&lt;br /&gt;
** 1 if a heal is active, 0 otherwise.&lt;br /&gt;
* temperature&lt;br /&gt;
** String&lt;br /&gt;
** F for farenheit representation, C for celsius.&lt;br /&gt;
* serial_number&lt;br /&gt;
** String&lt;br /&gt;
** The serial number of the unit.&lt;br /&gt;
* fwd1&lt;br /&gt;
** The primary forwarding server for accessing the unit remotely.&lt;br /&gt;
* fwd2&lt;br /&gt;
** The secondary forwarding server for accessing the unit remotely.&lt;br /&gt;
* sections&lt;br /&gt;
** List&lt;br /&gt;
** A list of JSON objects with the following key/value pairs&lt;br /&gt;
*** name&lt;br /&gt;
**** String&lt;br /&gt;
**** The name of the section.&lt;br /&gt;
*** id&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the section. Sections contain rooms which contain devices and scenes.&lt;br /&gt;
* rooms&lt;br /&gt;
** List&lt;br /&gt;
** A list of JSON objects with the following key/value pairs&lt;br /&gt;
*** name&lt;br /&gt;
**** String&lt;br /&gt;
**** The name of the room.&lt;br /&gt;
*** id&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the room. Rooms are contained by sections and contain devices and scenes.&lt;br /&gt;
*** section&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the section that contains the room.&lt;br /&gt;
* scenes&lt;br /&gt;
** List&lt;br /&gt;
** A list of JSON objects with the following key/value pairs&lt;br /&gt;
*** name&lt;br /&gt;
**** String&lt;br /&gt;
**** The name of the scene.&lt;br /&gt;
*** id&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the scene.&lt;br /&gt;
*** room&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the room that contains the scene.&lt;br /&gt;
*** active&lt;br /&gt;
**** Integer&lt;br /&gt;
**** 1 if the scene is active, 0 otherwise.&lt;br /&gt;
* devices&lt;br /&gt;
** '''Note:''' Devices will have additional variables based on their category. The actions available for a device can be seen at [[Luup Devices]] and the list of categories and device types is available at [[Luup Device Categories]]]&lt;br /&gt;
** A list of JSON objects with the following key/value pairs&lt;br /&gt;
*** name&lt;br /&gt;
**** String&lt;br /&gt;
**** The name of the device.&lt;br /&gt;
*** id&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the device.&lt;br /&gt;
*** room&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The id of the room that contains the device.&lt;br /&gt;
*** category&lt;br /&gt;
**** Integer&lt;br /&gt;
**** The category of the device.&lt;br /&gt;
*** parent&lt;br /&gt;
**** Integer&lt;br /&gt;
**** 1 if the scene is active, 0 otherwise.&lt;br /&gt;
* categories&lt;br /&gt;
** List&lt;br /&gt;
** A list of JSON objects with the following key/value pairs&lt;br /&gt;
*** name&lt;br /&gt;
**** String&lt;br /&gt;
**** The name of the category&lt;br /&gt;
*** id&lt;br /&gt;
**** Integer&lt;br /&gt;
**** the id of the category. Corresponds to the category field of the device objects.&lt;br /&gt;
* loadtime&lt;br /&gt;
** Integer&lt;br /&gt;
** A UNIX timestamp with the last time the data was reloaded. Should be passed in the next lu_sdata request&lt;br /&gt;
* dataversion&lt;br /&gt;
** Integer&lt;br /&gt;
** A UNIX timestamp with the last time the state was updated. Should be passed in the next lu_sdata request&lt;br /&gt;
* state&lt;br /&gt;
** Integer&lt;br /&gt;
** -1 means nothing is happening. 0, 1, 5, 6 mean that the engine is working. 2 or 3 indicates an error. 4 indicates a successful operation.&lt;br /&gt;
* comment&lt;br /&gt;
** String&lt;br /&gt;
** Some message that should be displayed to the user.&lt;/div&gt;</summary>
		<author><name>Micasaverde</name></author>	</entry>

	</feed>