Author Topic: 1wire support  (Read 23884 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #105 on: March 21, 2011, 10:09:07 am »
thanks to possy we have working 1004 packages for owfs and the OneWire DCE device. 0810 will follow soon.

br Hari
rock your home - http://www.agocontrol.com home automation

_if_

  • Guru
  • ****
  • Posts: 239
    • View Profile
Re: 1wire support
« Reply #106 on: March 21, 2011, 10:52:07 pm »
Hari, did you ever look into which event parameter is needed for 'respond events'?

thanx
IF

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5497
  • DOES work for LinuxMCE.
    • View Profile
Re: 1wire support
« Reply #107 on: March 22, 2011, 05:53:00 am »
you mean, what's required to get your custom event to show up in the wizard > Respond to Events?

-Thom

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #108 on: March 22, 2011, 08:15:47 pm »
the device emits temperature changed events

br hari
rock your home - http://www.agocontrol.com home automation

_if_

  • Guru
  • ****
  • Posts: 239
    • View Profile
Re: 1wire support
« Reply #109 on: March 22, 2011, 09:01:28 pm »
I can't choose "temperature changed" events in wizard > respond to event...should that be there?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #110 on: March 23, 2011, 07:22:40 pm »
Any idea what this means?

Code: [Select]
01 03/11/11 16:41:59.189 OW_get error: 22, Invalid argument <0xb71a2b90>
an OW_get error 22 means that there is no sensor available. You need to properly attach a 1wire sensor to the interface.

br Hari
rock your home - http://www.agocontrol.com home automation

Kezza

  • Veteran
  • ***
  • Posts: 146
    • View Profile
Re: 1wire support
« Reply #111 on: March 25, 2011, 10:09:14 pm »
Hi Hari,

Reading through the code in svn and noticed it's looking for family code "28." for your temp sensors but mine is "10." http://owfs.sourceforge.net/family.html

Could this be why I'm getting the error?

For future devices, is this the only section of code that gets modified?.... just trying to learn how these template work.

Cheers,


hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #112 on: March 26, 2011, 12:03:12 am »
Hi Hari,

Reading through the code in svn and noticed it's looking for family code "28." for your temp sensors but mine is "10." http://owfs.sourceforge.net/family.html
ok, I will add them

Quote
Could this be why I'm getting the error?
no, the OW_get error means that owfs cannot see any devices

Quote
For future devices, is this the only section of code that gets modified?.... just trying to learn how these template work.
for reading out sensors, yes. We need a bit more code if we want to control devices, too.

br Hari
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #113 on: March 26, 2011, 06:52:58 pm »
rock your home - http://www.agocontrol.com home automation

twodogs

  • Guru
  • ****
  • Posts: 224
    • View Profile
Re: 1wire support
« Reply #114 on: March 29, 2011, 05:27:14 am »
I'd like to join this party and get my temp sensor working. After some initial problems with getting OWFS to install, I think I'm close. However, the 1wire device only lists ttyS0 and ttyS1 for ports and I have a USB temp sensor. Also, I don't see a way to create a multilevel sensor child.

John
« Last Edit: March 30, 2011, 05:38:37 am by twodogs »
http://greenrenovation.wordpress.com/home-automation/
system:
ASUS P5N7A-VM
integrated GeForce 9300
E5200 processor
Fusion 5 lite HDTV card
2G RAM
SYBA SY-PCI15001 6-port serial card
Denon AVR 3805
LG 42" Plasma
Gyration GYR3101
Cisco SPA3102 analog telephone adapter
Cisco 7971G IP phone/orbiter

Kezza

  • Veteran
  • ***
  • Posts: 146
    • View Profile
Re: 1wire support
« Reply #115 on: March 31, 2011, 06:29:18 am »

Thanks Hari,

Any idea why the log is not being created on my machine? This is on 1004 I had not problems on 810.

Whats the status with 810 packages?

Cheers,

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: 1wire support
« Reply #116 on: March 31, 2011, 07:08:19 pm »
I'd like to join this party and get my temp sensor working. After some initial problems with getting OWFS to install, I think I'm close. However, the 1wire device only lists ttyS0 and ttyS1 for ports and I have a USB temp sensor. Also, I don't see a way to create a multilevel sensor child.

John
the child is created automatically.

only serial devices are supported right now (or devices with built in serial/usb adapter)
rock your home - http://www.agocontrol.com home automation

twodogs

  • Guru
  • ****
  • Posts: 224
    • View Profile
Re: 1wire support
« Reply #117 on: April 01, 2011, 03:24:19 pm »
OK, but just so I don't make a mistake, I need to stop trying to use the DS9490R-A...



and buy a DS9097U-A...



Is that what everyone is using to connect their 1-wire network to the core?
« Last Edit: April 01, 2011, 03:40:24 pm by twodogs »
http://greenrenovation.wordpress.com/home-automation/
system:
ASUS P5N7A-VM
integrated GeForce 9300
E5200 processor
Fusion 5 lite HDTV card
2G RAM
SYBA SY-PCI15001 6-port serial card
Denon AVR 3805
LG 42" Plasma
Gyration GYR3101
Cisco SPA3102 analog telephone adapter
Cisco 7971G IP phone/orbiter

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1wire support
« Reply #118 on: April 01, 2011, 04:48:34 pm »
I also have the DS9490R and have not been able to get it to work

Kezza

  • Veteran
  • ***
  • Posts: 146
    • View Profile
Re: 1wire support
« Reply #119 on: April 03, 2011, 02:30:25 am »
hmm that might explain why mine has never worked on LMCE but flawless in windows.