Advertisement
Mortalone

etrv2mqtt log

Aug 18th, 2021
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. 2021-08-18 16:48:14.270 | INFO | etrv2mqtt.cli:entrypoint:27 - /usr/local/bin/etrv2mqtt is starting
  2. 2021-08-18 16:48:14.272 | INFO | etrv2mqtt.devices:__init__:71 - Adding device bedroom MAC: 00:04:2f:94:95:5b key: ddfeffea1a31d7a677c1c139cce8e22c
  3. 2021-08-18 16:48:14.272 | DEBUG | etrv2mqtt.mqtt:__init__:31 - connecting to localhost:1883
  4. 2021-08-18 16:48:14.291 | INFO | etrv2mqtt.mqtt:_on_connect:49 - Connected to MQTT server
  5. 2021-08-18 16:48:16.275 | DEBUG | etrv2mqtt.devices:poll:39 - Polling data from bedroom
  6. 2021-08-18 16:48:16.275 | DEBUG | libetrv.device:connect:54 - Trying connect to 00:04:2f:94:95:5b
  7. 2021-08-18 16:48:23.206 | ERROR | libetrv.device:connect:68 - Unable connect to 00:04:2f:94:95:5b. Retrying in 100ms
  8. 2021-08-18 16:48:35.047 | DEBUG | libetrv.device:send_pin:87 - Write PIN to 00:04:2f:94:95:5b
  9. 2021-08-18 16:48:35.245 | ERROR | __main__:<module>:8 - An error has been caught in function '<module>', process 'MainProcess' (7), thread 'MainThread' (139827098076992):
  10. Traceback (most recent call last):
  11. > File "/usr/local/bin/etrv2mqtt", line 8, in <module>
  12. sys.exit(entrypoint())
  13. │ │ └ <function entrypoint at 0x7f2c073ceca0>
  14. │ └ <built-in function exit>
  15. └ <module 'sys' (built-in)>
  16. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/cli.py", line 28, in entrypoint
  17. main(sys.argv[1])
  18. │ │ └ ['/usr/local/bin/etrv2mqtt', '/data/options.json']
  19. │ └ <module 'sys' (built-in)>
  20. └ <function main at 0x7f2c086044c0>
  21. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/cli.py", line 17, in main
  22. deviceManager.poll_forever()
  23. │ └ <function DeviceManager.poll_forever at 0x7f2c07113d30>
  24. └ <etrv2mqtt.devices.DeviceManager object at 0x7f2c0742bcd0>
  25. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/devices.py", line 94, in poll_forever
  26. schedule.run_all(delay_seconds=1)
  27. │ └ <function run_all at 0x7f2c07113550>
  28. └ <module 'schedule' from '/usr/local/lib/python3.8/site-packages/schedule/__init__.py'>
  29. File "/usr/local/lib/python3.8/site-packages/schedule/__init__.py", line 787, in run_all
  30. default_scheduler.run_all(delay_seconds=delay_seconds)
  31. │ │ └ 1
  32. │ └ <function Scheduler.run_all at 0x7f2c070fee50>
  33. └ <schedule.Scheduler object at 0x7f2c07109a30>
  34. File "/usr/local/lib/python3.8/site-packages/schedule/__init__.py", line 118, in run_all
  35. self._run_job(job)
  36. │ │ └ Every 3600 seconds do _poll_devices() (last run: [never], next run: 2021-08-18 17:48:14)
  37. │ └ <function Scheduler._run_job at 0x7f2c07111160>
  38. └ <schedule.Scheduler object at 0x7f2c07109a30>
  39. File "/usr/local/lib/python3.8/site-packages/schedule/__init__.py", line 172, in _run_job
  40. ret = job.run()
  41. │ └ <function Job.run at 0x7f2c07113280>
  42. └ Every 3600 seconds do _poll_devices() (last run: [never], next run: 2021-08-18 17:48:14)
  43. File "/usr/local/lib/python3.8/site-packages/schedule/__init__.py", line 661, in run
  44. ret = self.job_func()
  45. │ └ functools.partial(<bound method DeviceManager._poll_devices of <etrv2mqtt.devices.DeviceManager object at 0x7f2c0742bcd0>>)
  46. └ Every 3600 seconds do _poll_devices() (last run: [never], next run: 2021-08-18 17:48:14)
  47. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/devices.py", line 82, in _poll_devices
  48. device.poll(self._mqtt)
  49. │ │ │ └ <etrv2mqtt.mqtt.Mqtt object at 0x7f2c07118190>
  50. │ │ └ <etrv2mqtt.devices.DeviceManager object at 0x7f2c0742bcd0>
  51. │ └ <function TRVDevice.poll at 0x7f2c07113af0>
  52. └ <etrv2mqtt.devices.TRVDevice object at 0x7f2c073f95e0>
  53. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/devices.py", line 44, in poll
  54. ret = eTRVUtils.read_device(self._device)
  55. │ │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  56. │ │ └ <etrv2mqtt.devices.TRVDevice object at 0x7f2c073f95e0>
  57. │ └ <staticmethod object at 0x7f2c073923d0>
  58. └ <class 'etrv2mqtt.etrvutils.eTRVUtils'>
  59. File "/usr/local/lib/python3.8/site-packages/etrv2mqtt/etrvutils.py", line 34, in read_device
  60. return eTRVData(device.name, device.battery, device.temperature.room_temperature, device.temperature.set_point_temperature, datetime.now())
  61. │ │ │ │ │ │ │ │ │ │ └ <method 'now' of 'datetime.datetime' objects>
  62. │ │ │ │ │ │ │ │ │ └ <class 'datetime.datetime'>
  63. │ │ │ │ │ │ │ │ └ <libetrv.properties.eTRVProperty object at 0x7f2c07392af0>
  64. │ │ │ │ │ │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  65. │ │ │ │ │ │ └ <libetrv.properties.eTRVProperty object at 0x7f2c07392af0>
  66. │ │ │ │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  67. │ │ │ │ └ <libetrv.properties.eTRVProperty object at 0x7f2c07392a60>
  68. │ │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  69. │ │ └ <libetrv.properties.eTRVProperty object at 0x7f2c07392c40>
  70. │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  71. └ <class 'etrv2mqtt.etrvutils.eTRVData'>
  72. File "/usr/local/lib/python3.8/site-packages/libetrv/properties.py", line 22, in __get__
  73. return self.get_data_object(device).retrieve()
  74. │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  75. │ └ <function eTRVProperty.get_data_object at 0x7f2c073b40d0>
  76. └ <libetrv.properties.eTRVProperty object at 0x7f2c07392c40>
  77. File "/usr/local/lib/python3.8/site-packages/libetrv/properties.py", line 61, in retrieve
  78. return self.retrieve_object(self.device)
  79. │ │ │ └ <libetrv.device.eTRVDevice object at 0x7f2c086674c0>
  80. │ │ └ <libetrv.data_struct.NameData object at 0x7f2c068b7430>
  81. │ └ <function eTRVSingleData.retrieve_object at 0x7f2c073b4940>
  82. └ <libetrv.data_struct.NameData object at 0x7f2c068b7430>
  83. File "/usr/local/lib/python3.8/site-packages/libetrv/properties.py", line 129, in retrieve_object
  84. return getattr(self, self.get_direct_field())
  85. │ │ └ <function eTRVSingleData.get_direct_field at 0x7f2c073b48b0>
  86. │ └ <libetrv.data_struct.NameData object at 0x7f2c068b7430>
  87. └ <libetrv.data_struct.NameData object at 0x7f2c068b7430>
  88. File "/usr/local/lib/python3.8/site-packages/libetrv/fields/base.py", line 22, in __get__
  89. return self.from_raw_value(raw_value, data)
  90. │ │ │ └ <libetrv.data_struct.NameData object at 0x7f2c068b7430>
  91. │ │ └ b'sovev\xc3\xa6relse\x00\x00\x00\x00'
  92. │ └ <function TextField.from_raw_value at 0x7f2c073b0790>
  93. └ <libetrv.fields.string.TextField object at 0x7f2c073b1e80>
  94. File "/usr/local/lib/python3.8/site-packages/libetrv/fields/string.py", line 18, in from_raw_value
  95. return raw_value.decode('ascii').strip('\0')
  96. │ └ <method 'decode' of 'bytes' objects>
  97. └ b'sovev\xc3\xa6relse\x00\x00\x00\x00'
  98. UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement