<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Jee Labs Talk &#187; Tag: rooms - Recent Posts</title>
		<link>http://talk.jeelabs.net/tags/rooms</link>
		<description>Discussion about Jee Labs projects</description>
		<language>en-US</language>
		<pubDate>Sat, 11 Sep 2010 02:45:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://talk.jeelabs.net/search.php</link>
		</textInput>
		<atom:link href="http://talk.jeelabs.net/rss/tags/rooms" rel="self" type="application/rss+xml" />

		<item>
			<title>Jean-Claude on "rooms - code optimization?"</title>
			<link>http://talk.jeelabs.net/topic/471#post-2604</link>
			<pubDate>Mon, 23 Aug 2010 08:34:10 +0000</pubDate>
			<dc:creator>Jean-Claude</dc:creator>
			<guid isPermaLink="false">2604@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Good point. Right now, the only thing that triggers packet sending is motion, and the 30s or so periodic send. It would indeed be worthwhile to also send a packet when the light level changes substantially.&#60;/p&#62;

&#60;p&#62;I'll keep this in mind for a planned revision of the rooms node sketch, thx.&#60;/p&#62;
</description>
		</item>
		<item>
			<title>nefreyu on "rooms - code optimization?"</title>
			<link>http://talk.jeelabs.net/topic/471#post-2599</link>
			<pubDate>Sun, 22 Aug 2010 17:59:35 +0000</pubDate>
			<dc:creator>nefreyu</dc:creator>
			<guid isPermaLink="false">2599@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;

&#60;p&#62;I'm very new to all this and I've just been toying around with my first set of jeenodes and plugs.&#60;/p&#62;

&#60;p&#62;Experimenting with the Rooms plug I found that if you switch on a light the current version of the code does not pickup on the result very fast, also, the moving average is initialized as 0 (actually not initialized at all) so I changed the getLight() to do the following before the avgLight calculation:&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;if ( avgLight == 0 &#124;&#124; avgLight &#38;gt; light + 50 &#124;&#124; avgLight &#38;lt; light - 50 )
  avgLight = light;
&#60;/code&#62;&#60;/pre&#62;

&#60;p&#62;This seems to work, the initial value does not 'fade' to the right level, and if a light is switched on (significant change (+ / - 50)) it picks up on that new level faster.&#60;/p&#62;

&#60;p&#62;Maybe I'm missing the point, but with a slightly faster checking system (5 seconds instead of 30) it gives better results.&#60;/p&#62;
</description>
		</item>
		<item>
			<title>Jean-Claude on "Temperature logging"</title>
			<link>http://talk.jeelabs.net/topic/108/page/2#post-1906</link>
			<pubDate>Thu, 03 Jun 2010 22:23:54 +0000</pubDate>
			<dc:creator>Jean-Claude</dc:creator>
			<guid isPermaLink="false">1906@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Thx - this got lost in translation as I changed wiki's a while back. I've resurrected the page at &#60;a href=&#34;http://cafe.jeelabs.net/uproj/jeelink_receiver_in_c/&#34;&#62;http://cafe.jeelabs.net/uproj/jeelink_receiver_in_c/&#60;/a&#62;&#60;/p&#62;
</description>
		</item>
		<item>
			<title>jeroen on "Temperature logging"</title>
			<link>http://talk.jeelabs.net/topic/108/page/2#post-1904</link>
			<pubDate>Thu, 03 Jun 2010 16:25:21 +0000</pubDate>
			<dc:creator>jeroen</dc:creator>
			<guid isPermaLink="false">1904@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;The link: http://wiki.jeelabs.net/p/88
does not work. 
I'loved to see the code example. (i have problems with my serial connection (drops after few hours/days) Don't know if it is the jeelink with the central sketch or the Unix sw)&#60;/p&#62;
</description>
		</item>
		<item>
			<title>E_lexy on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344/page/2#post-1830</link>
			<pubDate>Mon, 31 May 2010 17:18:49 +0000</pubDate>
			<dc:creator>E_lexy</dc:creator>
			<guid isPermaLink="false">1830@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;[SOLVED] disregard any questions below, I got the URL wrong, the url represents the tmpl file: http://localhost:8080/statusWindow Soooo obvious after all. But as always, once you know; it's easy....&#60;/p&#62;

&#60;p&#62;@JCW thanks, i had asumed that, but I get &#34;can't find /&#34; in FF3.6 whereas the HelloWeb is working on port 8080 so nothing else is on that port.&#60;/p&#62;

&#60;p&#62;I use the the statusWindow.tmpl from SVN. How does jeemon find the tmpl file? does it have to match the name of the &#34;statusWindw.tcl&#34;?&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;proc start {} {
    variable appDir

    Config setup $appDir/config.txt
    # blah start
    Log disable msg
    JeeSketch register ./sketches
    Serial periodicScan [namespace which SerialEvent]
    statusWindow setup
    Web server 8080 $appDir
    # pachube setup [Config get pachube/]
    # ookRemote setup
    # puts [FritzBox getSID]
    # puts [join [FritzBox callList] \n]
    # FritzBox connect
    # twitter start jeelabs
    wm iconify .
    vwait forever
}
&#60;/code&#62;&#60;/pre&#62;
</description>
		</item>
		<item>
			<title>Jean-Claude on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344/page/2#post-1824</link>
			<pubDate>Mon, 31 May 2010 14:34:11 +0000</pubDate>
			<dc:creator>Jean-Claude</dc:creator>
			<guid isPermaLink="false">1824@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Make sure you have this line enabled in your application.tcl file:&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;Web server 8080 $appDir
&#60;/code&#62;&#60;/pre&#62;

&#60;p&#62;IOW, remove the leading &#34;#&#34; comment marker if you're using JeeMon-jcw/application.tcl as example.&#60;/p&#62;

&#60;p&#62;Also, you can type something like:&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;./JeeMon SysInfo interfaces
&#60;/code&#62;&#60;/pre&#62;

&#60;p&#62;... to get a list of interfaces. Should work on Ubuntu.&#60;/p&#62;
</description>
		</item>
		<item>
			<title>E_lexy on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344/page/2#post-1822</link>
			<pubDate>Mon, 31 May 2010 13:47:09 +0000</pubDate>
			<dc:creator>E_lexy</dc:creator>
			<guid isPermaLink="false">1822@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Jee ;) this is nice. 
I got Jeemon working too with the statusWindow.
Just have to find out why the webserver won't work. jeemon HelloWeb works...??
Got all the code from SVN today.&#60;/p&#62;

&#60;p&#62;FYI:
As I'm on Ubuntu I had to use de sysDep to find my USB devices with:
     proc start {} {
        array set ports [SysDep listSerialPorts]
        parray ports
        vwait forever
    }&#60;/p&#62;

&#60;p&#62;then used this in my config.txt&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;interfaces/ {
     usb-A600dVSp/ { baudrate 57600 action sketch }
     usb-A600cKvI/ { baudrate 57600 action sketch }
}

RF12/ {
        868:5/ {
            9/  { type rooms title &#34;test AK&#34; }
#        21/  { type central }
        }
}

sketches/ {
        rooms/      { timeout 300 }
}

actions/ {
        sketch { JeeSketch listen $conn }
}
&#60;/code&#62;&#60;/pre&#62;
</description>
		</item>
		<item>
			<title>E_lexy on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344/page/2#post-1819</link>
			<pubDate>Mon, 31 May 2010 11:00:12 +0000</pubDate>
			<dc:creator>E_lexy</dc:creator>
			<guid isPermaLink="false">1819@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Aah, got it. When I now change the sending node ID it's reflected in the LCD on the other end.&#60;/p&#62;

&#60;pre&#62;&#60;code&#62;-----
byte hdr = rf12_hdr;
byte a   = rf12_data[0];
byte b   = rf12_data[1];
byte c   = rf12_data[2];
byte d   = rf12_data[3];

int device_id   = hdr &#38;amp; 0x1F;
lcd.print((int) device_id);
lcd.print(' ');
------
&#60;/code&#62;&#60;/pre&#62;
</description>
		</item>
		<item>
			<title>Jean-Claude on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344/page/2#post-1818</link>
			<pubDate>Mon, 31 May 2010 10:33:54 +0000</pubDate>
			<dc:creator>Jean-Claude</dc:creator>
			<guid isPermaLink="false">1818@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;Oh, now I see what you're doing... rf12_hdr is a separate variable.&#60;/p&#62;
</description>
		</item>
		<item>
			<title>E_lexy on "rooms rf12 data garbled"</title>
			<link>http://talk.jeelabs.net/topic/344#post-1817</link>
			<pubDate>Mon, 31 May 2010 10:20:11 +0000</pubDate>
			<dc:creator>E_lexy</dc:creator>
			<guid isPermaLink="false">1817@http://talk.jeelabs.net/</guid>
			<description>&#60;p&#62;JC Thanks, any hints on why I don't get a header?&#60;/p&#62;
</description>
		</item>

	</channel>
</rss>
