LinuxMCE Forums
May 20, 2013, 06:49:07 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: 1 ... 9 10 [11] 12 13 ... 15
  Print  
Author Topic: 1wire support  (Read 16316 times)
Techstyle
Addicted
*
Posts: 662



View Profile WWW
« Reply #150 on: January 24, 2012, 07:11:57 pm »

I have the same device, good luck.
Logged

twodogs
Guru
****
Posts: 223


View Profile
« Reply #151 on: January 24, 2012, 07:20:08 pm »

Damn! If only I'd held out a little longer, you'd be floundering and I'd be watching.

Forgot to mention that I've set this up on a 1004 test rig (not my installed 0810 system).

Twodogs
« Last Edit: January 25, 2012, 03:08:55 am by twodogs » Logged

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: 662



View Profile WWW
« Reply #152 on: January 24, 2012, 08:08:21 pm »

My system is all in pieces at the moment, I have no idea where the device is
Logged

Techstyle
Addicted
*
Posts: 662



View Profile WWW
« Reply #153 on: January 25, 2012, 01:50:32 am »

I found it plugged it in (0810) without the sensor and added device template #2161, waited for a bit then got this:

Code:
========== NEW LOG SECTION ==========
1 01/24/12 17:43:02 43 (spawning-device) Starting... 9
1 01/24/12 17:43:03 43 (spawning-device) Found /usr/pluto/bin/OneWire
01 01/24/12 17:43:03.140 Opening port: /dev/ttyUSB0 <0xb70096c0>
01 01/24/12 17:43:03.143 OW_init error: 22, Invalid argument <0xb70096c0>
01 01/24/12 17:43:03.143 Connect() Failed <0xb70096c0>

in an earlier message Hari said the error: 22 was a error because is no sensor.  Plugged in the sensor and get nothing.

I added a multilevel sensor as a child but I am stuck on what the port address of the sensor is
Logged

twodogs
Guru
****
Posts: 223


View Profile
« Reply #154 on: January 25, 2012, 02:56:00 am »

I plugged my adapter into my working 0810 installation and got the same result. Looks like things are trying to work - apparently the device is recognized and assigned to a USB port. The 1-wire software appears to attempt a handshake but can't quite get there. So maybe there is hope for us. I had just about resigned myself to finding a new rs232 adapter.
« Last Edit: January 25, 2012, 02:58:24 am by twodogs » Logged

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
DragonK
Guru
****
Posts: 427



View Profile
« Reply #155 on: January 25, 2012, 06:44:52 am »

Hi Guys,

You only need to had the 1-wire interface in the webmin. Choose the port its connected.
You have prewired sensors?
No need to add the childs manually. Mine showed up in the webmin after a couple of reboots.

Karel
Logged
twodogs
Guru
****
Posts: 223


View Profile
« Reply #156 on: January 25, 2012, 01:43:56 pm »

Here are a few pictures. The adapter plugs into the USB port, then a phone cable with sensors plugs into the adapter. I only have one temp sensor on a short pigtail right now, but the house is wired for temp sensing in almost every room. My plan is to use this info to make decisions for the HVAC system.

One of the problems is that the template won't allow me to select the ttyUSB port the adapter is connected to. It only allows me to select ttyS0-3 (rs232 ports).






« Last Edit: January 25, 2012, 01:48:37 pm by twodogs » Logged

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
DragonK
Guru
****
Posts: 427



View Profile
« Reply #157 on: January 25, 2012, 02:38:33 pm »

The screenshots from the 0810 or your 1004 testrig?
I couldn't get mine to work on 0810. But managed to get it installed on 1004.

You'll have better luck allowing Hari to ssh into your box to see if he maybe can fix it.

Karel
Logged
twodogs
Guru
****
Posts: 223


View Profile
« Reply #158 on: January 25, 2012, 03:08:27 pm »

The shot is my 0810 installation, but it appears to be the exact same template in 1004.
Logged

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
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #159 on: January 25, 2012, 03:57:03 pm »

twodogs,

the template should show you all available serial ports, including USB serial ports.
Logged

hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #160 on: January 25, 2012, 07:03:42 pm »

yes, it should show ttyUSB, too. Maybe run UpdateAvailableSerialPorts.sh and see if it shows up in the list..
Logged

rock your home - http://www.agocontrol.com home automation
Techstyle
Addicted
*
Posts: 662



View Profile WWW
« Reply #161 on: January 25, 2012, 11:30:40 pm »

In Webadmin mine also showed the same, serial ports only.  However it still seemed to find the device as the log said:

Code:
01 01/24/12 17:43:03.140 Opening port: /dev/ttyUSB0 <0xb70096c0>

Can confirm the correct procedure in 0810, do we need to add the child (as stated on the Wiki) or do we wait until it is discovered?

this raises another point the device will try to look for the sensor 50 times and then it will stop trying, how do you restart it again?
Logged

twodogs
Guru
****
Posts: 223


View Profile
« Reply #162 on: January 25, 2012, 11:36:08 pm »

No luck here either. I rebooted the system. I expected a "some devices failed to load" error but did not get one. I saw the 1-wire device load during the start sequence. So I had some hope, but the template still only has serial ports showing (like in the picture above). I tried
Code:
cd usr/pluto/bin
sh UpdateAvailableSerialPorts.sh 
It appeared to run without error but the template still showed only rs232 ports. My 1-wire log shows the exact same error 22 that Techstyle reported in post 153. Plugging or unplugging the temp sensor to the adapter has no effect - still get error 22.
« Last Edit: January 25, 2012, 11:41:00 pm by twodogs » Logged

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
twodogs
Guru
****
Posts: 223


View Profile
« Reply #163 on: January 25, 2012, 11:46:38 pm »

By the way, thanks Hari for your help. I know you might have other fish to fry. On the one hand, the 9490R seems like it might be a good piece of hardware for LMCE to support - if you agree I'll do whatever I can to help get the thing to work. On the other hand if this seems a waste of time, I'll just buy a different adapter.

twodogs
Logged

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: 662



View Profile WWW
« Reply #164 on: January 26, 2012, 01:32:52 am »

twodogs, I didn't see your pics earlier but I think we have the same thing in mind:


I have also wired my house and plan on using some of my CAT5e drops to share 1-wire and POTS over.  I have wired to each room, outside in a screened porch, outside proper and in the pool  Smiley

I had not tried to use it in windows yet but I thought I should incase my wiring is suspect:


apparently it is getting cooler in here.  this windows tool does give me the serial number of the sensor as '210008002F424310' is this what LMCE is expecting as port?
Logged

Pages: 1 ... 9 10 [11] 12 13 ... 15
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!