News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Dallas 1-wire sensors using Linki45

Started by chrisbirkinshaw, November 29, 2007, 02:59:14 PM

Previous topic - Next topic

chrisbirkinshaw

I have been using a simple passive serial to Dallas 1-wire bus adapter to read a few temp sensors using command line linux tools:

http://www.digitemp.com/software.shtml

According to the following post it is possible to add this functionality to LMCE:

http://forum.linuxmce.org/index.php?topic=374.0

I have added a Linki45 device but can't find any field for the serial port. I am therefore guessing this is not a device for the simple passive serial interface. Does anyone have eny experience with this?

Thanks,

Chris

tschak909

I have only used the DS9490R USB device.

-Thom

blackoper

I'm interested in this topic as well. I plan on using 1-wire temp sensors throughout the house

chrisbirkinshaw

The best solution is going to be to add them to misterhouse and then get MH to initiate a connection with the core and update temp values. I will write a wiki article when I've got this going in the next few weeks.

tschak909

ewwwww

WHY?!?!

you're duplicating things, just so you can wrap your head around it?

you've got everything you need already inside DCE.

-Thom

chrisbirkinshaw

I already have MH sending temp values to MH which are just random number at the moment. It is also intercepting info from motion detectors and controlling X10 devices from LMCE. So adding 1-wire devices here is pretty simple.

What else were you suggesting? An external script which connects to LMCE and sends temp values every few minutes? Could be very simple in perl.


tschak909

you can make a GSD device in ruby, you figure out what commands you need to implement (the DCE submenu can help here, as well as looking at device templates for temperature sensors etc.), and you implement the relevant ruby snipplets inside the text boxes inside the device template.

-Thom

Matthew

The wiki has a more detailed description of the process for creating a new GSD to control your HW in "A new concept in collaborative development". Please update that article if you learn more about the process that others new to it will need to know.