LinuxMCE Forums
May 23, 2013, 02:52:09 pm 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]
  Print  
Author Topic: 1-Wire Temperature Sensors  (Read 289 times)
Techstyle
Addicted
*
Posts: 662



View Profile WWW
« on: February 16, 2013, 06:46:20 pm »

So I have 4 Temperature sensors installed in my 1-Wire network.

2 days back 1 was accidentally unplugged.  Since then the temperature has remained constant at the temp that was being reported - even after a reload and reboot.  what is the correct process for getting this to work again?
Logged

_if_
Guru
****
Posts: 222


View Profile
« Reply #1 on: February 16, 2013, 09:11:36 pm »

you could check if the right USB port was recognized in the devicetemplate.
other than that, 1wire has always been a misterious thing - suddenly one day they get recognized and nobody knows why  Huh
was the serial number recognized already?
Logged
Techstyle
Addicted
*
Posts: 662



View Profile WWW
« Reply #2 on: February 16, 2013, 10:13:48 pm »

the one sensor that was disconnected was still appearing in the log on reboot - this is after the device was physically disconnected and shows that it is connected properly:
Code:
========== NEW LOG SECTION ==========
1 02/16/13 10:43:50 118 (spawning-device) Starting... 1
1 02/16/13 10:43:50 118 (spawning-device) Found /usr/pluto/bin/OneWire
01 02/16/13 10:43:51.543 TranslateSerialUSB pci0000:00/0000:00:12.0+1 result /dev/ttyUSB1 <0xb77506d0>
01 02/16/13 10:43:51.543 Opening port: /dev/ttyUSB1 <0xb77506d0>
05 02/16/13 10:43:52.164 Creating child 130 <0xb77506d0>
05 02/16/13 10:43:52.164 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77506d0>
05 02/16/13 10:43:52.165 Creating child 131 <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77506d0>
05 02/16/13 10:43:52.165 Creating child 132 <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77506d0>
05 02/16/13 10:43:52.165 Creating child 133 <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77506d0>
05 02/16/13 10:43:52.165 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77506d0>
05 02/16/13 11:39:31.712 Got a reload command from 0  <0xb61ffb70>
05 02/16/13 11:39:31.966 void ClientSocket::Disconnect() on this socket: 0x80b4350 (m_Socket: 7) <0xb77506d0>
Return code: 2
2 02/16/13 11:39:31 118 (spawning-device) Device requests restart... count=1/50 dev=118
Sat Feb 16 11:39:32 CST 2013 Restart

then after device 132 was deleted:

Code:
========== NEW LOG SECTION ==========
1 02/16/13 11:47:26 118 (spawning-device) Starting... 1
1 02/16/13 11:47:26 118 (spawning-device) Found /usr/pluto/bin/OneWire
01 02/16/13 11:47:26.321 TranslateSerialUSB pci0000:00/0000:00:12.0+1 result /dev/ttyUSB1 <0xb77a26d0>
01 02/16/13 11:47:26.321 Opening port: /dev/ttyUSB1 <0xb77a26d0>
05 02/16/13 11:47:26.708 Creating child 130 <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77a26d0>
05 02/16/13 11:47:26.709 Creating child 131 <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77a26d0>
05 02/16/13 11:47:26.709 Creating child 133 <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom event handler for.  It will not fire events. <0xb77a26d0>
05 02/16/13 11:47:26.709 Note: Device manager has attached a device of type 1946 that this has no custom handler for.  This is normal for IR. <0xb77a26d0>

it seems like it doesn't find the device.  When I installed them less than a week ago they were discovered almost immediately.
Logged

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



View Profile WWW
« Reply #3 on: February 16, 2013, 11:58:32 pm »

the OneWire DCE device uses the OWFS client API. If you can see the devices in OWFS, they will appear in LinuxMCE.
Logged

rock your home - http://www.agocontrol.com home automation
Pages: [1]
  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!