Skip to content

Instantly share code, notes, and snippets.

@tikismoke
Created January 10, 2016 17:39
Show Gist options
  • Save tikismoke/9affd435f402c0090c71 to your computer and use it in GitHub Desktop.
Save tikismoke/9affd435f402c0090c71 to your computer and use it in GitHub Desktop.
2016-01-10 18:37:02,384 domogik-onewired INFO ==> Reading sensor '/uncached/28.56262C030000/temperature'
2016-01-10 18:37:02,385 domogik-onewired DEBUG Get parameter 'interval'
Exception in thread dev_54:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 117, in __init__
self.start_read_sensor()
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 124, in start_read_sensor
val = self.onewire.readSensor(self.sensor_address, self.sensor_properties)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 92, in readSensor
value = ow.owfs_get(str(sensor)).strip() # Ex.: ow.owfs_get('/26.D050E7000000/B1-R1-A/pressure')
File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 159, in _get
raise exUnknownSensor(path)
exUnknownSensor: '/uncached/28.56262C030000/temperature'
2016-01-10 18:37:02,405 domogik-onewired DEBUG Parameter value found: 60.0
2016-01-10 18:37:02,406 domogik-onewired DEBUG Get parameter 'properties'
2016-01-10 18:37:02,406 domogik-onewired DEBUG Parameter value found: temperature
2016-01-10 18:37:02,406 domogik-onewired DEBUG Get parameter 'device'
2016-01-10 18:37:02,406 domogik-onewired DEBUG Parameter value found: 28.B6372C030000
2016-01-10 18:37:02,406 domogik-onewired INFO ==> Device 'Couloir deuxieme étage' (id:55/onewire.thermometer_temp), sensor = 28.B6372C030000/temperature
2016-01-10 18:37:02,406 domogik-onewired INFO ==> Sensor list of device '55': '{u'1-wire temperature': 181}'
2016-01-10 18:37:02,406 domogik-onewired INFO ==> Launch thread for 'Couloir deuxieme étage' device !
2016-01-10 18:37:02,407 domogik-onewired INFO ==> Reading sensor '/uncached/28.B6372C030000/temperature'
2016-01-10 18:37:02,408 domogik-onewired DEBUG Get parameter 'interval'
2016-01-10 18:37:03,476 domogik-onewired DEBUG Parameter value found: 60.0
2016-01-10 18:37:03,475 domogik-onewired DEBUG ==> Send 0MQ message '{181: '21.3'}' for device id 55 (Couloir deuxieme étage)
2016-01-10 18:37:03,476 domogik-onewired DEBUG Get parameter 'properties'
2016-01-10 18:37:03,477 domogik-onewired DEBUG Parameter value found: temperature
Exception in thread dev_55:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 117, in __init__
self.start_read_sensor()
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 128, in start_read_sensor
self.log.debug("=> '{0}' : wait for {1} seconds".format(self.device_name, self.interval))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 17: ordinal not in range(128)
2016-01-10 18:37:03,477 domogik-onewired DEBUG Get parameter 'device'
2016-01-10 18:37:03,477 domogik-onewired DEBUG Parameter value found: 28.551F2C030000
2016-01-10 18:37:03,478 domogik-onewired INFO ==> Device 'Couloir premier étage' (id:56/onewire.thermometer_temp), sensor = 28.551F2C030000/temperature
2016-01-10 18:37:03,478 domogik-onewired INFO ==> Sensor list of device '56': '{u'1-wire temperature': 182}'
2016-01-10 18:37:03,478 domogik-onewired INFO ==> Launch thread for 'Couloir premier étage' device !
2016-01-10 18:37:03,478 domogik-onewired INFO ==> Reading sensor '/uncached/28.551F2C030000/temperature'
2016-01-10 18:37:03,479 domogik-onewired DEBUG Get parameter 'interval'
Exception in thread dev_56:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 117, in __init__
self.start_read_sensor()
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 124, in start_read_sensor
val = self.onewire.readSensor(self.sensor_address, self.sensor_properties)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 92, in readSensor
value = ow.owfs_get(str(sensor)).strip() # Ex.: ow.owfs_get('/26.D050E7000000/B1-R1-A/pressure')
File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 159, in _get
raise exUnknownSensor(path)
exUnknownSensor: '/uncached/28.551F2C030000/temperature'
2016-01-10 18:37:03,499 domogik-onewired DEBUG Parameter value found: 60.0
2016-01-10 18:37:03,499 domogik-onewired DEBUG Get parameter 'properties'
2016-01-10 18:37:03,499 domogik-onewired DEBUG Parameter value found: temperature
2016-01-10 18:37:03,499 domogik-onewired DEBUG Get parameter 'device'
2016-01-10 18:37:03,499 domogik-onewired DEBUG Parameter value found: 28.BD052C030000
2016-01-10 18:37:03,500 domogik-onewired INFO ==> Device 'Salle de bain 2e étage' (id:57/onewire.thermometer_temp), sensor = 28.BD052C030000/temperature
2016-01-10 18:37:03,500 domogik-onewired INFO ==> Sensor list of device '57': '{u'1-wire temperature': 183}'
2016-01-10 18:37:03,500 domogik-onewired INFO ==> Launch thread for 'Salle de bain 2e étage' device !
2016-01-10 18:37:03,500 domogik-onewired INFO ==> Reading sensor '/uncached/28.BD052C030000/temperature'
2016-01-10 18:37:03,501 domogik-onewired DEBUG Send client status : alive
2016-01-10 18:37:05,694 domogik-onewired DEBUG ==> Send 0MQ message '{183: '23.5'}' for device id 57 (Salle de bain 2e étage)
2016-01-10 18:37:05,695 domogik-onewired INFO Start IOLoop for MQ : nothing else can be executed in the __init__ after this! Make sure that the self.ready() call is the last line of your init!!!!
Exception in thread dev_57:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 117, in __init__
self.start_read_sensor()
File "/var/lib/domogik/domogik_packages/plugin_onewired/lib/onewired.py", line 128, in start_read_sensor
self.log.debug("=> '{0}' : wait for {1} seconds".format(self.device_name, self.interval))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 17: ordinal not in range(128)
2016-01-10 18:37:12,781 domogik-onewired DEBUG Send client status : alive
2016-01-10 18:37:27,781 domogik-onewired DEBUG Send client status : alive
2016-01-10 18:37:42,782 domogik-onewired DEBUG Send client status : alive
2016-01-10 18:37:57,783 domogik-onewired DEBUG Send client status : alive
2016-01-10 18:38:00,238 domogik-onewired INFO ==> Reading sensor '/uncached/28.D4152C030000/temperature'
2016-01-10 18:38:01,278 domogik-onewired DEBUG ==> Send 0MQ message '{177: '20.1'}' for device id 51 (Chambre Noelyne)
2016-01-10 18:38:01,279 domogik-onewired DEBUG => 'Chambre Noelyne' : wait for 60.0 seconds
2016-01-10 18:38:01,310 domogik-onewired INFO ==> Reading sensor '/uncached/28.9CEB2B030000/temperature'
2016-01-10 18:38:05,104 domogik-onewired INFO ==> Reading sensor '/uncached/28.6A548B030000/temperature'
2016-01-10 18:38:05,103 domogik-onewired DEBUG ==> Send 0MQ message '{178: '20.8'}' for device id 52 (Chambre Tobias)
2016-01-10 18:38:06,143 domogik-onewired DEBUG ==> Send 0MQ message '{179: '21.3'}' for device id 53 (Chambre parents)
2016-01-10 18:38:06,145 domogik-onewired DEBUG => 'Chambre Tobias' : wait for 60.0 seconds
2016-01-10 18:38:06,145 domogik-onewired DEBUG => 'Chambre parents' : wait for 60.0 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment