Difference between revisions of "1-Wire"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
 +
{{versioninfo|1004Status=Working|1004UpdatedDate=23 Oct 2011|1004UpdatedBy=[[User:Kezza|Kezza]]}}
 +
 
[[Category: Hardware]]
 
[[Category: Hardware]]
 
[[Category: Automation]]
 
[[Category: Automation]]
Line 4: Line 6:
 
[[Category: Weather Station]]
 
[[Category: Weather Station]]
  
In order for 1-Wire to be supported under LinuxMCE 1-wire device template is needed. Unfortunately it got lost somehow. Maybe totallymaxed / Uplink_ still have that device template in their sqlCVS
+
1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single signal. LinuxMCE currently only monitors temperature but can be expanded easily.
 +
 
 +
=Currently confirmed devices working=
 +
1-Wire Serial Adapter[http://www.hobby-boards.com/catalog/product_info.php?cPath=23&products_id=28]
 +
Temperature sensor[http://www.hobby-boards.com/catalog/product_info.php?cPath=24&products_id=109]
 +
 
 +
=To setup=
 +
 
 +
1. Go to Show '''devices tree->CORE''' and click on '''Create Child Device'''
 +
 
 +
2. Click '''Pick Device Template''' and find 1wire device template or use '''ID 2161. Click Pick Device Template'''
  
 +
3. Under '''Core->1wire''' I had to select the serial port under COM Port on PC
  
1-Wire has some nice and affordable [http://wiki.linuxmce.org/index.php/Category:Weather_Station Weather Stations], their price is around 80$ while EIB/KNX Weather stations are around 600€.
+
4. From 1wire device click '''Create Child Device''' and pick '''Multilevel Sensor'''
  
 +
5. In Multilevel Sensor fill in '''PK_FloorplanObjectType''' with Temperature and '''Port/Channel Number''' with your temperature sensors address
  
There is an [http://oww.sourceforge.net/ oww project] that provides Linux interface to the Dallas Semiconductor 1-wire weather station.
+
6. Save and reload router
  
Alternatively, there is the One Wire File System (OWFS).
+
7. You should now see the Multilevel Sensor status look like this ON/AUTO/AUTO/25 (16.56). With 16.56 degrees.
  
OWFS [http://owfs.org/] is a Virtual File System that sets up the 1-Wire network as a 'Directory' of 1-Wire nodes, which contains 'Files' which can be read or written to. These files are the values related to the 1-Wire node - i.e. temperature, power.  If it is a 1-Wire switch, rather than sensor a value can be 'written' to the file to toggle it.
+
8. The sensor can now be added under '''Floorplan Wizard'''
  
With OWFS set up, may be a device template would be easy to implement ?
 
  
As well as temperature and weather monitoring - 1-Wire can be used to monitor Energy Use/Power in the home with a Current Sensor. Also C02.
+
'''NOTE:''' This page is currently a WIP and will be expanded when more information is available. Main thing that needs to be added is how to find the address of the sensors.

Revision as of 00:24, 23 October 2011

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Working 23 Oct 2011 Kezza
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single signal. LinuxMCE currently only monitors temperature but can be expanded easily.

Currently confirmed devices working

1-Wire Serial Adapter[1] Temperature sensor[2]

To setup

1. Go to Show devices tree->CORE and click on Create Child Device

2. Click Pick Device Template and find 1wire device template or use ID 2161. Click Pick Device Template

3. Under Core->1wire I had to select the serial port under COM Port on PC

4. From 1wire device click Create Child Device and pick Multilevel Sensor

5. In Multilevel Sensor fill in PK_FloorplanObjectType with Temperature and Port/Channel Number with your temperature sensors address

6. Save and reload router

7. You should now see the Multilevel Sensor status look like this ON/AUTO/AUTO/25 (16.56). With 16.56 degrees.

8. The sensor can now be added under Floorplan Wizard


NOTE: This page is currently a WIP and will be expanded when more information is available. Main thing that needs to be added is how to find the address of the sensors.