<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Aliases for 1-Wire sensors]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=45&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=45"/>
	<updated>2016-01-11T20:50:50Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=45</id>
	<entry>
		<title type="html"><![CDATA[Re: Aliases for 1-Wire sensors]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=206#p206"/>
		<content type="html"><![CDATA[<p>The aliases you ask for are supported by the OWFS package (namely the owserver), which the 1-Wire driver relies on. Please add the following line to your <strong>/etc/owfs.conf</strong>:</p><div class="codebox"><pre><code>alias = /etc/ow-alias</code></pre></div><p>Now create the file with aliases definition:</p><div class="codebox"><pre><code>sudo nano /etc/ow-alias</code></pre></div><p>And put the following content in:</p><div class="codebox"><pre><code>/28.063BC8040000 = sensor1
/28.1FBFBC020000 = sensor2</code></pre></div><p>Save the file and restart owserver:</p><div class="codebox"><pre><code>sudo service owserver restart</code></pre></div><p>Now run <strong>owdir</strong> and you should see your aliases. Also you can use</p><div class="codebox"><pre><code>owread /sensor1/temperature12</code></pre></div><p>to read the temperature.</p><p>Immediately you can use /sensor1/temperature12 in the OwsDrv driver configuration and therefore you achieved what you were asking for. Except the XML format which we can&#039;t do anything about because OWFS is not our product. Hope this helps!</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-01-11T20:50:50Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=206#p206</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Aliases for 1-Wire sensors]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=205#p205"/>
		<content type="html"><![CDATA[<p>Hi,<br />we need a flexible system, which will allow to easy change actors and sensors on an 1-wire bus. Sorrowly the REX Control System does not allow that, because all 1-wire devices have to be compiled in. It would be nice, if the REX system would read a definition file at runtime/startup containing all 1-wire devices with id and alias names, preferably as XML.</p>]]></content>
		<author>
			<name><![CDATA[contactform]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=11</uri>
		</author>
		<updated>2016-01-11T20:45:58Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=205#p205</id>
	</entry>
</feed>
