Author Topic: Dallas 1-wire sensors using Linki45  (Read 4842 times)

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Dallas 1-wire sensors using Linki45
« on: November 29, 2007, 02:59:14 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #1 on: November 29, 2007, 04:12:26 pm »
I have only used the DS9490R USB device.

-Thom

blackoper

  • Veteran
  • ***
  • Posts: 110
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #2 on: November 30, 2007, 06:49:50 am »
I'm interested in this topic as well. I plan on using 1-wire temp sensors throughout the house

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #3 on: December 04, 2007, 06:27:37 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #4 on: December 04, 2007, 06:38:10 pm »
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

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #5 on: December 04, 2007, 07:12:13 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #6 on: December 04, 2007, 07:17:03 pm »
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

  • Douchebag
  • Addicted
  • *
  • Posts: 567
    • View Profile
Re: Dallas 1-wire sensors using Linki45
« Reply #7 on: December 05, 2007, 12:30:47 am »
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.