<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=Do_Something_When_Sensors_Change</id>
	<title>Do Something When Sensors Change - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=Do_Something_When_Sensors_Change"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Do_Something_When_Sensors_Change&amp;action=history"/>
	<updated>2026-07-21T21:22:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Do_Something_When_Sensors_Change&amp;diff=35740&amp;oldid=prev</id>
		<title>Marie.o: Initial page to show how to create events for sensor changes</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Do_Something_When_Sensors_Change&amp;diff=35740&amp;oldid=prev"/>
		<updated>2015-07-20T20:54:40Z</updated>

		<summary type="html">&lt;p&gt;Initial page to show how to create events for sensor changes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: Tutorials]] &lt;br /&gt;
One of the things that is very common, is to automatically execute commands when a sensor detects some change in temperature or brightness. The following steps are all executed within web admin.&lt;br /&gt;
&lt;br /&gt;
This information is true as of svn 30915&lt;br /&gt;
&lt;br /&gt;
= Add A Sensor =&lt;br /&gt;
If you do not yet have a sensor, you need to add one.&lt;br /&gt;
&lt;br /&gt;
Add a sensor is either automatic, if your hardware supports it, or you manually add a new device of device template Brightness Sensor (DT #1745) or Temperature Sensor (DT #1744) below your hardware interface in the device tree, or in the Lighting or Climate part of the wizard.&lt;br /&gt;
&lt;br /&gt;
After adding the sensor, make sure to quickly reload the router, as instructed to do by your Orbiter.&lt;br /&gt;
&lt;br /&gt;
= Create A Rule =&lt;br /&gt;
A rule consists of criterias and commands.&lt;br /&gt;
== Create Criteria ==&lt;br /&gt;
* Clicking on Advanced / Configuration / Events in web admin will bring you a page showing all your currently defined events, with the option to &amp;quot;Create an advanced event&amp;quot;.&lt;br /&gt;
* Click &amp;quot;Create Advanced Event&amp;quot; and select the Brightness (under General) or Temperature Change (under Climate) event.&lt;br /&gt;
* Click on Edit for the Criteria and Add a Segment.&lt;br /&gt;
* Choose State from the drop down.&lt;br /&gt;
* Choose the sensor device in the next drop down.&lt;br /&gt;
* Choose Brightness for brightness sensors (or Current Temp for temperature sensors)&lt;br /&gt;
* Select the comparison as well as the value to compare it with.&lt;br /&gt;
* Click Update&lt;br /&gt;
* Go to Create Commands&lt;br /&gt;
== Create Commands ==&lt;br /&gt;
* Click Edit Event Commands&lt;br /&gt;
* Select the device that you want to send a command to&lt;br /&gt;
* Fill in the blanks&lt;br /&gt;
* Press test to make sure the device works.&lt;br /&gt;
* Click Save&lt;br /&gt;
* You are done! - That was easy, wasn&amp;#039;t it.&lt;/div&gt;</summary>
		<author><name>Marie.o</name></author>
	</entry>
</feed>